libutil: Add machine type definition for machines 9175 and 9176

Add machine type definition for machines 9175 and 9176.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Reviewed-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Suggested-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Thomas Richter
2025-04-09 08:52:21 +02:00
committed by Jan Höppner
parent a9eb80b1a2
commit b3db52fd16
2 changed files with 5 additions and 0 deletions

View File

@@ -28,6 +28,8 @@ enum util_arch_machine_type {
UTIL_ARCH_MACHINE_TYPE_Z15_T02 = 8562,
UTIL_ARCH_MACHINE_TYPE_Z16 = 3931,
UTIL_ARCH_MACHINE_TYPE_Z16_A02 = 3932,
UTIL_ARCH_MACHINE_TYPE_Z17 = 9175,
UTIL_ARCH_MACHINE_TYPE_Z17_2 = 9176,
};
int util_arch_machine_type(void);

View File

@@ -97,6 +97,9 @@ const char *util_arch_machine_type_to_str(int type)
case UTIL_ARCH_MACHINE_TYPE_Z16:
case UTIL_ARCH_MACHINE_TYPE_Z16_A02:
return "IBM z16";
case UTIL_ARCH_MACHINE_TYPE_Z17:
case UTIL_ARCH_MACHINE_TYPE_Z17_2:
return "IBM z17";
default:
return "Unknown machine type";
}