aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2018-12-07 18:39:22 +0000
committerWill Deacon <[email protected]>2018-12-13 16:42:46 +0000
commita1ee8abb95c55948dc187d0cccc88814841c85d2 (patch)
tree08dc11ae155959ae0a33d5980381c901e4a24981 /tools/perf/scripts/python/export-to-postgresql.py
parent4eaed6aa2c628101246bcabc91b203bfac1193f8 (diff)
arm64/kvm: hide ptrauth from guests
In subsequent patches we're going to expose ptrauth to the host kernel and userspace, but things are a bit trickier for guest kernels. For the time being, let's hide ptrauth from KVM guests. Regardless of how well-behaved the guest kernel is, guest userspace could attempt to use ptrauth instructions, triggering a trap to EL2, resulting in noise from kvm_handle_unknown_ec(). So let's write up a handler for the PAC trap, which silently injects an UNDEF into the guest, as if the feature were really missing. Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Mark Rutland <[email protected]> Signed-off-by: Kristina Martsenko <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Christoffer Dall <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: [email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions