|
From: | Richard Henderson |
Subject: | Re: [PATCH 3/3] linux-user/aarch64: Add ESR signal frame for PACFAIL |
Date: | Tue, 29 Aug 2023 14:04:54 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
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~
[Prev in Thread] | Current Thread | [Next in Thread] |