diff options
author | 2014-09-22 22:10:36 +0200 | |
---|---|---|
committer | 2014-09-22 23:05:56 +0200 | |
commit | 1f2bb4acc125edc2c06db3ad3e8c699bc075ad52 (patch) | |
tree | ea414717822d6eab576c3c8cd7aed692fabfa1ba /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm/arm64: KVM: Complete WFI/WFE instructions (diff) | |
download | wireguard-linux-1f2bb4acc125edc2c06db3ad3e8c699bc075ad52.tar.xz wireguard-linux-1f2bb4acc125edc2c06db3ad3e8c699bc075ad52.zip |
arm/arm64: KVM: Fix unaligned access bug on gicv2 access
We were using an atomic bitop on the vgic_v2.vgic_elrsr field which was
not aligned to the natural size on 64-bit platforms. This bug showed up
after QEMU correctly identifies the pl011 line as being level-triggered,
and not edge-triggered.
These data structures are protected by a spinlock so simply use a
non-atomic version of the accessor instead.
Tested-by: Joel Schopp <joel.schopp@amd.com>
Reported-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions