linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
To: Michael Ellerman <mpe@ellerman.id.au>,
	benh@kernel.crashing.org, paulus@samba.org
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] powerpc/mm: Add translation mode information in /proc/cpuinfo
Date: Wed, 22 Feb 2017 11:19:10 +0530	[thread overview]
Message-ID: <8ec533a5-daf6-4644-ffea-e940fe3e77f9@linux.vnet.ibm.com> (raw)
In-Reply-To: <874lzmn5h1.fsf@concordia.ellerman.id.au>



On Wednesday 22 February 2017 11:15 AM, Michael Ellerman wrote:
> "Aneesh Kumar K.V" <aneesh.kumar@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.kumar@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
>
I avoided using MMU, because it will confuse hardware guys. Radix is not 
clearly the full definition of
Memory management unit, but rather the translation mode used by memory 
management unit. But
i don't have strong opinion on this.

Do you want me to send an updated patch ? or you can update it when you 
apply it to your tree ?

-aneesh

  reply	other threads:[~2017-02-22  5:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-19 10:17 [PATCH] powerpc/mm: Add translation mode information in /proc/cpuinfo Aneesh Kumar K.V
2017-02-22  0:23 ` Balbir Singh
2017-02-22  5:45 ` Michael Ellerman
2017-02-22  5:49   ` Aneesh Kumar K.V [this message]
2017-02-22  8:03     ` Benjamin Herrenschmidt
2017-02-27  9:56     ` Michael Ellerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8ec533a5-daf6-4644-ffea-e940fe3e77f9@linux.vnet.ibm.com \
    --to=aneesh.kumar@linux.vnet.ibm.com \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).