aboutsummaryrefslogtreecommitdiff
path: root/libxz
diff options
context:
space:
mode:
authorAthira Rajeev <atrajeev@linux.vnet.ibm.com>2023-09-14 22:02:06 +0530
committerReza Arbab <arbab@linux.ibm.com>2023-09-15 12:59:35 -0500
commit91045843e3b4e25a34760273abd200b7e8234788 (patch)
tree255c2db2180d100aa408b74babce5016ee539792 /libxz
parent33233bcb7054595098dc6171ab9c4e5e2e661857 (diff)
downloadskiboot-91045843e3b4e25a34760273abd200b7e8234788.zip
skiboot-91045843e3b4e25a34760273abd200b7e8234788.tar.gz
skiboot-91045843e3b4e25a34760273abd200b7e8234788.tar.bz2
hw/imc: Update IMC PMU node names for power10
The nest IMC (In Memory Collection) Performance Monitoring Unit(PMU) node names are saved as "struct nest_pmus_struct" in the "hw/imc.c" IMC code. Not all the IMC PMUs listed in the device tree may be available. Nest IMC PMU names along with their bit values is represented in imc availability vector. This struct is used to remove the unavailable nodes by checking this vector. For power10, the imc_chip_avl_vector ie, imc availability vector ( which is a part of the IMC control block structure ), has change in mapping of units and bit positions. Hence rename the existing nest_pmus array to nest_pmus_p9 and add entry for power10 as nest_pmus_p10. Also the avl_vector has another change in bit positions 11:34. These bit positions tells the availability of Xlink/Alink/CAPI. There are total 8 links and three bit field combination says which link is available. Patch implements all these change to handle nest_pmus_p10. Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Diffstat (limited to 'libxz')
0 files changed, 0 insertions, 0 deletions