linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc: Add HWCAP bits for Power9
@ 2016-01-11  2:59 Michael Ellerman
  2016-01-11 21:33 ` Steve Munroe
  2016-01-12 12:32 ` Michael Ellerman
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Ellerman @ 2016-01-11  2:59 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: tuliom, adhemerval.zanella, cseo, bergner, sjmunroe

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@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

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

* Re: [PATCH] powerpc: Add HWCAP bits for Power9
  2016-01-11  2:59 [PATCH] powerpc: Add HWCAP bits for Power9 Michael Ellerman
@ 2016-01-11 21:33 ` Steve Munroe
  2016-01-12 12:32 ` Michael Ellerman
  1 sibling, 0 replies; 3+ messages in thread
From: Steve Munroe @ 2016-01-11 21:33 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: adhemerval.zanella, bergner, cseo, linuxppc-dev, tuliom

[-- Attachment #1: Type: text/plain, Size: 1574 bytes --]

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

> From: Michael Ellerman <mpe@ellerman.id.au>
> To: <linuxppc-dev@ozlabs.org>
> Cc: tuliom@linux.vnet.ibm.com, adhemerval.zanella@linaro.org,
> cseo@linux.vnet.ibm.com, bergner@vnet.ibm.com, Steve Munroe/
> Rochester/IBM@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@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




[-- Attachment #2: Type: text/html, Size: 2005 bytes --]

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

* Re: powerpc: Add HWCAP bits for Power9
  2016-01-11  2:59 [PATCH] powerpc: Add HWCAP bits for Power9 Michael Ellerman
  2016-01-11 21:33 ` Steve Munroe
@ 2016-01-12 12:32 ` Michael Ellerman
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Ellerman @ 2016-01-12 12:32 UTC (permalink / raw)
  To: Michael Ellerman, linuxppc-dev; +Cc: cseo, sjmunroe, adhemerval.zanella, tuliom

On Mon, 2016-11-01 at 02:59:04 UTC, Michael Ellerman wrote:
> 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@ellerman.id.au>

Applied to powerpc next.

https://git.kernel.org/powerpc/c/e708c24cd01ce80b1609d8bacc

cheers

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

end of thread, other threads:[~2016-01-12 12:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-11  2:59 [PATCH] powerpc: Add HWCAP bits for Power9 Michael Ellerman
2016-01-11 21:33 ` Steve Munroe
2016-01-12 12:32 ` Michael Ellerman

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 NNTP newsgroup(s).