powerpc/mm: Fix infinite loop in hash fault with 4K page size
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sat, 28 Nov 2015 17:09:33 +0000 (22:39 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 14 Dec 2015 04:19:04 +0000 (15:19 +1100)
commit0863d7f2136550a281f40f4d8556bffd09fd4c2d
tree33b8588a67d7dbf88bb7ea8a23378c24fc153542
parentdb1231dcdb4dc6cdcbdef0babe641a9162c0dc98
powerpc/mm: Fix infinite loop in hash fault with 4K page size

This is the same bug we fixed as part of 09567e7fd44291bfc08accfdd67ad8f467842332
("powerpc/mm: Check paca psize is up to date for huge mappings"). Please
check that for details. The difference here is that faults were
happening on a 4K page at an address previously mapped by hugetlb.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Reviewed-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/hash_utils_64.c