[SRU][F/J:linux-bluefield][PATCH v1 0/1] UBUNTU: SAUCE: mlxbf-pmc: Fix event string typo

James Hurley jahurley at nvidia.com
Tue Dec 6 16:31:54 UTC 2022


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

SRU Justification:

[Impact]

Due to a typo, duplicate events are shown

[Fix]

* Fix event name typo.

[Test Case]

* cd /sys/class/hwmon/hwmon0/tilenetX ("X" may be 0..7)
root at localhost:/sys/class/hwmon/hwmon0/tilenet3# cat event_list | grep CRED
15: CDN_DIAG_N_OUT_OF_CRED
16: CDN_DIAG_S_OUT_OF_CRED
17: CDN_DIAG_E_OUT_OF_CRED
18: CDN_DIAG_W_OUT_OF_CRED
19: CDN_DIAG_C_OUT_OF_CRED
25: DDN_DIAG_N_OUT_OF_CRED
26: DDN_DIAG_S_OUT_OF_CRED
27: DDN_DIAG_E_OUT_OF_CRED
28: DDN_DIAG_W_OUT_OF_CRED
29: DDN_DIAG_C_OUT_OF_CRED
35: NDN_DIAG_N_OUT_OF_CRED <== Incorrectly was set to NDN_DIAG_S_OUT_OF_CRED
36: NDN_DIAG_S_OUT_OF_CRED
37: NDN_DIAG_E_OUT_OF_CRED
38: NDN_DIAG_W_OUT_OF_CRED
39: NDN_DIAG_C_OUT_OF_CRED

[Regression Potential]

* Duplicate events still get shown




More information about the kernel-team mailing list