[SRU][J:linux-bluefield][PATCH v1 0/5] mlxbf_bootctl: bring in latest upstream commits
David Thompson
davthompson at nvidia.com
Fri May 2 18:41:56 UTC 2025
BugLink: https://bugs.launchpad.net/bugs/2109804
SRU Justification:
[Impact]
The mlxbf-bootctl driver is not using the latest upstream commits.
There is a SAUCE patch in Jammy that can be reverted and replaced with upstream.
Also, there are three upstream patches that are missing from the mlxbf-bootctl
driver in Jammy.
[Fix]
1) Revert "UBUNTU: SAUCE: mlxbf-bootctl supports RTC battery status read and clear"
2) Cherry pick upstream 5d40a8577559 mlxbf-bootctl: Support sysfs entries for RTC battery status
3) Cherry pick upstream e5afa3d7a91b drivers/platform/mellanox: Convert snprintf to sysfs_emit
4) Cherry pick upstream 9886f575de5a platform/mellanox: mlxbf-bootctl: use sysfs_emit() instead of sprintf()
5) Cherry pick upstream b129005ddfc0 mlxbf-bootctl: use sysfs_emit_at() in secure_boot_fuse_state_show()
[Test Case]
Boot image on BF3 platform
Ensure mlxbf-bootctl driver is loaded [see output of "lsmod"]
Ensure no error messages or failures from mlxbf-bootctl driver [see output of "dmesg"]
Ensure no error messages in "dmesg" output related to sysfs_emit
Run "bfcfg -d" and verify all output values look correct
[Regression Potential]
Low potential for creating regression
Ai Chao (1):
platform/mellanox: mlxbf-bootctl: use sysfs_emit() instead of sprintf()
David Thompson (2):
Revert "UBUNTU: SAUCE: mlxbf-bootctl supports RTC battery status read and clear"
mlxbf-bootctl: use sysfs_emit_at() in secure_boot_fuse_state_show()
Li Zhijian (1):
drivers/platform/mellanox: Convert snprintf to sysfs_emit
Xiangrong Li (1):
mlxbf-bootctl: Support sysfs entries for RTC battery status
.../testing/sysfs-platform-mellanox-bootctl | 10 ++++++
drivers/platform/mellanox/mlxbf-bootctl.c | 34 +++++++++----------
drivers/platform/mellanox/mlxbf-bootctl.h | 2 +-
3 files changed, 28 insertions(+), 18 deletions(-)
--
2.43.2
More information about the kernel-team
mailing list