[openwrt/openwrt] kernel: 5.15: x86-64: enable CONFIG_SLS

LEDE Commits lede-commits at lists.infradead.org
Sun Jun 26 15:58:06 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/aee1215c0e1a7382ef7ab986564d00defcfaf52e

commit aee1215c0e1a7382ef7ab986564d00defcfaf52e
Author: Rui Salvaterra <rsalvaterra at gmail.com>
AuthorDate: Fri Jun 10 09:07:31 2022 +0100

    kernel: 5.15: x86-64: enable CONFIG_SLS
    
    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 def112b91b..5bba17d0b6 100644
--- a/target/linux/x86/64/config-5.15
+++ b/target/linux/x86/64/config-5.15
@@ -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




More information about the lede-commits mailing list