kernel: 5.15: x86-64: enable CONFIG_SLS
authorRui Salvaterra <[email protected]>
Fri, 10 Jun 2022 08:07:31 +0000 (09:07 +0100)
committerHauke Mehrtens <[email protected]>
Sun, 26 Jun 2022 22:57:16 +0000 (00:57 +0200)
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 <[email protected]>
Signed-off-by: Rui Salvaterra <[email protected]>
target/linux/x86/64/config-5.15

index def112b91b74113487ba5dc5c812081b9c4bec48..5bba17d0b6fd8add18d91ab1c428d9c5b1b53b88 100644 (file)
@@ -402,6 +402,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