Re: [Xen-devel] [PATCH v8 3/9] xen/x86: support per-domain flag for xpti

2018-04-18 Thread Jan Beulich
>>> On 18.04.18 at 17:54, wrote: > On 18/04/18 17:45, Jan Beulich wrote: > On 18.04.18 at 17:33, wrote: >>> On 18/04/18 17:29, Jan Beulich wrote: >>> On 18.04.18 at 10:30, wrote: > --- a/xen/arch/x86/mm/shadow/multi.c > +++

Re: [Xen-devel] [PATCH v8 3/9] xen/x86: support per-domain flag for xpti

2018-04-18 Thread Jan Beulich
>>> On 18.04.18 at 17:33, wrote: > On 18/04/18 17:29, Jan Beulich wrote: > On 18.04.18 at 10:30, wrote: >>> --- a/xen/arch/x86/mm/shadow/multi.c >>> +++ b/xen/arch/x86/mm/shadow/multi.c >>> @@ -967,7 +967,7 @@ static int shadow_set_l4e(struct domain *d, >>>

Re: [Xen-devel] [PATCH v8 3/9] xen/x86: support per-domain flag for xpti

2018-04-18 Thread Juergen Gross
On 18/04/18 11:42, Sergey Dyasli wrote: > Hi Juergen, > > 2 small requests from me below. > > On Wed, 2018-04-18 at 10:30 +0200, Juergen Gross wrote: >> Instead of switching XPTI globally on or off add a per-domain flag for >> that purpose. This allows to modify the xpti boot parameter to

Re: [Xen-devel] [PATCH v8 3/9] xen/x86: support per-domain flag for xpti

2018-04-18 Thread Juergen Gross
On 18/04/18 11:49, Jan Beulich wrote: On 18.04.18 at 11:42, wrote: >> On Wed, 2018-04-18 at 10:30 +0200, Juergen Gross wrote: >> @@ -119,8 +122,9 @@ static void __init print_details(enum ind_thunk thunk) >> boot_cpu_has(X86_FEATURE_RSB_NATIVE) ? "

Re: [Xen-devel] [PATCH v8 3/9] xen/x86: support per-domain flag for xpti

2018-04-18 Thread Jan Beulich
>>> On 18.04.18 at 11:42, wrote: > On Wed, 2018-04-18 at 10:30 +0200, Juergen Gross wrote: > @@ -119,8 +122,9 @@ static void __init print_details(enum ind_thunk thunk) > boot_cpu_has(X86_FEATURE_RSB_NATIVE) ? " RSB_NATIVE" : "", >

Re: [Xen-devel] [PATCH v8 3/9] xen/x86: support per-domain flag for xpti

2018-04-18 Thread Sergey Dyasli
Hi Juergen, 2 small requests from me below. On Wed, 2018-04-18 at 10:30 +0200, Juergen Gross wrote: > Instead of switching XPTI globally on or off add a per-domain flag for > that purpose. This allows to modify the xpti boot parameter to support > running dom0 without Meltdown mitigations. Using