Skip to contentSkip to conversation

mx5: Select ARM_CORTEX_A8_CVE_2017_5715

PATCH In review Fabio Estevam 2 participants 5 messages Jun 20, 2018 – Jul 2, 2018

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 mx5: Select ARM_CORTEX_A8_CVE_2017_5715

From: Fabio Estevam <[email protected]>

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

---
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(+)
arch/arm/mach-imx/mx5/Kconfig +2 -0
index 06322b2..100257b 100644
@@ -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"
Signature · 1 line
2.7.4
author reviewer
#1 lore raw

PATCH 1/1 mx5: Select ARM_CORTEX_A8_CVE_2017_5715

Hi Tom and Stefano,

Quoted 10 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

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.

Quoted 8 lines

With this patch applied the kernel reports:

CPU0: Spectre v2: using BPIALL workaround

---
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

#2 lore raw

PATCH 1/1 mx5: Select ARM_CORTEX_A8_CVE_2017_5715

Quoted 17 lines · Fabio Estevam

Hi Tom and Stefano,

Quoted 14 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

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

Quoted 8 lines
Quoted 4 lines

---
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!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180629/e5d30d0c/attachment.sig>
author reviewer
#3 lore raw

PATCH 1/1 mx5: Select ARM_CORTEX_A8_CVE_2017_5715

Hi Tom,

Quoted 5 lines · Tom Rini
Quoted 3 lines

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

#4 lore raw
In reply to Fabio Estevam
Quoted 7 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

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

Quoted 8 lines

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

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180702/037dae6a/attachment.sig>