Add HWCAP2_MOPS from Linux 6.5 to AArch64 bits/hwcap.h

Message ID cb19f90-b29b-aa23-b78c-288a4696c44@codesourcery.com
State Committed
Commit ff5d2abd18629e0efac41e31699cdff3be0e08fa
Headers
Series Add HWCAP2_MOPS from Linux 6.5 to AArch64 bits/hwcap.h |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
redhat-pt-bot/TryBot-32bit success Build for i686
linaro-tcwg-bot/tcwg_glibc_build--master-arm warning Patch is already merged
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_glibc_check--master-arm warning Patch is already merged
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 warning Patch is already merged

Commit Message

Joseph Myers Oct. 16, 2023, 10:43 p.m. UTC
  Linux 6.5 adds a new AArch64 HWCAP2 value, HWCAP2_MOPS.  Add it to
glibc's bits/hwcap.h.

Tested with build-many-glibcs.py for aarch64-linux-gnu.
  

Comments

Szabolcs Nagy Oct. 17, 2023, 11:02 a.m. UTC | #1
The 10/16/2023 22:43, Joseph Myers wrote:
> Linux 6.5 adds a new AArch64 HWCAP2 value, HWCAP2_MOPS.  Add it to
> glibc's bits/hwcap.h.
> 
> Tested with build-many-glibcs.py for aarch64-linux-gnu.

ok to commit, thanks.

> 
> diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> index 55c7ed39be..b251c2d417 100644
> --- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> +++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> @@ -98,3 +98,4 @@
>  #define HWCAP2_SME_BI32I32	(1UL << 40)
>  #define HWCAP2_SME_B16B16	(1UL << 41)
>  #define HWCAP2_SME_F16F16	(1UL << 42)
> +#define HWCAP2_MOPS		(1UL << 43)
> 
> -- 
> Joseph S. Myers
> joseph@codesourcery.com
  

Patch

diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
index 55c7ed39be..b251c2d417 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -98,3 +98,4 @@ 
 #define HWCAP2_SME_BI32I32	(1UL << 40)
 #define HWCAP2_SME_B16B16	(1UL << 41)
 #define HWCAP2_SME_F16F16	(1UL << 42)
+#define HWCAP2_MOPS		(1UL << 43)