diff options
author | Gautam Menghani <gautam@linux.ibm.com> | 2024-11-09 09:32:55 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2024-11-14 05:04:23 +0300 |
commit | ed351c57432122c4499be4f4aee8711d6fa93f3b (patch) | |
tree | dc8ca9012c3b82cf704821262192baa62be88950 /rust/helpers/helpers.c | |
parent | 96e266e3bcd6ed03f0be62c2fcf92bf1e3dc8a6a (diff) | |
download | linux-ed351c57432122c4499be4f4aee8711d6fa93f3b.tar.xz |
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 <npiggin@gmail.com>
Signed-off-by: Gautam Menghani <gautam@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/20241109063301.105289-2-gautam@linux.ibm.com
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions