summaryrefslogtreecommitdiff
path: root/drivers/phy/allwinner/phy-sun4i-usb.c
diff options
context:
space:
mode:
authorGanesh Goudar <ganeshgr@linux.ibm.com>2020-10-09 12:10:04 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2020-10-16 20:13:55 +1100
commit8d0e2101274358d9b6b1f27232b40253ca48bab5 (patch)
treee505cbd8c1d48319bd0e1e9a41697201ec1aa37c /drivers/phy/allwinner/phy-sun4i-usb.c
parentd4263b12a1a0e8816e021450be0765a1ad8bb53c (diff)
powerpc/mce: Avoid nmi_enter/exit in real mode on pseries hash
Use of nmi_enter/exit in real mode handler causes the kernel to panic and reboot on injecting SLB mutihit on pseries machine running in hash MMU mode, because these calls try to accesses memory outside RMO region in real mode handler where translation is disabled. Add check to not to use these calls on pseries machine running in hash MMU mode. Fixes: 116ac378bb3f ("powerpc/64s: machine check interrupt update NMI accounting") Cc: stable@vger.kernel.org # v5.8+ Signed-off-by: Ganesh Goudar <ganeshgr@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20201009064005.19777-2-ganeshgr@linux.ibm.com
Diffstat (limited to 'drivers/phy/allwinner/phy-sun4i-usb.c')
0 files changed, 0 insertions, 0 deletions