Add HWCAP2_MTE3 from Linux 5.18 to AArch64 bits/hwcap.h

Message ID alpine.DEB.2.22.394.2205312225560.2032472@digraph.polyomino.org.uk
State Committed
Commit 9d03bac7e7aa140dc3f48ac884e83265ee4f94c5
Headers
Series Add HWCAP2_MTE3 from Linux 5.18 to AArch64 bits/hwcap.h |

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent
dj/TryBot-32bit success Build for i686

Commit Message

Joseph Myers May 31, 2022, 10:26 p.m. UTC
  Linux 5.18 defines a new AArch64 HWCAP value HWCAP2_MTE3; add it to
glibc's sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h.

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

Comments

Szabolcs Nagy June 1, 2022, 7:20 a.m. UTC | #1
The 05/31/2022 22:26, Joseph Myers wrote:
> Linux 5.18 defines a new AArch64 HWCAP value HWCAP2_MTE3; add it to
> glibc's sysdeps/unix/sysv/linux/aarch64/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 a1cf59270f..616239bb84 100644
> --- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> +++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> @@ -77,3 +77,4 @@
>  #define HWCAP2_ECV		(1 << 19)
>  #define HWCAP2_AFP		(1 << 20)
>  #define HWCAP2_RPRES		(1 << 21)
> +#define HWCAP2_MTE3		(1 << 22)
> 
> -- 
> 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 a1cf59270f..616239bb84 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -77,3 +77,4 @@ 
 #define HWCAP2_ECV		(1 << 19)
 #define HWCAP2_AFP		(1 << 20)
 #define HWCAP2_RPRES		(1 << 21)
+#define HWCAP2_MTE3		(1 << 22)