diff options
| author | Borislav Petkov (AMD) <bp@alien8.de> | 2024-09-11 10:53:08 +0200 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-06-17 17:17:02 +0200 |
| commit | d8010d4ba43e9f790925375a7de100604a5e2dba (patch) | |
| tree | 82d5d8da2b7df3a1736fa2c784f45d177fb106a0 /arch/x86/include/asm/mwait.h | |
| parent | f9af88a3d384c8b55beb5dc5483e5da0135fadbd (diff) | |
| download | linux-next-d8010d4ba43e9f790925375a7de100604a5e2dba.tar.gz linux-next-d8010d4ba43e9f790925375a7de100604a5e2dba.zip | |
x86/bugs: Add a Transient Scheduler Attacks mitigation
Add the required features detection glue to bugs.c et all in order to
support the TSA mitigation.
Co-developed-by: Kim Phillips <kim.phillips@amd.com>
Signed-off-by: Kim Phillips <kim.phillips@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/mwait.h')
| -rw-r--r-- | arch/x86/include/asm/mwait.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/mwait.h b/arch/x86/include/asm/mwait.h index cc34c3fd197b..82bd9eb73b3c 100644 --- a/arch/x86/include/asm/mwait.h +++ b/arch/x86/include/asm/mwait.h @@ -80,7 +80,7 @@ static __always_inline void __mwait(u32 eax, u32 ecx) */ static __always_inline void __mwaitx(u32 eax, u32 ebx, u32 ecx) { - /* No MDS buffer clear as this is AMD/HYGON only */ + /* No need for TSA buffer clearing on AMD */ /* "mwaitx %eax, %ebx, %ecx" */ asm volatile(".byte 0x0f, 0x01, 0xfb" |
