On Thu, 2018-01-18 at 12:27 +1100, Paul Mackerras wrote:
> > You need to check that it's a Nimbus using the top nimble of the bottom
> > 16 bits of PVR. For Cumulus, the fixes are either in 1.0 or 1.1 (to
> > check).
>
> OK, how about this for the check:
>
> if (cpu_has_feature(CPU_FTR_AR
On Wed, Jan 17, 2018 at 10:14:45PM +1100, Benjamin Herrenschmidt wrote:
> On Wed, 2018-01-17 at 20:51 +1100, Paul Mackerras wrote:
> > +
> > + /*
> > +* POWER9 chips before version 2.02 can't have some threads in
> > +* HPT mode and some in radix mode on the same core.
> > +
On Wed, 2018-01-17 at 20:51 +1100, Paul Mackerras wrote:
> +
> + /*
> +* POWER9 chips before version 2.02 can't have some threads in
> +* HPT mode and some in radix mode on the same core.
> +*/
> + if (cpu_has_feature(CPU_FTR_ARCH_300)) {
> + unsign
POWER9 chip versions starting with v2.2 can support running with some
threads of a core in HPT mode and others in radix mode. This means
that we don't have to prohibit independent-threads mode when running
a HPT guest on a radix host, and we don't have to do any of the
synchronization between thre