diff options
| author | Keir Fraser <keirf@google.com> | 2025-09-09 10:00:06 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2025-09-15 10:55:23 +0100 |
| commit | 7788255aba6545a27b8d143c5256536f8dfb2c0a (patch) | |
| tree | 30be9801ea7217fb6c5e210cba1c888155efc1f1 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 11490b5ec6bc4fe3a36f90817bbc8021ba8b05cd (diff) | |
KVM: Implement barriers before accessing kvm->buses[] on SRCU read paths
This ensures that, if a VCPU has "observed" that an IO registration has
occurred, the instruction currently being trapped or emulated will also
observe the IO registration.
At the same time, enforce that kvm_get_bus() is used only on the
update side, ensuring that a long-term reference cannot be obtained by
an SRCU reader.
Signed-off-by: Keir Fraser <keirf@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
