From: Siddhesh Poyarekar <siddhesh@sourceware.org>
To: libc-alpha@sourceware.org
Cc: adhemerval.zanella@linaro.org
Subject: [PATCH v3 0/4] aarch64: Allow overriding HWCAP_CPUID feature check
Date: Thu, 25 May 2017 20:27:00 -0000 [thread overview]
Message-ID: <1495743960-23665-1-git-send-email-siddhesh@sourceware.org> (raw)
Hi,
Here is another take at the remaining patches to allow overriding HWCAP_CPUID
feature check. Changes from the previous version:
- Added convenience macro to get dl_hwcap_mask
- Disable reading LD_HWCAP_MASK in static binaries when tunables are disabled
- Enable reading LD_HWCAP_MASK in static binaries when tunables are enabled
- Fix x86 exponential behaviour with ld_hwcap_mask set to a high value on
static binaries
- Add patch to write hwcap strings to LD_SHOW_AUXV and for ldconfig
I have not reposted the earlier 1/5, 2/5 and 4/5 since they have been acked.
I'll push them in together with all these patches since it did not make sense to
put them in isolation.
Tested on x86_64 and aarch64.
Siddhesh Poyarekar (4):
tunables: Use glibc.tune.hwcap_mask tunable instead of _dl_hwcap_mask
aarch64: Allow overriding HWCAP_CPUID feature check using HWCAP_MASK
Make LD_HWCAP_MASK usable for static binaries
aarch64: Add hwcap string routines
elf/dl-cache.c | 5 +-
elf/dl-hwcaps.c | 11 +++-
elf/dl-hwcaps.h | 30 +++++++++
elf/dl-support.c | 2 +
elf/dl-tunables.h | 2 +
elf/rtld.c | 4 ++
sysdeps/generic/ldsodefs.h | 2 +
sysdeps/sparc/sparc32/dl-machine.h | 6 +-
sysdeps/unix/sysv/linux/aarch64/cpu-features.c | 10 +--
sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c | 15 +++++
sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h | 86 ++++++++++++++++++++++++++
sysdeps/x86/cpu-features.c | 10 +--
12 files changed, 170 insertions(+), 13 deletions(-)
create mode 100644 elf/dl-hwcaps.h
create mode 100644 sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
--
2.7.4
next reply other threads:[~2017-05-25 20:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-25 20:27 Siddhesh Poyarekar [this message]
2017-05-25 20:27 ` [PATCH 3/4] Make LD_HWCAP_MASK usable for static binaries Siddhesh Poyarekar
2017-05-25 20:27 ` [PATCH 1/4] tunables: Use glibc.tune.hwcap_mask tunable instead of _dl_hwcap_mask Siddhesh Poyarekar
2017-05-30 21:21 ` Adhemerval Zanella
2017-05-31 0:30 ` Siddhesh Poyarekar
2017-05-31 0:49 ` Adhemerval Zanella
2017-05-31 1:06 ` Siddhesh Poyarekar
2017-05-25 20:27 ` [PATCH 4/4] aarch64: Add hwcap string routines Siddhesh Poyarekar
2017-05-25 20:27 ` [PATCH 2/4] aarch64: Allow overriding HWCAP_CPUID feature check using HWCAP_MASK Siddhesh Poyarekar
2017-05-26 20:13 ` [PATCH v3 0/4] aarch64: Allow overriding HWCAP_CPUID feature check Steve Ellcey
[not found] <bebe9cec-5156-4bfc-9b41-6db09af69981@email.android.com>
2017-05-30 16:54 ` Steve Ellcey
2017-05-30 19:22 ` Steve Ellcey
2017-05-30 20:23 ` Steve Ellcey
2017-06-01 5:29 ` Siddhesh Poyarekar
2017-06-01 16:22 ` Steve Ellcey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1495743960-23665-1-git-send-email-siddhesh@sourceware.org \
--to=siddhesh@sourceware.org \
--cc=adhemerval.zanella@linaro.org \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).