1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

source/cpu: add additional IBM Z CPU Flags

Add the newly supported s390x CPU Flags for the 5.15 Kernel

Signed-off-by: Jan Schintag <jan.schintag@de.ibm.com>
This commit is contained in:
Jan Schintag 2021-11-24 16:07:05 +01:00
parent 476756ab0c
commit c545cfb0dc

View file

@ -47,6 +47,10 @@ const (
HWCAP_S390_VXRS_PDE = 65536
HWCAP_S390_SORT = 131072
HWCAP_S390_DFLT = 262144
HWCAP_NR_VXRS_PDE2 = 524288
HWCAP_NR_NNPA = 1048576
HWCAP_NR_PCI_MIO = 2097152
HWCAP_NR_SIE = 4194304
)
var flagNames_s390x = map[uint64]string{
@ -69,6 +73,10 @@ var flagNames_s390x = map[uint64]string{
HWCAP_S390_VXRS_PDE: "VXP",
HWCAP_S390_SORT: "SORT",
HWCAP_S390_DFLT: "DFLT",
HWCAP_NR_VXRS_PDE2: "VXP2",
HWCAP_NR_NNPA: "NNPA",
HWCAP_NR_PCI_MIO: "PCIMIO",
HWCAP_NR_SIE: "SIE",
}
func getCpuidFlags() []string {