coreboot-kgpe-d16/payloads/libpayload/include/arm64/arch
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
..
asm.h
barrier.h
cache.h arm64: Decouple MMU functions from memranges 2015-06-02 11:34:23 +02:00
exception.h libpayload arm64: Make exceptions work 2015-03-21 13:35:38 +01:00
io.h libpayload: arm(64): add read8/16/32 and write8/16/32 2015-07-06 09:39:48 +02:00
lib_helpers.h libpayload arm64: Add helper functions with el argument 2015-03-21 13:43:03 +01:00
mmu.h arm64: mmu: Prevent CPU prefetch instructions from device memory 2015-09-28 09:36:32 +00:00
types.h
virtual.h