On Tue, Oct 20, 2015 at 02:26:46PM +0100, Andrew Cooper wrote:
> On 20/10/15 09:21, Shuai Ruan wrote:
> > This patch add basic definitions/helpers which will be used in
> > later patches.
> >
> *this_xss = xss;
>
> Using this_cpu() multiple times cannot be optimised by compiler (because
> of the u
On 20/10/15 09:21, Shuai Ruan wrote:
> This patch add basic definitions/helpers which will be used in
> later patches.
>
> Signed-off-by: Shuai Ruan
> Reviewed-by: Andrew Cooper
> ---
> xen/arch/x86/xstate.c | 19 +++
> xen/include/asm-x86/hvm/vcpu.h | 1 +
> xen/incl
This patch add basic definitions/helpers which will be used in
later patches.
Signed-off-by: Shuai Ruan
Reviewed-by: Andrew Cooper
---
xen/arch/x86/xstate.c | 19 +++
xen/include/asm-x86/hvm/vcpu.h | 1 +
xen/include/asm-x86/msr-index.h | 2 ++
xen/include/asm-x86/x