Skip to content

i3c: Fix firmware node refcounting and error paths

Akhil R linux-i3c lkml sashiko-reviews stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5i3c: master: Release the fwnode of i2c boardinfodrivers/i3c/master.c+7 -13 replies
2/5i3c: master: Fix refcount of i3c fwnodedrivers/i3c/master.c+4 -21 reply
3/5i3c: master: Do not release the addresses when reattach failsdrivers/i3c/master.c+1 -31 reply
4/5i3c: dw: Do not use OF match data as a quirk bitmaskdrivers/i3c/master/dw-i3c-master.c+6 -31 reply
5/5i3c: dw: Resume the controller before unregistering the busdrivers/i3c/master/dw-i3c-master.c+12 -01 reply

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchAdrian Hunter
1/5R-b
2/5R-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] i3c: Fix firmware node refcounting and error paths

These are fixes for problems that were noticed while reviewing the ACPI and SETAASA support series.

The core fixes balance the reference counting of the firmware nodes of the boardinfo, and keep a failed reattach from releasing an address that the target may still respond to. The rest fix the quirk selection and the unbind path of the DesignWare driver.

All the patches are verified by inspection and compile testing. None of the error paths that they address were reproduced on hardware.

Akhil R (5):
i3c: master: Release the fwnode of i2c boardinfo
i3c: master: Fix refcount of i3c fwnode
i3c: master: Do not release the addresses when reattach fails
i3c: dw: Do not use OF match data as a quirk bitmask
i3c: dw: Resume the controller before unregistering the bus

 drivers/i3c/master.c               | 18 ++++++++++++------
 drivers/i3c/master/dw-i3c-master.c | 21 ++++++++++++++++++---
 2 files changed, 30 insertions(+), 9 deletions(-)
Signature · 1 line
2.43.0