diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2022-07-23 17:22:47 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-07-23 18:45:11 +0200 |
commit | b648ab487f31bc4c38941bc770ea97fe394304bb (patch) | |
tree | 9731e6188db1d88ade89c18f31db30faba007bf9 /drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c | |
parent | efc72a665a61fd48c462f5248a9e3dc991398ddd (diff) | |
download | linux-b648ab487f31bc4c38941bc770ea97fe394304bb.tar.bz2 |
x86/speculation: Make all RETbleed mitigations 64-bit only
The mitigations for RETBleed are currently ineffective on x86_32 since
entry_32.S does not use the required macros. However, for an x86_32
target, the kconfig symbols for them are still enabled by default and
/sys/devices/system/cpu/vulnerabilities/retbleed will wrongly report
that mitigations are in place.
Make all of these symbols depend on X86_64, and only enable RETHUNK by
default on X86_64.
Fixes: f43b9876e857 ("x86/retbleed: Add fine grained Kconfig knobs")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/YtwSR3NNsWp1ohfV@decadent.org.uk
Diffstat (limited to 'drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c')
0 files changed, 0 insertions, 0 deletions