coreboot/src/arch/arm64
Jimmy Huang c159a0ec4a arm64: mmu: Prevent CPU prefetch instructions from device memory
Set XN bit of block upper attribute to device memory in mmu. CPU may
speculatively prefetch instructions from device memory, but the IO
subsystem of some implementation may not support this operation. Set
this attribute to device memory mmu entries can prevent CPU from
prefetching device memory.

BRANCH=none
BUG=none
TEST=build and booted to kernel on oak-rev3 with dcm enabled.

Change-Id: I52ac7d7c84220624aaf6a48d64b9110d7afeb293
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 7b01a4157cb046a5e75ea7625060a602e7a63c3c
Original-Change-Id: Id535e990a23b6c89123b5a4e64d7ed21eebed607
Original-Signed-off-by: Jimmy Huang <jimmy.huang@mediatek.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/302301
Original-Commit-Ready: Yidi Lin <yidi.lin@mediatek.com>
Original-Tested-by: Yidi Lin <yidi.lin@mediatek.com>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: http://review.coreboot.org/11722
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-09-28 09:36:32 +00:00
..
armv8 arm64: mmu: Prevent CPU prefetch instructions from device memory 2015-09-28 09:36:32 +00:00
cpu arm64/a57: Move cortex_a57.h under include directory 2015-07-13 10:00:25 +02:00
include arm64: mmu: Prevent CPU prefetch instructions from device memory 2015-09-28 09:36:32 +00:00
arm_tf.c arm64: Add support for loading secure os 2015-06-30 08:10:28 +02:00
boot.c assets: abstract away the firmware assets used for booting 2015-06-02 14:10:08 +02:00
c_entry.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
cpu-internal.h Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
cpu-stubs.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
cpu.c arch/arm64: Fix compilation without CONFIG_SMP 2015-06-30 08:11:03 +02:00
cpu_ramstage.c symbols: add '_' to pci_drivers and cpu_drivers symbols 2015-09-05 15:36:23 +00:00
div0.c Drop "See file CREDITS..." comment 2015-09-07 15:54:50 +00:00
eabi_compat.c coreboot arm64: Add support for arm64 into coreboot framework 2014-09-23 18:10:32 +02:00
id.S coreboot arm64: Add support for arm64 into coreboot framework 2014-09-23 18:10:32 +02:00
Kconfig arm64: xcompile: Add support for A53 erratum 843419 2015-08-28 06:46:09 +00:00
Makefile.inc linking: add and use LDFLAGS_common 2015-09-09 19:35:54 +00:00
memcpy.S Revert "arm64: remove assembly code string functions" 2015-06-23 08:20:11 +02:00
memmove.S Revert "arm64: remove assembly code string functions" 2015-06-23 08:20:11 +02:00
memset.S Revert "arm64: remove assembly code string functions" 2015-06-23 08:20:11 +02:00
spintable.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
spintable_asm.S Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
stage_entry.S rmodule: use program.ld for linking 2015-09-09 19:35:30 +00:00
stages.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
startup.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
tables.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
transition.c Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
transition_asm.S Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00