coreboot-kgpe-d16/payloads/libpayload/include/arm/arch
Julius Werner b2b7132fa3 arm: Dump additional fault registers in abort handlers
Paging code is tricky and figuring out what is wrong with it can be a
pain. This patch tries to ease the burden by giving a little more
information for prefetch and data aborts, dumping the Instruction Fault
Address Register (IFAR), Instruction Fault Status Register (IFSR) and
Auxiliary Instruction Fault Status Register (AIFSR) or the respective
Data registers. These contain additional information about the cause of
the abort (internal/external, write or read, fault subtype, etc.) and
the faulting address.

BUG=None
TEST=I have read through enough imprecise asynchronous external abort
reports with this patch that I learned the bit pattern by heart.

Change-Id: If1850c4a6df29b1195714ed0bdf025e51220e8ab
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: bf3b4924121825a5ceef7e5c14b7b307d01f8e9c
Original-Change-Id: I56a0557d4257f40b5b30c559c84eaf9b9f729099
Original-Signed-off-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/223784
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/9345
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-04-08 09:28:37 +02:00
..
asm.h arm: Put assembly functions into separate sections 2014-11-13 06:49:41 +01:00
barrier.h libpayload: Add support for memory barriers 2015-03-19 23:24:16 +01:00
cache.h arm: Dump additional fault registers in abort handlers 2015-04-08 09:28:37 +02:00
exception.h libpayload: Rework exception hook interface 2015-01-09 07:05:15 +01:00
io.h libpayload: Expand setbits_le32() and fix readl() const-ness 2015-01-12 05:56:01 +01:00
types.h ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
virtual.h ARM: API to Map Physical Address to Wipe Memory above 4GB 2014-12-09 18:39:34 +01:00