diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2016-02-20 20:41:54 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-02-22 19:27:39 +1100 |
commit | 9ab3ac233a8b4ffcc27c8475b83dee49fc46bc76 (patch) | |
tree | 8f6c81010f93514c8732bf5c966a3289797dfc36 /arch/arm/mach-omap2/fb.c | |
parent | f6bf0fa14cf848ae770e0b7842c9b11ce2f01645 (diff) | |
download | talos-obmc-linux-9ab3ac233a8b4ffcc27c8475b83dee49fc46bc76.tar.gz talos-obmc-linux-9ab3ac233a8b4ffcc27c8475b83dee49fc46bc76.zip |
powerpc/mm/hash: Clear the invalid slot information correctly
We can get a hash pte fault with 4k base page size and find the pte
already inserted with 64K base page size. In that case we need to clear
the existing slot information from the old pte. Fix this correctly
With THP, we also clear the slot information with respect to all
the 64K hash pte mapping that 16MB page. They are all invalid
now. This make sure we don't find the slot valid when we fault with
4k base page size. Finding the slot valid should not result in any wrong
behavior because we do check again in hash page table for the validity.
But we can avoid that check completely.
Fixes: a43c0eb8364c022 ("powerpc/mm: Convert 4k hash insert to C")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/arm/mach-omap2/fb.c')
0 files changed, 0 insertions, 0 deletions