Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33387 )
Change subject: mainboard/emulation/qemu-aarch64: Add new board for ARMv8 ......................................................................
Patch Set 30:
(2 comments)
https://review.coreboot.org/c/coreboot/+/33387/29/src/mainboard/emulation/qe... File src/mainboard/emulation/qemu-aarch64/Kconfig:
https://review.coreboot.org/c/coreboot/+/33387/29/src/mainboard/emulation/qe... PS29, Line 48: config DRAM_SIZE_MB
Yes, it seems to be an aarch64 feature. […]
You can register a custom exception handler and return EXC_RET_HANDLED from it (and adjust the instruction pointer if necessary, which it probably is here). See arm64/armv8/exception.c#test_exception as an example, you should be able to do something very similar (and make it set a global or something so you can tell when it happened).
https://review.coreboot.org/c/coreboot/+/33387/26/src/mainboard/emulation/qe... File src/mainboard/emulation/qemu-aarch64/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/33387/26/src/mainboard/emulation/qe... PS26, Line 9: chip drivers/generic/generic # I2C0 controller
I remember something similar. […]
Okay, fair enough, this could probably be fixed in sconfig but let's leave this here for now.