Re: [PATCH v2 2/9] powerpc: Add Microwatt device tree

2021-06-21 Thread Segher Boessenkool
On Sun, Jun 20, 2021 at 10:08:58PM +1000, Paul Mackerras wrote: > On Sat, Jun 19, 2021 at 09:26:16AM -0500, Segher Boessenkool wrote: > > On Fri, Jun 18, 2021 at 01:44:16PM +1000, Paul Mackerras wrote: > > > Microwatt currently runs with MSR[HV] = 0, > > > > That isn't compliant though? If your i

Re: [PATCH v2 2/9] powerpc: Add Microwatt device tree

2021-06-20 Thread Paul Mackerras
On Sat, Jun 19, 2021 at 09:26:16AM -0500, Segher Boessenkool wrote: > On Fri, Jun 18, 2021 at 01:44:16PM +1000, Paul Mackerras wrote: > > Microwatt currently runs with MSR[HV] = 0, > > That isn't compliant though? If your implementation does not have LPAR > it must set MSR[HV]=1 always. True - b

Re: [PATCH v2 2/9] powerpc: Add Microwatt device tree

2021-06-19 Thread Segher Boessenkool
On Fri, Jun 18, 2021 at 01:44:16PM +1000, Paul Mackerras wrote: > Microwatt currently runs with MSR[HV] = 0, That isn't compliant though? If your implementation does not have LPAR it must set MSR[HV]=1 always. Segher

[PATCH v2 2/9] powerpc: Add Microwatt device tree

2021-06-17 Thread Paul Mackerras
Microwatt currently runs with MSR[HV] = 0, hence the usable-privilege properties don't have bit 2 (for HV support) set, and we need the /chosen/ibm,architecture-vec-5 property. Signed-off-by: Paul Mackerras --- arch/powerpc/boot/dts/microwatt.dts | 98 + 1 file change