From: Meijing Zhao <[email protected]> show_vma_flags(), which is used by VMA tracepoints and %pGv, names generic VM_* bits but does not fully decode architecture-specific flag positions. As a result, trace output and VMA dumps can show a generic "arch_1" name or a raw hexadecimal value instead of the meaning assigned by the target architecture.
This series adds symbolic names for the arm64 and sparc64 meanings of VM_ARCH_1, arm64 MTE flags, user shadow stack flags, and protection-key encoding bits under their corresponding configuration guards. Changes in v2: - Rebase onto v7.3-rc1. - Fix the patch 1 changelog: "bti" and "adi" are descriptive trace names, but do not match the two-character smaps mnemonics. - Cc Lorenzo Stoakes. Meijing Zhao (3): mm: trace: decode arm64 and sparc64 VM_ARCH_1 flags mm: trace: decode MTE and shadow stack VMA flags mm: trace: name protection key encoding bits include/trace/events/mmflags.h | 43 ++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) -- 2.25.1
