Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hw-mgmt: udev rules: Add OFFLINE/ONLINE rule for SDK
SDK raises KOBJ_OFFLINE prior entering ISSU and KOBJ_ADD after exiting ISSU. Add this event to UDEV rules for removing minimal driver before ISSU is activated and UDEV for adding minimal driver after exiting ISSU. sxd_kernel: sending UDEV event from sx-core driver [bus=0000:07:00.0, action=5 (KOBJ_OFFLINE), origin='ISSU notification'] kernel: [ 3930.396462] sxd_kernel: ISSU FW DONE. kernel: [ 3930.397867] mlxsw_minimal 2-0048: HW semaphore is not released -> after ISSU FW DONE kernel: [ 3930.404402] mlxsw_minimal 2-0048: Cmd exec failed (opcode=40(ACCESS_REG),opcode_mod=0,in_mod=0,status=27(*UNKNOWN*)) Fixes: https://redmine.mellanox.com/issues/4063285 Signed-off-by: Vadim Pasternak <[email protected]>
- Loading branch information