Re: [kvm-unit-tests v2 06/10] powerpc/sprs: Specify SPRs with data rather than code

2023-03-27 Thread Nicholas Piggin
On Thu Mar 23, 2023 at 10:36 PM AEST, Thomas Huth wrote: > On 20/03/2023 08.03, Nicholas Piggin wrote: > > +/* SPRs common denominator back to PowerPC Operating Environment > > Architecture */ > > +static const struct spr sprs_common[1024] = { > > + [1] = {"XER",64, RW,

Re: [kvm-unit-tests v2 06/10] powerpc/sprs: Specify SPRs with data rather than code

2023-03-23 Thread Thomas Huth
On 20/03/2023 08.03, Nicholas Piggin wrote: A significant rework that builds an array of 'struct spr', where each element describes an SPR. This makes various metadata about the SPR like name and access type easier to carry and use. Hypervisor privileged registers are described despite not

[kvm-unit-tests v2 06/10] powerpc/sprs: Specify SPRs with data rather than code

2023-03-20 Thread Nicholas Piggin
A significant rework that builds an array of 'struct spr', where each element describes an SPR. This makes various metadata about the SPR like name and access type easier to carry and use. Hypervisor privileged registers are described despite not being used at the moment for completeness, but