diff options
| author | Marc Zyngier <maz@kernel.org> | 2026-10-15 11:05:38 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-10-15 14:52:25 +0100 |
| commit | a1b4bd2c2c262b8094c86afb99364d16ac08cb66 (patch) | |
| tree | 4ff89922b0c2010f02e8e0262674e1272a1ff469 /scripts/basic | |
| parent | 134b6486dd3452d3ac2642b152e8149e7891d962 (diff) | |
| download | linux-a1b4bd2c2c262b8094c86afb99364d16ac08cb66.tar.gz linux-a1b4bd2c2c262b8094c86afb99364d16ac08cb66.zip | |
KVM: arm64: vgic: Stop the target vcpu when disabling LPIs
Disabling LPIs is pretty nasty, as it directly messes with the AP list
of the affected CPU, which could be running... This has the potential to
lead to really bad behaviours, and we should not be doing that.
Take example on the way the Active state is handled and simply pause the
the vcpu so that we are sure it is in a quiescent state, and the state be
safely manipulated.
Nobody has any expectation of performance for this anyway.
Fixes: 96085b949672d ("KVM: arm/arm64: vgic-v3: Retire pending interrupts on disabling LPIs")
Co-developed-by: Oliver Upton <oupton@kernel.org>
Signed-off-by: Oliver Upton <oupton@kernel.org>
Cc: stable@vger.kernel.org
Reviewed-by: Fuad Tabba <fuad.tabba@linux.dev>
Tested-by: Fuad Tabba <fuad.tabba@linux.dev>
Link: https://patch.msgid.link/20261015100539.1011760-7-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
