Re: [PATCH v2 03/20] powerpc/64: Enable use of radix MMU under hypervisor on POWER9

2017-01-30 Thread Michael Ellerman
Paul Mackerras writes: > diff --git a/arch/powerpc/mm/pgtable-radix.c b/arch/powerpc/mm/pgtable-radix.c > index cfa53cc..94323c4 100644 > --- a/arch/powerpc/mm/pgtable-radix.c > +++ b/arch/powerpc/mm/pgtable-radix.c > @@ -401,6 +401,8 @@ void __init radix__early_init_mmu(void) > mts

[PATCH v2 03/20] powerpc/64: Enable use of radix MMU under hypervisor on POWER9

2017-01-30 Thread Paul Mackerras
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 che