Re: [PATCH v5 01/24] target/arm: Handle cpreg registration for missing EL

2022-05-06 Thread Peter Maydell
On Thu, 5 May 2022 at 20:06, Richard Henderson wrote: > > More gracefully handle cpregs when EL2 and/or EL3 are missing. > If the reg is entirely inaccessible, do not register it at all. > If the reg is for EL2, and EL3 is present but EL2 is not, > either discard, squash to res0, const, or keep un

[PATCH v5 01/24] target/arm: Handle cpreg registration for missing EL

2022-05-05 Thread Richard Henderson
More gracefully handle cpregs when EL2 and/or EL3 are missing. If the reg is entirely inaccessible, do not register it at all. If the reg is for EL2, and EL3 is present but EL2 is not, either discard, squash to res0, const, or keep unchanged. Per rule RJFFP, mark the 4 aarch32 hypervisor access re