Re: [Xen-devel] [PATCH 2/6] x86: save GUEST_BNDCFGS on context switch...

2019-03-11 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 08 March 2019 16:43 > To: Paul Durrant > Cc: Andrew Cooper ; Roger Pau Monne > ; Wei Liu > ; Jun Nakajima ; Kevin Tian > ; xen- > devel > Subject: Re: [PATCH 2/6] x86: save GUEST_BNDCFGS on context switch... >

Re: [Xen-devel] [PATCH 2/6] x86: save GUEST_BNDCFGS on context switch...

2019-03-08 Thread Jan Beulich
>>> On 07.01.19 at 13:02, wrote: > ...to avoid the need for a VMCS reload when the value of MSR_IA32_BNDCFGS is > read by the tool-stack. Is this a good trade-off? I.e. are tool stack reads at least as frequent as context switches? Jan ___

Re: [Xen-devel] [PATCH 2/6] x86: save GUEST_BNDCFGS on context switch...

2019-01-28 Thread Paul Durrant
> -Original Message- > From: Tian, Kevin [mailto:kevin.t...@intel.com] > Sent: 28 January 2019 02:34 > To: Paul Durrant ; xen-devel@lists.xenproject.org > Cc: Jan Beulich ; Andrew Cooper > ; Wei Liu ; Roger Pau > Monne ; Nakajima, Jun > Subject: RE: [PATCH 2/6] x86: save GUEST_BNDCFGS on

Re: [Xen-devel] [PATCH 2/6] x86: save GUEST_BNDCFGS on context switch...

2019-01-27 Thread Tian, Kevin
> From: Paul Durrant [mailto:paul.durr...@citrix.com] > Sent: Monday, January 7, 2019 8:03 PM > > ...to avoid the need for a VMCS reload when the value of > MSR_IA32_BNDCFGS is > read by the tool-stack. the frequency of context switch is much higher than the one of reading by tool-stack (at

[Xen-devel] [PATCH 2/6] x86: save GUEST_BNDCFGS on context switch...

2019-01-07 Thread Paul Durrant
...to avoid the need for a VMCS reload when the value of MSR_IA32_BNDCFGS is read by the tool-stack. Signed-off-by: Paul Durrant --- Cc: Jan Beulich Cc: Andrew Cooper Cc: Wei Liu Cc: "Roger Pau Monné" Cc: Jun Nakajima Cc: Kevin Tian --- xen/arch/x86/hvm/hvm.c | 18 +++---