[SRU][J/N:linux-bluefield][PATCH v1 0/1] mlxbf_pka: fix modprobe/rmmod and IO resource conflicts
Ron Li
xiangrongl at nvidia.com
Thu Jan 15 15:54:37 UTC 2026
BugLink: https://bugs.launchpad.net/bugs/2138411
SRU Justification:
[Impact]
In the existing PKA driver implementation, the PKA module cannot be removed cleanly during runtime. As a result, running modprobe/insmod after rmmod will trigger error. This means once the PKA module is removed, it cannot be reinstalled without a system reboot.
[Fix]
Use device safe API to handle memory region request and make sure the driver unregister path is clean.
[Test Case]
- Verify the PKA module can be successfully reinstalled by running modprobe/insmod and rmmod repeatedly.
- Verify the PKA module functionality when the PKA module is installed.
[Other]
* This code is likely to change depending on feedback we received from maintainers.
Ron Li (1):
UBUNTU: SAUCE: mlxbf_pka: fix modprobe/rmmod and IO resource conflicts
.../mellanox/mlxbf_pka/mlxbf_pka_dev.c | 13 ++++---
.../mellanox/mlxbf_pka/mlxbf_pka_dev.h | 6 ++-
.../mellanox/mlxbf_pka/mlxbf_pka_drv.c | 37 +++++++++++++++++--
3 files changed, 44 insertions(+), 12 deletions(-)
--
2.43.0
More information about the kernel-team
mailing list