[PATCH] arm64/sve: Reserve HWCAP and ELF note numbers for SVE

Catalin Marinas catalin.marinas at arm.com
Mon Mar 6 07:24:47 PST 2017


On Fri, Mar 03, 2017 at 02:13:26PM +0000, Dave P Martin wrote:
> --- a/include/uapi/linux/elf.h
> +++ b/include/uapi/linux/elf.h
> @@ -414,6 +414,7 @@ typedef struct elf64_shdr {
>  #define NT_ARM_HW_BREAK	0x402		/* ARM hardware breakpoint registers */
>  #define NT_ARM_HW_WATCH	0x403		/* ARM hardware watchpoint registers */
>  #define NT_ARM_SYSTEM_CALL	0x404	/* ARM system call number */
> +					/* 0x405 reserved for SVE */

Just a nitpick: given that this is generic file, even if it's in the
ARM-specific section, it might be worth adding "ARM" to the comment:
"reserved for ARM SVE" (not needed for hwcap).

Depending on the SVE merging timescales, this patch may go in together
with the rest ;).

-- 
Catalin



More information about the linux-arm-kernel mailing list