Re: [PATCH v6 4/5] x86/mm: Reject invalid cacheability in PV guests by default

2023-01-05 Thread Jan Beulich
On 05.01.2023 21:28, Andrew Cooper wrote: > On 22/12/2022 10:31 pm, Demi Marie Obenour wrote: >> diff --git a/docs/misc/xen-command-line.pandoc >> b/docs/misc/xen-command-line.pandoc >> index >> 424b12cfb27d6ade2ec63eacb8afe5df82465451..0230a7bc17cbd4362a42ea64cea695f31f5e0f86 >> 100644 >> ---

Re: [PATCH v6 4/5] x86/mm: Reject invalid cacheability in PV guests by default

2023-01-05 Thread Demi Marie Obenour
On Fri, Jan 06, 2023 at 03:30:01AM +0100, Marek Marczykowski-Górecki wrote: > On Thu, Jan 05, 2023 at 09:00:03PM -0500, Demi Marie Obenour wrote: > > On Thu, Jan 05, 2023 at 08:28:26PM +, Andrew Cooper wrote: > > > On 22/12/2022 10:31 pm, Demi Marie Obenour wrote: > > > > diff --git

Re: [PATCH v6 4/5] x86/mm: Reject invalid cacheability in PV guests by default

2023-01-05 Thread Marek Marczykowski-Górecki
On Thu, Jan 05, 2023 at 09:00:03PM -0500, Demi Marie Obenour wrote: > On Thu, Jan 05, 2023 at 08:28:26PM +, Andrew Cooper wrote: > > On 22/12/2022 10:31 pm, Demi Marie Obenour wrote: > > > diff --git a/docs/misc/xen-command-line.pandoc > > > b/docs/misc/xen-command-line.pandoc > > > index >

Re: [PATCH v6 4/5] x86/mm: Reject invalid cacheability in PV guests by default

2023-01-05 Thread Demi Marie Obenour
On Thu, Jan 05, 2023 at 08:28:26PM +, Andrew Cooper wrote: > On 22/12/2022 10:31 pm, Demi Marie Obenour wrote: > > diff --git a/docs/misc/xen-command-line.pandoc > > b/docs/misc/xen-command-line.pandoc > > index > >

Re: [PATCH v6 4/5] x86/mm: Reject invalid cacheability in PV guests by default

2023-01-05 Thread Andrew Cooper
On 22/12/2022 10:31 pm, Demi Marie Obenour wrote: > diff --git a/docs/misc/xen-command-line.pandoc > b/docs/misc/xen-command-line.pandoc > index > 424b12cfb27d6ade2ec63eacb8afe5df82465451..0230a7bc17cbd4362a42ea64cea695f31f5e0f86 > 100644 > --- a/docs/misc/xen-command-line.pandoc > +++

Re: [PATCH v6 4/5] x86/mm: Reject invalid cacheability in PV guests by default

2023-01-05 Thread Jan Beulich
On 22.12.2022 23:31, Demi Marie Obenour wrote: > Setting cacheability flags that are not ones specified by Xen is a bug > in the guest. By default, return -EINVAL if a guests attempts to do > this. The invalid-cacheability= Xen command-line flag allows the > administrator to allow such attempts

[PATCH v6 4/5] x86/mm: Reject invalid cacheability in PV guests by default

2022-12-22 Thread Demi Marie Obenour
Setting cacheability flags that are not ones specified by Xen is a bug in the guest. By default, return -EINVAL if a guests attempts to do this. The invalid-cacheability= Xen command-line flag allows the administrator to allow such attempts or to produce Suggested-by: Andrew Cooper