diff options
| author | Fuad Tabba <fuad.tabba@linux.dev> | 2026-11-02 08:29:33 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-11-03 10:58:51 +0000 |
| commit | 61d4f8c3d02cf936cfb91f7b72516b17febf74d3 (patch) | |
| tree | 87c75965a56a67821d8ff9c39aa0fe20e313d901 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 147ce65112bc7255d5e2d3b12aaa23dc9ce44371 (diff) | |
KVM: arm64: vgic-its: Update GITS_CTLR.Enabled under its_lock
A GITS_CTLR write that disables the ITS clears its->enabled and
invalidates the translation cache under cmd_lock, while an MSI
injection tests the enable bit and populates the cache under its_lock.
An injection that passed the test before the disable can cache its
translation after the invalidation, and the cached path then injects
the LPI from the disabled ITS on every later MSI for that event.
Take its_lock around the store and the invalidation, so that it
serializes the store against the test. Nest it under cmd_lock, as the
command handlers do.
Fixes: 86a7dae884f38 ("KVM: arm/arm64: vgic-its: Check the LPI translation cache on MSI injection")
Reported-by: Hyunwoo Kim <imv4bel@gmail.com>
Link: https://lore.kernel.org/ah6Lsi4MfKUU6wBR@v4bel/
Suggested-by: Oliver Upton <oupton@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
Link: https://patch.msgid.link/20261102082933.2673799-1-fuad.tabba@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
