On Mon, Dec 05, 2016 at 07:55:32PM +1100, Benjamin Herrenschmidt wrote:
> On Mon, 2016-12-05 at 19:04 +1100, Paul Mackerras wrote:
> > + vec5 = of_get_flat_dt_prop(chosen, "ibm,architecture-vec-5", );
> > + if (!vec5 || size <= OV5_INDX(OV5_MMU_RADIX_300))
> > + return;
>
On Mon, 2016-12-05 at 19:04 +1100, Paul Mackerras wrote:
> + vec5 = of_get_flat_dt_prop(chosen, "ibm,architecture-vec-5", );
> + if (!vec5 || size <= OV5_INDX(OV5_MMU_RADIX_300))
> + return;
Could be bike shedding but shouldn't we first check if
we are in an LPAR and
To use radix as a guest, we first need to tell the hypervisor via
the ibm,client-architecture call first that we support POWER9 and
architecture v3.00, and that we can do either radix or hash and
that we would like to choose later using an hcall (the
H_REGISTER_PROC_TBL hcall).
Then we need to