[PATCH] Fix "ibm,processor-radix-AP-encodings"
Oliver O'Halloran
oohall at gmail.com
Mon Oct 10 12:06:52 AEDT 2016
On Wed, Sep 28, 2016 at 12:43 PM, Aneesh Kumar K.V
<aneesh.kumar at linux.vnet.ibm.com> wrote:
> Balbir Singh <bsingharora at gmail.com> writes:
>
>> The top 3 bits of the lower order byte should contain the
>> AP encoding, we assume the top 3 bits of the MSB.
Balbir, could you reword this so it says "Currently we wrongly assume
<blah>" or similar. The current commit message made me think you were
changing it to look at the top 3 bits of the MSB rather than changing
it look at the LSB.
> Are you sure, Power architecture documents always confuse about MSB vs
> lowe order bytes. ?
PAPR seems to be pretty consistent about "low order" meaning "least
significant." Additionally the PAPR that describes
ibm,processor-radix-AP-encodings says that it is formatted this way so
it can be used when constructing the register argument to tlbie. The
modes of tlbie that use the AP field place it in bits 56:59 so I think
Balbir's fix is correct.
Reviewed-By: Oliver O'Halloran <oohall at gmail.com>
More information about the Linuxppc-dev
mailing list