Re: [PATCH V2 04/68] powerpc/mm: Use big endian page table for book3s 64

From
Aneesh Kumar K.V <hidden>
Date
2016-04-24 23:41:05
Reply to
Michael Ellerman, 2016-04-22
Michael Ellerman [off-list ref] writes:
On Sat, 2016-04-09 at 11:43 +0530, Aneesh Kumar K.V wrote:
quoted
This enables us to share the same page table code for
both radix and hash.
To be clear, only 64-bit hash.

In theory there's no reason we can't *always* mark the page tables as BE, after
all everything other than the new ppc64le systems are BE.

But looking at it, that will cause knock-on effects in a few places. So we
won't do it now. But it would be a good clean-up in the medium term I think. It
would get us back to a single pgtable-types.h.
quoted
Radix use a hardware defined big endian page table
So everyone keeps telling me :)

Where is this specified? I can't find it in the ISA. But I must be searching
for the wrong words.
It is definied by the pte entry format. We don't call it out as
Big-endian format. But it is derived from powerpc bit naming convention. The same is
true for hash page table entry.

-aneesh
Thread (139 messages) 139 messages, 9 authors, last reply 2016-11-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help