summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBillXiang <xiangwencheng@lanxincomputing.com>2025-02-21 13:45:38 +0300
committerAnup Patel <anup@brainfault.org>2025-02-21 14:57:32 +0300
commitd252435aca44d647d57b84de5108556f9c97614a (patch)
tree61be36ac8e60b550acc5ce2684747bd2ec471c0e /tools/perf/scripts/python/exported-sql-viewer.py
parent351e02b1733b057e33fe13fc03ca93ec799e4f78 (diff)
downloadlinux-d252435aca44d647d57b84de5108556f9c97614a.tar.xz
riscv: KVM: Remove unnecessary vcpu kick
Remove the unnecessary kick to the vCPU after writing to the vs_file of IMSIC in kvm_riscv_vcpu_aia_imsic_inject. For vCPUs that are running, writing to the vs_file directly forwards the interrupt as an MSI to them and does not need an extra kick. For vCPUs that are descheduled after emulating WFI, KVM will enable the guest external interrupt for that vCPU in kvm_riscv_aia_wakeon_hgei. This means that writing to the vs_file will cause a guest external interrupt, which will cause KVM to wake up the vCPU in hgei_interrupt to handle the interrupt properly. Signed-off-by: BillXiang <xiangwencheng@lanxincomputing.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Radim Krčmář <rkrcmar@ventanamicro.com> Link: https://lore.kernel.org/r/20250221104538.2147-1-xiangwencheng@lanxincomputing.com Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions