This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] aarch64: Update bits/hwcap.h for Linux 4.15.
- From: Alan Hayward <Alan dot Hayward at arm dot com>
- To: Szabolcs Nagy <Szabolcs dot Nagy at arm dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, nd <nd at arm dot com>
- Date: Mon, 15 Jan 2018 16:57:36 +0000
- Subject: Re: [PATCH] aarch64: Update bits/hwcap.h for Linux 4.15.
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alan dot Hayward at arm dot com;
- Nodisclaimer: True
- References: <5A5CA700.90604@arm.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
> On 15 Jan 2018, at 13:05, Szabolcs Nagy <Szabolcs.Nagy@arm.com> wrote:
>
> Define new HWCAP bits and add their name to dl-procinfo.c following
> the linux definitions. Synchronizing with v4.15-rc8 version of linux,
> these are not expected to change before the 4.15 release.
>
> (Will commit this tomorrow unless there are complaints.)
>
> 2018-01-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
>
> * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
> (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
> * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
> (_dl_aarch64_cap_flags): Update.
> * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
> (_DL_HWCAP_COUNT): Update.
> <hwcap.diff>
Quickly comparing the the patch I had attempt myself….
I think the 16 here needs updating:
PROCINFO_CLASS const char _dl_aarch64_cap_flags[16][10]
And this needs updating too:
#define _DL_HWCAP_LAST 15
Alan.