Skip to content

Commit ee3d89d

Browse files
committed
tools headers UAPI: sync asm/prctl.h with kernel
JIRA: https://issues.redhat.com/browse/RHEL-29796 Upstream Status: RHEL only description =========== Upstream, when there is a change in a header file from the specific set of headers (listed in tools/perf/check-headers.sh), it is accompanied by a commit that brings the same change into its counterpart located in tools/include. Usually several changes are squashed together. We cannot easily follow this strategy, since we not always take all the commits squashed together. In order to tidy tools/include up, we need to sync the headers manually. Signed-off-by: Michael Petlan <mpetlan@redhat.com>
1 parent 0f10bab commit ee3d89d

File tree

1 file changed

+13
-0
lines changed
  • tools/perf/trace/beauty/arch/x86/include/uapi/asm

1 file changed

+13
-0
lines changed

tools/perf/trace/beauty/arch/x86/include/uapi/asm/prctl.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,26 @@
1616
#define ARCH_GET_XCOMP_GUEST_PERM 0x1024
1717
#define ARCH_REQ_XCOMP_GUEST_PERM 0x1025
1818

19+
#define ARCH_XCOMP_TILECFG 17
20+
#define ARCH_XCOMP_TILEDATA 18
21+
1922
#define ARCH_MAP_VDSO_X32 0x2001
2023
#define ARCH_MAP_VDSO_32 0x2002
2124
#define ARCH_MAP_VDSO_64 0x2003
2225

26+
/* Don't use 0x3001-0x3004 because of old glibcs */
27+
2328
#define ARCH_GET_UNTAG_MASK 0x4001
2429
#define ARCH_ENABLE_TAGGED_ADDR 0x4002
2530
#define ARCH_GET_MAX_TAG_BITS 0x4003
2631
#define ARCH_FORCE_TAGGED_SVA 0x4004
2732

33+
#define ARCH_SHSTK_ENABLE 0x5001
34+
#define ARCH_SHSTK_DISABLE 0x5002
35+
#define ARCH_SHSTK_LOCK 0x5003
36+
37+
/* ARCH_SHSTK_ features bits */
38+
#define ARCH_SHSTK_SHSTK (1ULL << 0)
39+
#define ARCH_SHSTK_WRSS (1ULL << 1)
40+
2841
#endif /* _ASM_X86_PRCTL_H */

0 commit comments

Comments
 (0)