Commit cd81acc
powerpc/64s/exception: KVM Fix for host DSI being taken in HPT guest MMU context
Commit 2284ffe ("powerpc/64s/exception: Only test KVM in SRR
interrupts when PR KVM is supported") removed KVM guest tests from
interrupts that do not set HV=1, when PR-KVM is not configured.
This is wrong for HV-KVM HPT guest MMIO emulation case which attempts
to load the faulting instruction word with MSR[DR]=1 and MSR[HV]=1 with
the guest MMU context loaded. This can cause host DSI, DSLB interrupts
which must test for KVM guest. Restore this and add a comment.
Fixes: 2284ffe ("powerpc/64s/exception: Only test KVM in SRR interrupts when PR KVM is supported")
Cc: stable@vger.kernel.org # v5.7+
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201117135617.3521127-1-npiggin@gmail.com1 parent e02152b commit cd81acc
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1410 | 1410 | | |
1411 | 1411 | | |
1412 | 1412 | | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
1413 | 1418 | | |
1414 | 1419 | | |
1415 | 1420 | | |
| |||
1420 | 1425 | | |
1421 | 1426 | | |
1422 | 1427 | | |
1423 | | - | |
1424 | 1428 | | |
1425 | 1429 | | |
1426 | | - | |
1427 | 1430 | | |
1428 | 1431 | | |
1429 | 1432 | | |
| |||
1462 | 1465 | | |
1463 | 1466 | | |
1464 | 1467 | | |
| 1468 | + | |
| 1469 | + | |
1465 | 1470 | | |
1466 | 1471 | | |
1467 | 1472 | | |
| |||
1470 | 1475 | | |
1471 | 1476 | | |
1472 | 1477 | | |
1473 | | - | |
1474 | 1478 | | |
1475 | 1479 | | |
1476 | | - | |
1477 | 1480 | | |
1478 | 1481 | | |
1479 | 1482 | | |
| |||
0 commit comments