"Aneesh Kumar K.V" <aneesh.ku...@linux.vnet.ibm.com> writes:

> With this we have on powernv and pseries /proc/cpuinfo reporting
>
> timebase        : 512000000
> platform        : PowerNV
> model           : 8247-22L
> machine         : PowerNV 8247-22L
> firmware        : OPAL
> translation     : Hash
>
> Signed-off-by: Aneesh Kumar K.V <aneesh.ku...@linux.vnet.ibm.com>
> ---
>  arch/powerpc/platforms/powernv/setup.c | 4 ++++
>  arch/powerpc/platforms/pseries/setup.c | 4 ++++
>  2 files changed, 8 insertions(+)
>
> diff --git a/arch/powerpc/platforms/powernv/setup.c 
> b/arch/powerpc/platforms/powernv/setup.c
> index d50c7d99baaf..d38571e289bb 100644
> --- a/arch/powerpc/platforms/powernv/setup.c
> +++ b/arch/powerpc/platforms/powernv/setup.c
> @@ -95,6 +95,10 @@ static void pnv_show_cpuinfo(struct seq_file *m)
>       else
>               seq_printf(m, "firmware\t: BML\n");
>       of_node_put(root);
> +     if (radix_enabled())
> +             seq_printf(m, "translation\t: Radix\n");
> +     else
> +             seq_printf(m, "translation\t: Hash\n");
>  }

Can we just call it "MMU" ?

I don't think it's entirely clear what "translation" means here if you
don't already know.

cheers

Reply via email to