|
From: | Richard Henderson |
Subject: | Re: [PATCH 01/18] target/arm: Allow raise_exception to handle finding target EL |
Date: | Mon, 30 May 2022 12:51:02 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
On 5/30/22 12:01, Peter Maydell wrote:
I'll have another go at this reorg this week. If it still doesn't feel cleaner, we can drop it, and I'll make some changes to the SME patch set building on this.I was wondering if it would work better the other way around, so that raise_exception() doesn't mess with the target_el at all, and all the "work out which EL to take the exception to" is done in target_exception_el() and similar ?
We need some place to put the EC_ADVSIMDFPACCESSTRAP special case, and it has to be done at the same time we're handling HCR_EL2.TGE. Perhaps that can be separated out to its own helper.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |