• Y
    x86/fpu/xstate: Align xstate components according to CPUID · 03482e08
    Yu-cheng Yu 提交于
    CPUID function 0x0d, sub function (i, i > 1) returns in ecx[1] the
    alignment requirement of component 'i' when the compacted format is used.
    
    If ecx[1] is 0, component 'i' is located immediately following the preceding
    component. If ecx[1] is 1, component 'i' is located on the next 64-byte
    boundary following the preceding component.
    Signed-off-by: NYu-cheng Yu <yu-cheng.yu@intel.com>
    Reviewed-by: NDave Hansen <dave.hansen@intel.com>
    Cc: Andy Lutomirski <luto@kernel.org>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Brian Gerst <brgerst@gmail.com>
    Cc: Dave Hansen <dave.hansen@linux.intel.com>
    Cc: Denys Vlasenko <dvlasenk@redhat.com>
    Cc: Fenghua Yu <fenghua.yu@intel.com>
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Josh Poimboeuf <jpoimboe@redhat.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Oleg Nesterov <oleg@redhat.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Quentin Casasnovas <quentin.casasnovas@oracle.com>
    Cc: Ravi V. Shankar <ravi.v.shankar@intel.com>
    Cc: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Link: http://lkml.kernel.org/r/331e2bef1a0a7a584f06adde095b6bbfbe166472.1466179491.git.yu-cheng.yu@intel.comSigned-off-by: NIngo Molnar <mingo@kernel.org>
    03482e08
xstate.c 26.0 KB