diff options
author | Stefan Liebler <stli@linux.ibm.com> | 2021-10-05 16:14:10 +0200 |
---|---|---|
committer | Stefan Liebler <stli@linux.ibm.com> | 2021-10-07 06:49:39 +0200 |
commit | f2e06656d04a9fcb0603802a4f8ce7aa3a1f055e (patch) | |
tree | 2d85c7bf581d24bf633c03ac44a5e44554310279 /sysdeps/unix/sysv/linux/s390 | |
parent | 27b6edbb090f736b101f569620d8ad0e7217ddf8 (diff) | |
download | glibc-f2e06656d04a9fcb0603802a4f8ce7aa3a1f055e.zip glibc-f2e06656d04a9fcb0603802a4f8ce7aa3a1f055e.tar.gz glibc-f2e06656d04a9fcb0603802a4f8ce7aa3a1f055e.tar.bz2 |
S390: Add PCI_MIO and SIE HWCAPs
Both new HWCAPs were introduced in these kernel commits:
- 7e8403ecaf884f307b627f3c371475913dd29292
"s390: add HWCAP_S390_PCI_MIO to ELF hwcaps"
- 7e82523f2583e9813e4109df3656707162541297
"s390/hwcaps: make sie capability regular hwcap"
Also note that the kernel commit 511ad531afd4090625def4d9aba1f5227bd44b8e
"s390/hwcaps: shorten HWCAP defines" has shortened the prefix of the macros
from "HWCAP_S390_" to "HWCAP_". For compatibility reasons, we do not
change the prefix in public glibc header file.
Diffstat (limited to 'sysdeps/unix/sysv/linux/s390')
-rw-r--r-- | sysdeps/unix/sysv/linux/s390/bits/hwcap.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/bits/hwcap.h b/sysdeps/unix/sysv/linux/s390/bits/hwcap.h index e9bd368..00e73a3 100644 --- a/sysdeps/unix/sysv/linux/s390/bits/hwcap.h +++ b/sysdeps/unix/sysv/linux/s390/bits/hwcap.h @@ -22,6 +22,11 @@ /* * The following must match the kernels asm/elf.h. + * Note: The kernel commit 511ad531afd4090625def4d9aba1f5227bd44b8e + * "s390/hwcaps: shorten HWCAP defines" has shortened the prefix of the macros + * from "HWCAP_S390_" to "HWCAP_". For compatibility reasons, we do not + * change the prefix in public glibc header file. + * * Note that these are *not* the same as the STORE FACILITY LIST bits. */ #define HWCAP_S390_ESAN3 1 @@ -48,3 +53,5 @@ #define HWCAP_S390_DFLT 262144 #define HWCAP_S390_VXRS_PDE2 524288 #define HWCAP_S390_NNPA 1048576 +#define HWCAP_S390_PCI_MIO 2097152 +#define HWCAP_S390_SIE 4194304 |