aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorDave Hansen <[email protected]>2015-09-02 23:31:31 +0000
committerIngo Molnar <[email protected]>2015-09-14 10:22:02 +0000
commitef78f2a4bf84d8db9f36868decca2dc24e02a6af (patch)
tree42fa0670920bba069749cef56d1b5b239fcc8fad /drivers/gpu/drm/amd/amdgpu
parentx86/fpu: Check to ensure increasing-offset xstate offsets (diff)
downloadkernel-ef78f2a4bf84d8db9f36868decca2dc24e02a6af.tar.gz
kernel-ef78f2a4bf84d8db9f36868decca2dc24e02a6af.zip
x86/fpu: Check CPU-provided sizes against struct declarations
We now have C structures defined for each of the XSAVE state components that we support. This patch adds checks during our verification pass to ensure that the CPU-provided data enumerated in CPUID leaves matches our C structures. If not, we warn and dump all the XSAVE CPUID leaves. Note: this *actually* found an inconsistency with the MPX 'bndcsr' state. The hardware pads it out differently from our C structures. This patch caught it and warned. Signed-off-by: Dave Hansen <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Brian Gerst <[email protected]> Cc: Denys Vlasenko <[email protected]> Cc: Fenghua Yu <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Tim Chen <[email protected]> Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions