diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2022-01-31 19:54:53 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-02-16 01:53:28 +0300 |
commit | 761b9b366cec0c81a1cd80930f00611d86521d1b (patch) | |
tree | 8cb65892ae0775d45bdfaa971a048b8d87b5c644 /arch/arm64/lib/mte.S | |
parent | b62a8486de3ab1d7c2353ec422b9cca3abfcfbcd (diff) | |
download | linux-761b9b366cec0c81a1cd80930f00611d86521d1b.tar.xz |
elf: Introduce the ARM MTE ELF segment type
Memory tags will be dumped in the core file as segments with their own
type. Discussions with the binutils and the generic ABI community
settled on using new definitions in the PT_*PROC space (and to be
documented in the processor-specific ABIs).
Introduce PT_ARM_MEMTAG_MTE as (PT_LOPROC + 0x1). Not included in this
patch since there is no upstream support but the CHERI/BSD community
will also reserve:
#define PT_ARM_MEMTAG_CHERI (PT_LOPROC + 0x2)
#define PT_RISCV_MEMTAG_CHERI (PT_LOPROC + 0x3)
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Luis Machado <luis.machado@linaro.org>
Link: https://lore.kernel.org/r/20220131165456.2160675-3-catalin.marinas@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/lib/mte.S')
0 files changed, 0 insertions, 0 deletions