summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2026-07-30 08:09:59 +0100
committerOliver Upton <oupton@kernel.org>2026-07-31 00:17:02 -0700
commit0b72c406005767cf9ee11eb2b989dda9f51c7fa8 (patch)
tree15a55b7b6193a5c10d5d5f3f3bdbed2d0cb76d3f /tools/perf/scripts/python/stackcollapse.py
parentfed0a1e87c283be0334f939879e890419a648f19 (diff)
KVM: arm64: Classify CPTR_EL2 as a SR_LOC_SPECIAL register
It may not be obvious unless you look at it closely, but CPTR_EL2 is treated very differently from other registers. It is one the registers that, despite looking very similar between EL1 and EL2 when E2H==1, have RES0 bits that get in the way. Make it clear that CPTR_EL2 is odd by classifying it as SR_LOC_SPECIAL, just like CNTHCTL_EL2 (and for the same reasons). This makes it possible to use vcpu_read_sys_reg() with it, and will be necessary once we support FEAT_NV2P1. Reviewed-by: Joey Gouly <joey.gouly@arm.com> Reviewed-by: Yuan Yao <yaoyuan@linux.alibaba.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://patch.msgid.link/20260730071022.296811-7-maz@kernel.org Signed-off-by: Oliver Upton <oupton@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions