public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] aarch64: Allow overriding HWCAP_CPUID feature check
@ 2017-05-18 20:07 Siddhesh Poyarekar
  2017-05-18 20:07 ` [PATCH 3/5] tunables: Use glibc.tune.hwcap_mask tunable instead of _dl_hwcap_mask Siddhesh Poyarekar
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Siddhesh Poyarekar @ 2017-05-18 20:07 UTC (permalink / raw)
  To: libc-alpha; +Cc: adhemerval.zanella

Hi,

This is take 2 of the remaining patches in the set that allows overriding
aarch64 ifunc using the LD_HWCAP_MASK.  This set gets the LD_HWCAP_MASK into
tunables so that it can be read early enough to influence tunables behaviour.
In the process, the routines to detect CPU features have been delayed in x86
and aarch64 so that they can be influenced by tunables.

Changes from previous version:

 - Add documentation for the new tunable and for new tunables API
 - Fixed errors that Adhemerval noted

Siddhesh Poyarekar (5):
  tunables: Add hooks to get and update tunables
  tunables: Add LD_HWCAP_MASK to tunables
  tunables: Use glibc.tune.hwcap_mask tunable instead of _dl_hwcap_mask
  Delay initialization of CPU features struct in static binaries
  aarch64: Allow overriding HWCAP_CPUID feature check using HWCAP_MASK

 README.tunables                                | 27 ++++++++++++++++
 csu/libc-start.c                               |  6 ++++
 elf/dl-cache.c                                 |  9 +++++-
 elf/dl-hwcaps.c                                | 15 +++++++--
 elf/dl-support.c                               |  2 ++
 elf/dl-tunables.c                              | 44 +++++++++++++++++++++-----
 elf/dl-tunables.h                              | 42 +++++++++++++++++-------
 elf/dl-tunables.list                           |  7 ++++
 elf/rtld.c                                     |  4 +++
 manual/tunables.texi                           | 22 +++++++++++++
 scripts/gen-tunables.awk                       |  1 +
 sysdeps/generic/ldsodefs.h                     |  2 ++
 sysdeps/sparc/sparc32/dl-machine.h             |  8 ++++-
 sysdeps/unix/sysv/linux/aarch64/cpu-features.c | 15 ++++++---
 sysdeps/unix/sysv/linux/aarch64/libc-start.c   | 23 +++-----------
 sysdeps/x86/cpu-features.c                     |  4 +++
 sysdeps/x86/libc-start.c                       | 23 +++-----------
 17 files changed, 190 insertions(+), 64 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2017-05-25  3:05 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-18 20:07 [PATCH v2 0/5] aarch64: Allow overriding HWCAP_CPUID feature check Siddhesh Poyarekar
2017-05-18 20:07 ` [PATCH 3/5] tunables: Use glibc.tune.hwcap_mask tunable instead of _dl_hwcap_mask Siddhesh Poyarekar
2017-05-22 14:51   ` Adhemerval Zanella
2017-05-18 20:07 ` [PATCH 5/5] aarch64: Allow overriding HWCAP_CPUID feature check using HWCAP_MASK Siddhesh Poyarekar
2017-05-19  9:49   ` Szabolcs Nagy
2017-05-19 17:44     ` Siddhesh Poyarekar
2017-05-19 22:12       ` Szabolcs Nagy
2017-05-20  3:32         ` Siddhesh Poyarekar
2017-05-20 12:35           ` Szabolcs Nagy
2017-05-20 13:23             ` Siddhesh Poyarekar
2017-05-18 20:07 ` [PATCH 2/5] tunables: Add LD_HWCAP_MASK to tunables Siddhesh Poyarekar
2017-05-22 13:20   ` Adhemerval Zanella
2017-05-18 20:07 ` [PATCH 1/5] tunables: Add hooks to get and update tunables Siddhesh Poyarekar
2017-05-22 14:07   ` Adhemerval Zanella
2017-05-18 20:07 ` [PATCH 4/5] Delay initialization of CPU features struct in static binaries Siddhesh Poyarekar
2017-05-25  3:05   ` H.J. Lu

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).