[PATCH] powerpc: Add HWCAP bits for Power9

Steve Munroe sjmunroe at us.ibm.com
Tue Jan 12 08:33:15 AEDT 2016


Michael Ellerman <mpe at ellerman.id.au> wrote on 01/10/2016 08:59:04 PM:

> From: Michael Ellerman <mpe at ellerman.id.au>
> To: <linuxppc-dev at ozlabs.org>
> Cc: tuliom at linux.vnet.ibm.com, adhemerval.zanella at linaro.org,
> cseo at linux.vnet.ibm.com, bergner at vnet.ibm.com, Steve Munroe/
> Rochester/IBM at IBMUS
> Date: 01/10/2016 08:59 PM
> Subject: [PATCH] powerpc: Add HWCAP bits for Power9
>
> In order to support Power9 we need two new HWCAP bits. We are merging
> these ahead of the cputable entry so that glibc can start referring to
> them.
>
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
> ---
>  arch/powerpc/include/uapi/asm/cputable.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/powerpc/include/uapi/asm/cputable.h b/arch/
> powerpc/include/uapi/asm/cputable.h
> index 43686043e297..8dde19962a5b 100644
> --- a/arch/powerpc/include/uapi/asm/cputable.h
> +++ b/arch/powerpc/include/uapi/asm/cputable.h
> @@ -43,5 +43,7 @@
>  #define PPC_FEATURE2_TAR      0x04000000
>  #define PPC_FEATURE2_VEC_CRYPTO      0x02000000
>  #define PPC_FEATURE2_HTM_NOSC      0x01000000
> +#define PPC_FEATURE2_ARCH_3_00      0x00800000 /* ISA 3.00 */
> +#define PPC_FEATURE2_HAS_IEEE128   0x00400000 /* VSX IEEE Binary
> Float 128-bit */
>
>  #endif /* _UAPI__ASM_POWERPC_CPUTABLE_H */
> --
> 2.5.0
>
We need this in mainline kernel ASAP or the GLIBC maintainers are going to
force us to revert our patch. Missing GLIBC2.23.

Steven J. Munroe
Linux on Power Toolchain Architect
IBM Corporation, Linux Technology Center



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20160111/eceabf33/attachment-0001.html>


More information about the Linuxppc-dev mailing list