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~