linux/drivers/i3c/master
Stanley Chu b9f9fbc377 i3c: master: svc: Prevent incomplete IBI transaction
[ Upstream commit 3a36273e5a ]

If no free IBI slot is available, svc_i3c_master_handle_ibi returns
immediately. This causes the STOP condition to be missed because the
EmitStop request is sent when the transfer is not complete. To resolve
this, svc_i3c_master_handle_ibi must wait for the transfer to complete
before returning.

Fixes: dd3c52846d ("i3c: master: svc: Add Silvaco I3C master driver")
Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://patch.msgid.link/20251027034715.708243-1-yschu@nuvoton.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-12-18 13:54:51 +01:00
..
mipi-i3c-hci i3c: mipi-i3c-hci-pci: Add support for Intel Wildcat Lake-U I3C 2025-11-13 15:34:06 -05:00
ast2600-i3c-master.c i3c: dw: Remove ibi_capable property 2024-07-26 14:21:29 +02:00
dw-i3c-master.c i3c: dw: Fix use-after-free in dw_i3c_master driver due to race condition 2025-02-08 09:57:50 +01:00
dw-i3c-master.h i3c: dw: Add power management support 2024-07-26 14:21:30 +02:00
i3c-master-cdns.c i3c: master: cdns: Fix use after free vulnerability in cdns_i3c_master Driver Due to Race Condition 2024-09-17 16:50:18 +02:00
Kconfig i3c: mipi-i3c-hci: Add support for MIPI I3C HCI on PCI bus 2025-02-21 14:01:23 +01:00
Makefile i3c: ast2600: Add AST2600 platform-specific driver 2023-04-28 08:19:01 +02:00
svc-i3c-master.c i3c: master: svc: Prevent incomplete IBI transaction 2025-12-18 13:54:51 +01:00