diff options
| author | Gautam Menghani <[email protected]> | 2024-11-09 06:32:55 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2024-11-14 02:04:23 +0000 |
| commit | ed351c57432122c4499be4f4aee8711d6fa93f3b (patch) | |
| tree | dc8ca9012c3b82cf704821262192baa62be88950 /rust/helpers/security.c | |
| parent | KVM: PPC: Book3S HV: Add Power11 capability support for Nested PAPR guests (diff) | |
| download | kernel-ed351c57432122c4499be4f4aee8711d6fa93f3b.tar.gz kernel-ed351c57432122c4499be4f4aee8711d6fa93f3b.zip | |
Revert "KVM: PPC: Book3S HV Nested: Stop forwarding all HFUs to L1"
This reverts commit 7c3ded5735141ff4d049747c9f76672a8b737c49.
On PowerNV, when a nested guest tries to use a feature prohibited by
HFSCR, the nested hypervisor (L1) should get a H_FAC_UNAVAILABLE trap
so that L1 can emulate the feature. But with the change introduced by
commit 7c3ded573514 ("KVM: PPC: Book3S HV Nested: Stop forwarding all HFUs
to L1") the L1 ends up getting a H_EMUL_ASSIST because of which, the L1
ends up injecting a SIGILL when L2 (nested guest) tries to use doorbells.
Reviewed-by: Nicholas Piggin <[email protected]>
Signed-off-by: Gautam Menghani <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'rust/helpers/security.c')
0 files changed, 0 insertions, 0 deletions
