[PATCH] kernel 5.15: x86-64: enable CONFIG_SLS

Rui Salvaterra rsalvaterra at gmail.com
Fri Jun 10 01:20:03 PDT 2022


Starting with GCC 12, we have the possibility of mitigating straight-line
speculation vulnerabilities in x86-64 targets. Make it so.

Reported-by: Stefan Lippers-Hollmann <s.l-h at gmx.de>
Signed-off-by: Rui Salvaterra <rsalvaterra at gmail.com>
---
 target/linux/x86/64/config-5.15 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/x86/64/config-5.15 b/target/linux/x86/64/config-5.15
index d168f3608e..5b50708ba1 100644
--- a/target/linux/x86/64/config-5.15
+++ b/target/linux/x86/64/config-5.15
@@ -400,6 +400,7 @@ CONFIG_SENSORS_K8TEMP=y
 CONFIG_SENSORS_VIA_CPUTEMP=y
 CONFIG_SERIAL_8250_PNP=y
 CONFIG_SERIAL_MCTRL_GPIO=y
+CONFIG_SLS=y
 CONFIG_SMP=y
 CONFIG_SOCK_RX_QUEUE_MAPPING=y
 CONFIG_SPARSEMEM=y
-- 
2.36.1




More information about the openwrt-devel mailing list