]> Git Repo - linux.git/commit
x86/cpufeatures: Add FDP_EXCPTN_ONLY and ZERO_FCS_FDS
authorAaron Lewis <[email protected]>
Wed, 5 Jun 2019 22:02:52 +0000 (15:02 -0700)
committerBorislav Petkov <[email protected]>
Fri, 14 Jun 2019 10:26:22 +0000 (12:26 +0200)
commitcbb99c0f588737ec98c333558922ce47e9a95827
tree9affed71487e06dab9f9231b6c5086002dfe0c75
parent5f4318c1b1d23a9290e4def78ee76017c288bf60
x86/cpufeatures: Add FDP_EXCPTN_ONLY and ZERO_FCS_FDS

Add the CPUID enumeration for Intel's de-feature bits to accommodate
passing these de-features through to kvm guests.

These de-features are (from SDM vol 1, section 8.1.8):
 - X86_FEATURE_FDP_EXCPTN_ONLY: If CPUID.(EAX=07H,ECX=0H):EBX[bit 6] = 1, the
   data pointer (FDP) is updated only for the x87 non-control instructions that
   incur unmasked x87 exceptions.
 - X86_FEATURE_ZERO_FCS_FDS: If CPUID.(EAX=07H,ECX=0H):EBX[bit 13] = 1, the
   processor deprecates FCS and FDS; it saves each as 0000H.

Signed-off-by: Aaron Lewis <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Jim Mattson <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: [email protected]
Cc: Peter Feiner <[email protected]>
Cc: [email protected]
Cc: Robert Hoo <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Thomas Lendacky <[email protected]>
Cc: x86-ml <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
arch/x86/include/asm/cpufeatures.h
This page took 0.056047 seconds and 4 git commands to generate.