aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2023-01-16 16:04:47 +0000
committerCatalin Marinas <[email protected]>2023-01-20 12:23:07 +0000
commitf90b529bcbe57c66da2b6a0d3c7c81e8567af63d (patch)
tree4efec325866de40e4a121251d0c9232ddc8bf3d9 /tools
parentee072cf708048c0d718a88159ae7985dd96d316f (diff)
arm64/sme: Implement ZT0 ptrace support
Implement support for a new note type NT_ARM64_ZT providing access to ZT0 when implemented. Since ZT0 is a register with constant size this is much simpler than for other SME state. As ZT0 is only accessible when PSTATE.ZA is set writes to ZT0 cause PSTATE.ZA to be set, the main alternative would be to return -EBUSY in this case but this seemed more constructive. Practical users are also going to be working with ZA anyway and have some understanding of the state. Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions