summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pasemi/pci.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>2018-06-01 13:54:02 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2018-06-03 20:40:38 +1000
commita5db5060e0b2e27605df272224bfd470f644d8a5 (patch)
tree1cfc27d0f084d34cc21978d63aa8e97fb4ba28ff /arch/powerpc/platforms/pasemi/pci.c
parented515b6898c36775ddd99ff9ffeda4e83917acda (diff)
downloadop-kernel-dev-a5db5060e0b2e27605df272224bfd470f644d8a5.zip
op-kernel-dev-a5db5060e0b2e27605df272224bfd470f644d8a5.tar.gz
powerpc/mm/hash: hard disable irq in the SLB insert path
When inserting SLB entries for EA above 512TB, we need to hard disable irq. This will make sure we don't take a PMU interrupt that can possibly touch user space address via a stack dump. To prevent this, we need to hard disable the interrupt. Also add a comment explaining why we don't need context synchronizing isync with slbmte. Fixes: f384796c4 ("powerpc/mm: Add support for handling > 512TB address in SLB miss") Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/pasemi/pci.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud