[PATCH] powerpc/mm: Add translation mode information in /proc/cpuinfo
Michael Ellerman
mpe at ellerman.id.au
Mon Feb 27 20:56:28 AEDT 2017
"Aneesh Kumar K.V" <aneesh.kumar at linux.vnet.ibm.com> writes:
> On Wednesday 22 February 2017 11:15 AM, Michael Ellerman wrote:
>> "Aneesh Kumar K.V" <aneesh.kumar at linux.vnet.ibm.com> writes:
>>> 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" ?
...
>
> Do you want me to send an updated patch ? or you can update it when you
> apply it to your tree ?
I'll fix it up.
cheers
More information about the Linuxppc-dev
mailing list