powerpc/mm: Fix little-endian 4K hugetlb

Michael Ellerman patch-notifications at ellerman.id.au
Wed Jan 18 23:10:21 AEDT 2017


On Wed, 2016-12-14 at 04:37:53 UTC, "Aneesh Kumar K.V" wrote:
> When we switched to big endian page table, we never updated
> the hugepd format such that it can work for both big endian and
> little endian config. This patch series update hugepd format
> such that it is looked at as __be64 value in big endian page
> table config.
> 
> This patch also switch hugepd_t.pd from signed long to unsigned long.
> I did update the FSL hugepd_ok check to check for the top bit instead
> of checking > 0.
> 
> Fixes: 5dc1ef858c12f8 ("powerpc/mm: Use big endian Linux page tables for book3s 64")
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/20717e1ff52672e31f9399c45d8893

cheers


More information about the Linuxppc-dev mailing list