System level CPI value
Linux® uses the system level setting for the distribution and kernel version of a Linux instance.
About this task
Write the kernel version to the attribute unless your distribution sets the correct value for you. You can read the decoded values on the HMC. On machines prior to IBM z16, some values are not available to display.
The 8-byte hexadecimal system-level value has this format:
0x<a><b><cc><dd><eeee><ff><gg><hh>
where:- <a>
- is one hexadecimal byte. Its most significant bit (Bit 0) indicates hypervisor use.
- <b>
- is one digit that indicates the distribution as follows:
- 0
- Generic Linux
- 1
- Red Hat Enterprise Linux
- 2
- SUSE Linux Enterprise Server
- 3
- Canonical Ubuntu
- 4
- Fedora
- 5
- openSUSE Leap
- 6
- Debian GNU/Linux
- 7
- Red Hat Enterprise Linux CoreOS
- <cc>
- are two digits for a distribution-specific encoding of the major version of the distribution.
- <dd>
- are two digits for a distribution-specific encoding of the minor version of the distribution.
- <eeee>
- are four digits for the patch level of the distribution.
- <ff>
- are two digits for the major version of the kernel.
- <gg>
- are two digits for the minor version of the kernel.
- <hh>
- are two digits for the stable version of the kernel.
Example
Linux kernel 4.19
displays as
# cat /etc/sysconfig/cpi/system_level
0x0000000000041300
What to do next
To make a change to the currently running system, use:
To make the setting
take effect, transfer the data to the SE.# echo 0x0000000000041305 > /sys/firmware/cpi/system_level