diff options
author | Yu-cheng Yu <yu-cheng.yu@intel.com> | 2016-06-17 13:07:15 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-07-10 17:12:10 +0200 |
commit | 03482e08a87d24e5c8c23e6981c482e832cf3bdc (patch) | |
tree | 89f2f7030958e81056b8635f737d213f8aeb7883 /arch/x86/kernel/quirks.c | |
parent | 08fb98f5bf95cef902fc30427b39617a6f6875c7 (diff) | |
download | blackbird-obmc-linux-03482e08a87d24e5c8c23e6981c482e832cf3bdc.tar.gz blackbird-obmc-linux-03482e08a87d24e5c8c23e6981c482e832cf3bdc.zip |
x86/fpu/xstate: Align xstate components according to CPUID
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: Yu-cheng Yu <yu-cheng.yu@intel.com>
Reviewed-by: Dave 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.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/quirks.c')
0 files changed, 0 insertions, 0 deletions