aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-11-16 10:20:06 +0000
committerMarc Zyngier <maz@kernel.org>2021-11-24 13:30:01 +0000
commit83bb2c1a01d7127d5adc7d69d7aaa3f7072de2b4 (patch)
treef8823472a6025aecae32e082383c65c7f7d6f2fa /tools/perf/scripts/python/export-to-postgresql.py
parentLinux 5.16-rc1 (diff)
downloadlinux-dev-83bb2c1a01d7127d5adc7d69d7aaa3f7072de2b4.tar.xz
linux-dev-83bb2c1a01d7127d5adc7d69d7aaa3f7072de2b4.zip
KVM: arm64: Save PSTATE early on exit
In order to be able to use primitives such as vcpu_mode_is_32bit(), we need to synchronize the guest PSTATE. However, this is currently done deep into the bowels of the world-switch code, and we do have helpers evaluating this much earlier (__vgic_v3_perform_cpuif_access and handle_aarch32_guest, for example). Move the saving of the guest pstate into the early fixups, which cures the first issue. The second one will be addressed separately. Tested-by: Fuad Tabba <tabba@google.com> Reviewed-by: Fuad Tabba <tabba@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions