]> git.baikalelectronics.ru Git - kernel.git/commit
x86/cpufeatures: Add detection of L1D cache flush support.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 20 Jun 2018 20:42:58 +0000 (16:42 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 21 Jun 2018 15:14:17 +0000 (17:14 +0200)
commit384bad5df988407d406898b37e8facde2e9237fc
tree59354afe1b673cae93f4ade80a107f2399257a49
parent4cfdaab5c16e9047fcda6c6f3a47b5320e9f6fe8
x86/cpufeatures: Add detection of L1D cache flush support.

336996-Speculative-Execution-Side-Channel-Mitigations.pdf defines a new MSR
(IA32_FLUSH_CMD) which is detected by CPUID.7.EDX[28]=1 bit being set.

This new MSR "gives software a way to invalidate structures with finer
granularity than other architectual methods like WBINVD."

A copy of this document is available at
  https://bugzilla.kernel.org/show_bug.cgi?id=199511

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/cpufeatures.h