coreboot-kgpe-d16/payloads/libpayload/include
Julius Werner bf33b03acf libpayload: arm64: Keep instruction cache enabled at all times
This patch makes libpayload enable the instruction cache as the very
first thing, which is similar to how we treat it in coreboot. It also
prevents the icache from being disabled again during mmu_disable() as
part of the two-stage page table setup in post_sysinfo_scan_mmu_setup().
It replaces the existing mmu_disable() implementation with the assembly
version from coreboot which handles certain edge cases better (see
CB:27238 for details).

The SCTLR flag definitions in libpayload seem to have still been
copy&pasted from arm32, so replace with the actual arm64 defintions from
coreboot.

Change-Id: Ifdbec34f0875ecc69fedcbea5c20e943379a3d2d
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38908
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
2020-02-17 15:42:34 +00:00
..
arm/arch
arm64/arch libpayload: arm64: Keep instruction cache enabled at all times 2020-02-17 15:42:34 +00:00
arpa
pci
storage payloads: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-07 17:15:30 +00:00
sys
udc
usb libpayload/usb: add USB 3.1 GEN2 support 2019-08-27 07:21:00 +00:00
x86/arch
archive.h
assert.h
cbfs.h
cbfs_core.h util/cbfstool: Add optional argument ibb 2019-10-18 15:37:37 +00:00
cbfs_ram.h
cbgfx.h libpayload: cbgfx: Support drawing a box with rounded corners 2020-01-14 18:25:36 +00:00
compiler.h Make common macros double-evaluation safe 2019-04-04 19:38:31 +00:00
coreboot_tables.h libpayload: refactor fetching cbmem pointers 2019-10-03 15:27:30 +00:00
ctype.h
die.h
endian.h libpayload: Make pci and endian handling -Wconversion safe 2020-02-05 21:48:36 +00:00
errno.h
exception.h
fmap_serialized.h fmap: Add FMAP_AREA_PRESERVE 2019-03-04 13:25:01 +00:00
gdb.h
getopt.h
inttypes.h
ipchksum.h
kconfig.h Add new CONFIG(XXX) macro to replace IS_ENABLED(CONFIG_XXX) 2019-03-07 17:06:28 +00:00
keycodes.h
libpayload.h libpayload: Implement reading from CBMEM console 2019-12-16 09:47:38 +00:00
limits.h libpayload: limits.h: Provide reliable definitions for all XXX_MAX/MIN 2019-04-10 10:43:27 +00:00
lz4.h
lzma.h
malloc.h
multiboot_tables.h
panel.h
pci.h libpayload: Make pci and endian handling -Wconversion safe 2020-02-05 21:48:36 +00:00
queue.h
stdarg.h
stddef.h
stdint.h
stdio.h
stdlib.h libpayload: Deduplicate strtol and strtoull 2019-04-10 10:44:31 +00:00
string.h libpayload/libc: Tidy utf16le_to_ascii 2019-07-23 09:09:45 +00:00
strings.h
sysinfo.h lib/coreboot_table: Add CBMEM_ID_VBOOT_WORKBUF pointer to coreboot table 2019-12-02 13:00:45 +00:00
term.h
time.h
unistd.h
video_console.h