diff options
| author | Leon Romanovsky <leonro@nvidia.com> | 2026-07-13 07:41:25 -0400 |
|---|---|---|
| committer | Leon Romanovsky <leonro@nvidia.com> | 2026-07-13 07:41:25 -0400 |
| commit | bb18740b302f6f222ce3d5a7e5c45a52a90df805 (patch) | |
| tree | e08f15584194051864aa90bf9ccea963dab8e19c /tools/perf/scripts/python | |
| parent | 9bab31776ae60a1172f4405d792046c93bb7e93a (diff) | |
RDMA/hfi1: Initialize debugfs after probe completes
Commit ed6f653fe430 ("staging/rdma/hfi1: Fix debugfs access race") moved
debugfs creation after device initialization and IB registration so users
cannot access the files before the driver is ready. However, init_one()
still creates them before character device creation and SDMA startup
finish.
Move hfi1_dbg_ibdev_init() to the end of the successful probe path,
matching hfi1_dbg_ibdev_exit() as the first action in remove_one().
Fixes: ed6f653fe430 ("staging/rdma/hfi1: Fix debugfs access race")
Link: https://patch.msgid.link/20260708-clean-init-one-hfi1-v1-12-b9e9641268a5@nvidia.com
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
