]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx5: Select ARM_CORTEX_A8_CVE_2017_5715
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 20 Jun 2018 18:08:21 +0000 (15:08 -0300)
committerTom Rini <trini@konsulko.com>
Sat, 30 Jun 2018 12:49:55 +0000 (08:49 -0400)
On a 4.18-rc1 kernel the following warning is seen on i.MX51 and
i.MX53:

CPU0: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable

Select the ARM_CORTEX_A8_CVE_2017_5715 workaround for i.MX51/i.MX53
to fix the problem.

With this patch applied the kernel reports:

CPU0: Spectre v2: using BPIALL workaround

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
arch/arm/mach-imx/mx5/Kconfig

index 06322b2aaac4f01c43405a60724ecc71d5599906..100257b8e466499694d28e7f9fc3a05ab6ffb759 100644 (file)
@@ -8,9 +8,11 @@ config MX5
 config MX51
        bool
        select SYS_FSL_ERRATUM_ESDHC_A001
+       select ARM_CORTEX_A8_CVE_2017_5715
 
 config MX53
        bool
+       select ARM_CORTEX_A8_CVE_2017_5715
 
 choice
        prompt "MX5 board select"