This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH rsa/hwcap2_v6] PowerPC: Define AT_HWCAP2 bits and AT_HWCAP2 handling for POWER8.
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: Ryan S Arnold <rsa at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 28 Jun 2013 15:53:26 -0400
- Subject: Re: [PATCH rsa/hwcap2_v6] PowerPC: Define AT_HWCAP2 bits and AT_HWCAP2 handling for POWER8.
- References: <1372448990 dot 3162 dot 16 dot camel at localhost dot localdomain>
On 06/28/2013 03:49 PM, Ryan S Arnold wrote:
> The following patch, pushed up to rsa/hwcap2_v6, contains HWCAP2
> enablement for POWER8 and builds on my earlier base AT_HWCAP2 base
> enablement patch.
>
> Tested on a POWER8 with a Linux 3.10-rc1 kernel.
>
> Ryan S. Arnold
> IBM Linux Technology Center
>
> commit dd8d5080a6d99664ed01e16fad3cb3bb4f285154
> Author: Ryan S. Arnold <rsa@linux.vnet.ibm.com>
> Date: Fri Jun 28 14:43:56 2013 -0500
>
> PowerPC: Define AT_HWCAP2 bits and AT_HWCAP2 handling for POWER8.
>
> ChangeLog
> 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
>
> * sysdeps/powerpc/Makefile: Add comment about generating an offset to
> rtld_global._dl_hwcap2.
> * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
> POWER8.
> * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
> POWER8 feature descriptions defined in _dl_hwcap2.
> * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
> string handling for POWER8 feature bits.
> (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
> (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
> _dl_powerpc_cap_flags.
> (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
> * sysdeps/powerpc/rtld-global-offsets.sym
> (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
> _dl_hwcap2 in the rtld_global_ro structure.
Great work. Nice to see more of this go in.
Does this complete your 2.18 patches for POWER8?
Cheers,
Carlos.