diff options
| author | Marc Zyngier <maz@kernel.org> | 2026-05-20 11:02:00 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-05-21 08:09:22 +0100 |
| commit | 958023d269e0312d10da85a6a49438d2e107dead (patch) | |
| tree | 2130a7670f9baed7ba60b2702ef83f4063c8a02c /tools/lib/python | |
| parent | 1a8685ed8cd1ded20d0c81070a49b1cddf70481d (diff) | |
KVM: arm64: vgic-v2: Don't init the vgic on in-kernel interrupt injection
We now have the lazy init on three paths:
- on first run of a vcpu
- on first injection of an interrupt from userspace and irqfd
- on first injection of an interrupt from kernel space as
part of the device emulation (timers, PMU, vgic MI)
Given that we recompute the state of each in-kernel interrupt
every time we are about to enter the guest, we can drop the lazy
init from the kernel injection path.
This solves a bunch of issues related to vgic_lazy_init() being called
in non-preemptible context, such as vcpu reset.
Reviewed-by: Oliver Upton <oupton@kernel.org>
Link: https://patch.msgid.link/20260520100200.543845-7-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
