kvm_make_all_cpus_request(vcpu->kvm, KVM_REQ_SLEEP) should have set all
vcpus to sleep when the system is shut down.
Ftrace does not show any function containing the string 'kvm_' being
called while no VM is running.
A number of sbi calls are ongoing. But these seem unrelated as they
don't stop when removing the kvm module:
<idle>-0 [014] d.h1. 7725.517282: ipi_mux_process
<-sbi_ipi_handle
<idle>-0 [014] dnh1. 7725.517412: riscv_intc_irq_eoi
<-sbi_ipi_handle
<idle>-0 [014] d.h1. 7725.610312: sbi_ipi_handle
<-handle_irq_desc
<idle>-0 [014] d.h1. 7725.610314: ipi_mux_process
<-sbi_ipi_handle
<idle>-0 [014] dnh1. 7725.610472: riscv_intc_irq_eoi
<-sbi_ipi_handle
ibus-daemon-2549 [014] d.h1. 7725.611737: __sbi_ecall
<-__sbi_send_ipi_v02
<idle>-0 [014] d.h1. 7725.613027: sbi_ipi_handle
<-handle_irq_desc
<idle>-0 [014] d.h1. 7725.613030: ipi_mux_process
<-sbi_ipi_handle
<idle>-0 [014] dnh1. 7725.613179: riscv_intc_irq_eoi
<-sbi_ipi_handle
<idle>-0 [014] d.h1. 7725.623061: sbi_ipi_handle
<-handle_irq_desc
<idle>-0 [014] d.h1. 7725.623064: ipi_mux_process
<-sbi_ipi_handle
<idle>-0 [014] dnh1. 7725.623251: riscv_intc_irq_eoi
<-sbi_ipi_handle
ibus-daemon-2549 [014] d.h2. 7725.623872: __sbi_ecall
<-__sbi_send_ipi_v02
ibus-daemon-2549 [014] d..3. 7725.625030: __sbi_ecall
<-__sbi_send_ipi_v02
<idle>-0 [014] d.h1. 7725.625999: sbi_ipi_handle
<-handle_irq_desc
<idle>-0 [014] d.h1. 7725.626002: ipi_mux_process
<-sbi_ipi_handle
<idle>-0 [014] dnh1. 7725.626188: riscv_intc_irq_eoi
<-sbi_ipi_handle
<idle>-0 [014] d.h1. 7726.104730: sbi_ipi_handle
<-handle_irq_desc
<idle>-0 [014] d.h1. 7726.104733: ipi_mux_process
<-sbi_ipi_handle
<idle>-0 [014] dnh1. 7726.104886: riscv_intc_irq_eoi
<-sbi_ipi_handle
ibus-daemon-2549 [014] d..3. 7726.106175: __sbi_ecall
<-__sbi_send_ipi_v02
<idle>-0 [008] d.h1. 7728.112877: sbi_ipi_handle
<-handle_irq_desc
<idle>-0 [008] d.h1. 7728.112881: ipi_mux_process
<-sbi_ipi_handle
<idle>-0 [008] dnh1. 7728.113005: riscv_intc_irq_eoi
<-sbi_ipi_handle
kworker/u64:3-4073 [008] d..3. 7728.113394: __sbi_ecall
<-__sbi_send_ipi_v02
kworker/u64:3-4073 [008] d..3. 7728.113939: __sbi_ecall
<-__sbi_send_ipi_v02
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2112578
Title:
riscv64: KVM does not release harts
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2112578/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs