[SRU][J/N/P][PATCH 0/2] [UBUNTU 22.04] kernel: Fix z17 elf platform recognition (LP: #2114450)

Massimiliano Pellizzer massimiliano.pellizzer at canonical.com
Mon Jun 16 14:48:33 UTC 2025


BugLink: https://bugs.launchpad.net/bugs/2114450

[ Impact ]

Glibc arch level is not recognized correctly on IBM z17 instances.

Add detection for machine types 0x9175 and 0x9176 and set ELF platform
name to z17.

[ Fix ]

Backport the following commit from upstream:
- 8231a0e63240 s390: Add z17 elf platform

[ Test Plan ]

Boot on a z17 instance and execute:
$ LD_SHOW_AUXV=1 id | grep AT_PLATFORM

This must return z17.

[ Where Problems Could Occur ]

The fix just adds some cases on a switch statement,
the regression potential therefore is really low.

[ Other Info ]

Since Jammy was missing support also for z16 I added commit 6203ac30297847 as well.



More information about the kernel-team mailing list