ARM: mach-omap2: omap3/am335x: Enable ACR::IBE on Cortex-A8 SoCs for CVE-2017-5715
authorNishanth Menon <nm@ti.com>
Tue, 12 Jun 2018 20:24:11 +0000 (15:24 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 29 Jun 2018 15:30:39 +0000 (11:30 -0400)
commit94c6a89a99ce651b97fae565b32d79bf86643415
tree4bba4ecc95a75307dfe1cb17c6ea10abfd77e8c5
parentdbb7caf110c4a7b9afb7cdc195ac6967d3a30adf
ARM: mach-omap2: omap3/am335x: Enable ACR::IBE on Cortex-A8 SoCs for CVE-2017-5715

Enable CVE-2017-5715 option to set the IBE bit. This enables kernel
workarounds necessary for the said CVE.

With this enabled, Linux reports:
CPU0: Spectre v2: using BPIALL workaround

This workaround may need to be re-applied in OS environment around low
power transition resume states where context of ACR would be lost (off-mode
etc).

Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm/mach-omap2/Kconfig