[U-Boot] [PATCH] mx5: Select ARM_CORTEX_A8_CVE_2017_5715

From: Fabio Estevam fabio.estevam@nxp.com
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 --- This depends on Nishanth Menon's series that introduces the ARM_CORTEX_A8_CVE_2017_5715 Spectre workaround.
arch/arm/mach-imx/mx5/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-imx/mx5/Kconfig b/arch/arm/mach-imx/mx5/Kconfig index 06322b2..100257b 100644 --- a/arch/arm/mach-imx/mx5/Kconfig +++ b/arch/arm/mach-imx/mx5/Kconfig @@ -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"

Hi Tom and Stefano,
On Wed, Jun 20, 2018 at 3:08 PM, Fabio Estevam festevam@gmail.com wrote:
From: Fabio Estevam fabio.estevam@nxp.com
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
This depends on Nishanth Menon's series that introduces the ARM_CORTEX_A8_CVE_2017_5715 Spectre workaround.
I saw that Tom has just applied Nishanth Menon's series.
Can this one also be applied for 2018.07?
Thanks

On Fri, Jun 29, 2018 at 06:26:55PM -0300, Fabio Estevam wrote:
Hi Tom and Stefano,
On Wed, Jun 20, 2018 at 3:08 PM, Fabio Estevam festevam@gmail.com wrote:
From: Fabio Estevam fabio.estevam@nxp.com
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
This depends on Nishanth Menon's series that introduces the ARM_CORTEX_A8_CVE_2017_5715 Spectre workaround.
I saw that Tom has just applied Nishanth Menon's series.
Can this one also be applied for 2018.07?
I can pick it up, or it can be in a PR, thanks!

Hi Tom,
On Fri, Jun 29, 2018 at 6:30 PM, Tom Rini trini@konsulko.com wrote:
I saw that Tom has just applied Nishanth Menon's series.
Can this one also be applied for 2018.07?
I can pick it up, or it can be in a PR, thanks!
As Stefano's tree do not contain Nishanth's series, maybe it would be easier if you could pick this one directly.
Thanks

On Wed, Jun 20, 2018 at 03:08:21PM -0300, Fabio Estevam wrote:
From: Fabio Estevam fabio.estevam@nxp.com
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
Applied to u-boot/master, thanks!
participants (2)
-
Fabio Estevam
-
Tom Rini