summaryrefslogtreecommitdiff
path: root/arch/s390/include
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2021-01-13 14:14:01 +0100
committerHeiko Carstens <hca@linux.ibm.com>2021-07-27 09:39:19 +0200
commitb3bc7980f4ad12c0cd4e2c7a5541ed2a061a0770 (patch)
tree24acb72981d4714010fa5f32b93592a8fc23ff69 /arch/s390/include
parent0d374381d00b92ad73771bb9b09db21e7bb64500 (diff)
s390: report more CPU capabilities
Add hardware capability bits and feature tags to /proc/cpuinfo for NNPA and Vector-Packed-Decimal-Enhancement Facility 2. Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r--arch/s390/include/asm/elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/elf.h b/arch/s390/include/asm/elf.h
index bd00c94620d3..6e55e4a2d6bd 100644
--- a/arch/s390/include/asm/elf.h
+++ b/arch/s390/include/asm/elf.h
@@ -111,6 +111,8 @@
#define HWCAP_S390_VXRS_PDE 65536
#define HWCAP_S390_SORT 131072
#define HWCAP_S390_DFLT 262144
+#define HWCAP_S390_VXRS_PDE2 524288
+#define HWCAP_S390_NNPA 1048576
/* Internal bits, not exposed via elf */
#define HWCAP_INT_SIE 1UL