summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/board-n8x0.c
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2018-07-10 22:47:25 +0300
committerTony Lindgren <tony@atomide.com>2018-07-12 13:56:32 +0300
commit2f8b5b21830aea95989a6e67d8a971297272a086 (patch)
treebe4927a45545fb77113ceb9cc279ca4c66106982 /arch/arm/mach-omap2/board-n8x0.c
parent0144eb204cdcdf09a76794b4a294291388e739bc (diff)
downloadlinux-2f8b5b21830aea95989a6e67d8a971297272a086.tar.xz
ARM: DRA7/OMAP5: Enable ACTLR[0] (Enable invalidates of BTB) for secondary cores
Call secure services to enable ACTLR[0] (Enable invalidates of BTB with ICIALLU) when branch hardening is enabled for kernel. On GP devices OMAP5/DRA7, there is no possibility to update secure side since "secure world" is ROM and there are no override mechanisms possible. On HS devices, appropriate PPA should do the workarounds as well. However, the configuration is only done for secondary core, since it is expected that firmware/bootloader will have enabled the required configuration for the primary boot core (note: bootloaders typically will NOT enable secondary processors, since it has no need to do so). Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-n8x0.c')
0 files changed, 0 insertions, 0 deletions