[PATCH v2 00/11] i3c: master: some fix and improvemnt for hotjoin

From: Frank Li
Date: Tue Aug 13 2024 - 11:15:32 EST


Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
---
Changes in v2:
- add help function at i3c: master: svc: manually emit NACK/ACK for hotjoin F
Add below new fix patch
i3c: master: svc: fix possible assignment of the same address to two devices
i3c: master: svc: wait for Manual ACK/NACK Done before next step
i3c: master: svc: use spinlock_saveirq at svc_i3c_master_ibi_work()
i3c: master: svc: need check IBIWON for dynamtica address assign

- Link to v1: https://lore.kernel.org/r/20240724-i3c_fix-v1-0-bfa500b023d6@xxxxxxx

---
Frank Li (11):
i3c: master: Remove i3c_dev_disable_ibi_locked(olddev) on device hotjoin
i3c: master: Replace hard code 2 with macro I3C_ADDR_SLOT_BITS
i3c: master: Extend address status bit to 4 and add I3C_ADDR_SLOT_EXT_INIT
i3c: master: Fix dynamic address leak when 'assigned-address' is present
i3c: master: Fix miss free init_dyn_addr at i3c_master_put_i3c_addrs()
i3c: master: svc: use repeat start when IBI WIN happens
i3c: master: svc: manually emit NACK/ACK for hotjoin
i3c: master: svc: need check IBIWON for dynamtica address assign
i3c: master: svc: use spinlock_saveirq at svc_i3c_master_ibi_work()
i3c: master: svc: wait for Manual ACK/NACK Done before next step
i3c: master: svc: fix possible assignment of the same address to two devices

drivers/i3c/master.c | 66 ++++++++++++++---------
drivers/i3c/master/svc-i3c-master.c | 102 ++++++++++++++++++++++++++----------
include/linux/i3c/master.h | 8 ++-
3 files changed, 123 insertions(+), 53 deletions(-)
---
base-commit: 41c196e567fb1ea97f68a2ffb7faab451cd90854
change-id: 20240724-i3c_fix-371bf8fa9e00

Best regards,
---
Frank Li <Frank.Li@xxxxxxx>