diff options
| author | Aneesh Kumar K.V <[email protected]> | 2013-11-18 09:28:12 +0000 |
|---|---|---|
| committer | Benjamin Herrenschmidt <[email protected]> | 2013-12-09 00:40:29 +0000 |
| commit | 8937ba48dcf62b5cdf7abb93652914af16756f50 (patch) | |
| tree | e4c23e5e06ca3fa20318f3a45d3bb9d84f21c6af /arch/powerpc/platforms/powernv/opal-memory-errors.c | |
| parent | powerpc/mm: Free up _PAGE_COHERENCE for numa fault use later (diff) | |
| download | kernel-8937ba48dcf62b5cdf7abb93652914af16756f50.tar.gz kernel-8937ba48dcf62b5cdf7abb93652914af16756f50.zip | |
powerpc/mm: Only check for _PAGE_PRESENT in set_pte/pmd functions
We want to make sure we don't use these function when updating a pte
or pmd entry that have a valid hpte entry, because these functions
don't invalidate them. So limit the check to _PAGE_PRESENT bit.
Numafault core changes use these functions for updating _PAGE_NUMA bits.
That should be ok because when _PAGE_NUMA is set we can be sure that
hpte entries are not present.
Signed-off-by: Aneesh Kumar K.V <[email protected]>
Acked-by: Paul Mackerras <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'arch/powerpc/platforms/powernv/opal-memory-errors.c')
0 files changed, 0 insertions, 0 deletions
