Skip to content
Commit 2827d8d6 authored by Julien Thierry's avatar Julien Thierry Committed by Alexandru Elisei
Browse files

arm64: kvm: pmu: Make overflow handler NMI safe



kvm_vcpu_kick() is not NMI safe. When the overflow handler is called by
an NMI, defer waking the vcpu to an irq_work queue.

Signed-off-by: default avatarJulien Thierry <julien.thierry@arm.com>
[Small changes to the commit message]
Signed-off-by: Alexandru Elisei's avatarAlexandru Elisei <alexandru.elisei@arm.com>
Cc: Christoffer Dall <christoffer.dall@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Suzuki K Pouloze <suzuki.poulose@arm.com>
Cc: kvmarm@lists.cs.columbia.edu
parent 0f7ae273
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment