Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i3c: aspeed: Avoid the bus hang issue when ibi queue overflow.
This patch is modified from Aspeed Linux-v5.15 commit #d316a127. The original commit message is ``` When our i3c controller nack the IBI which isn’t existed in our DAT the ibi buffer counter (IBI Buffer Status Count) may lose the control. Consequently, the counter surpasses the tolerance level for the ibi buffer capability(16). When the controller attempts to read the IBI buffer with a counter value greater than 16, the CPU will experience a hang due to the absence of a response from the bus. This patch will clear the IBI FIFO when the IBI counter exceeds 16, and the IBI response status receives a NACK, indicating that the controller received the IBI from an address not included in the hardware DAT. ``` Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com> Change-Id: I67c5701dd44a576731de8ae7d6e48fa560d28b6b
- Loading branch information