aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorBillXiang <[email protected]>2025-02-21 10:45:38 +0000
committerAnup Patel <[email protected]>2025-02-21 11:57:32 +0000
commitd252435aca44d647d57b84de5108556f9c97614a (patch)
tree61be36ac8e60b550acc5ce2684747bd2ec471c0e /net/unix/unix_bpf.c
parentriscv: KVM: Fix SBI sleep_type use (diff)
downloadkernel-d252435aca44d647d57b84de5108556f9c97614a.tar.gz
kernel-d252435aca44d647d57b84de5108556f9c97614a.zip
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 <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Radim Krčmář <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions