You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Fedora rawhide kernel version 6.11.0-0.rc2.23.fc41.x86_64
This is a typical error
.../esmi_ib_library/src/e_smi.c: In function ‘esmi_rapl_units_hsmp_mailbox_get’:
.../esmi_ib_library/src/e_smi.c:566:27: error: ‘HSMP_GET_RAPL_UNITS’ undeclared (first use in this func
tion); did you mean ‘HSMP_GET_RAILS_SVI’?
566 | msg.msg_id = HSMP_GET_RAPL_UNITS;
| ^~~~~~~~~~~~~~~~~~~
| HSMP_GET_RAILS_SVI
amd_hsmp.h is from the kernel and has this as its hsmp_message_ids
HSMP_GET_METRIC_TABLE, /* 24h Get metrics table */
HSMP_GET_METRIC_TABLE_DRAM_ADDR,/* 25h Get metrics table dram address */
HSMP_MSG_ID_MAX,
This may have been ok if this was just a developement issue, but this has been released in esmi_so_ver-4.0
This project can not assume that the user is using the oot driver now that it part of the kernel. It's use must adapt to whatever kernel is being used. There is no obvious version in the amd_hsmp.h, likely it needs one.
The text was updated successfully, but these errors were encountered:
Hi,
Yes, we understand the problem, but as we all know, getting some changes accepted in linux kernel takes its own time. At the same time there will be some customers who want the new platform support in a short span of time, so we support them through amd_hsmp github repo. We are working on addressing this in a better way as well.
Thank you for using our library and bringing up this issue here. We will address this issue soon in a better way.
On Fedora rawhide kernel version 6.11.0-0.rc2.23.fc41.x86_64
This is a typical error
.../esmi_ib_library/src/e_smi.c: In function ‘esmi_rapl_units_hsmp_mailbox_get’:
.../esmi_ib_library/src/e_smi.c:566:27: error: ‘HSMP_GET_RAPL_UNITS’ undeclared (first use in this func
tion); did you mean ‘HSMP_GET_RAILS_SVI’?
566 | msg.msg_id = HSMP_GET_RAPL_UNITS;
| ^~~~~~~~~~~~~~~~~~~
| HSMP_GET_RAILS_SVI
amd_hsmp.h is from the kernel and has this as its hsmp_message_ids
};
HSMP_GET_RAPL_UNITS is not part of the kernel's messages, it appears to come from the oot driver here
https://github.com/amd/amd_hsmp/blob/master/amd_hsmp.h#L56
This may have been ok if this was just a developement issue, but this has been released in esmi_so_ver-4.0
This project can not assume that the user is using the oot driver now that it part of the kernel. It's use must adapt to whatever kernel is being used. There is no obvious version in the amd_hsmp.h, likely it needs one.
The text was updated successfully, but these errors were encountered: