On 8/29/23 07:46, Peter Maydell wrote:
+ /* See arch/arm64/kernel/traps.c, do_el0_fpac, and our cpu_loop(). */ + if (sig == TARGET_SIGILL && code == TARGET_ILL_ILLOPN) { + return true; + }This works, but we'll need to do something else if the kernel adds some other fault later that is reported as ILLOPN but without an ESR record...
Yes. I'm not happy about the separation in logic, but I can't think of a better way at present.
r~