From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 90357 invoked by alias); 25 May 2017 20:27:06 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 90335 invoked by uid 89); 25 May 2017 20:27:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.1 required=5.0 tests=BAYES_00,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL autolearn=ham version=3.3.2 spammy= X-HELO: homiemail-a92.g.dreamhost.com From: Siddhesh Poyarekar 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 Message-Id: <1495743960-23665-1-git-send-email-siddhesh@sourceware.org> X-SW-Source: 2017-05/txt/msg00773.txt.bz2 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