This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3 0/4] aarch64: Allow overriding HWCAP_CPUID feature check
- From: Steve Ellcey <sellcey at cavium dot com>
- To: siddhesh at sourceware dot org
- Cc: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, adhemerval dot zanella at linaro dot org
- Date: Thu, 01 Jun 2017 09:21:52 -0700
- Subject: Re: [PATCH v3 0/4] aarch64: Allow overriding HWCAP_CPUID feature check
- Authentication-results: sourceware.org; auth=none
- Authentication-results: sourceware.org; dkim=none (message not signed) header.d=none;sourceware.org; dmarc=none action=none header.from=cavium.com;
- References: <bebe9cec-5156-4bfc-9b41-6db09af69981@email.android.com> <1496163265.18342.54.camel@cavium.com> <1496172169.18342.58.camel@cavium.com> <1496175803.18342.61.camel@cavium.com> <6f5bebea-0395-bdd9-56ae-6431c21342c9@sourceware.org>
- Reply-to: sellcey at cavium dot com
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
On Thu, 2017-06-01 at 10:59 +0530, Siddhesh Poyarekar wrote:
>
> I just realized what's going on; it is a bug in tunables. The
> __tunables_set_val function returns without setting the value if the
> value was not set by glibc.tune.hwcap_mask or LD_HWCAP_MASK, which is
> wrong. It should return whatever is set in the tunable list.
>
> I'll fix that and repost.
>
> Siddhesh
Excellent, I find this functionality very useful so I look forward to
having it in glibc.
Steve Ellcey
sellcey@cavium.com