diff options
author | Jordan Niethe <jniethe5@gmail.com> | 2023-12-01 18:56:12 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-12-07 23:33:07 +1100 |
commit | df938a5576f3f3b08e1f217c660385c0d58a0b91 (patch) | |
tree | 1a0f4d08fc3385f116025bb2711cb4bbc392b831 /scripts/gcc-plugins/sancov_plugin.c | |
parent | ecd10702baae5c16a91d139bde7eff84ce55daee (diff) |
KVM: PPC: Book3S HV nestedv2: Do not inject certain interrupts
There is no need to inject an external interrupt in
kvmppc_book3s_irqprio_deliver() as the test for BOOK3S_IRQPRIO_EXTERNAL
in kvmhv_run_single_vcpu() before guest entry will raise LPCR_MER if
needed. There is also no need to inject the decrementer interrupt as
this will be raised within the L2 if needed. Avoiding these injections
reduces H_GUEST_GET_STATE hcalls by the L1.
Suggested-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231201132618.555031-8-vaibhav@linux.ibm.com
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions