Page MenuHomeFreeBSD

iicsmb: Request the bus recursively in bread()
ClosedPublic

Authored by allanjude on Feb 17 2021, 9:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 6, 8:09 PM
Unknown Object (File)
Mar 5 2025, 9:41 AM
Unknown Object (File)
Feb 13 2025, 6:37 AM
Unknown Object (File)
Feb 9 2025, 5:38 PM
Unknown Object (File)
Feb 4 2025, 3:38 AM
Unknown Object (File)
Jan 26 2025, 8:55 AM
Unknown Object (File)
Jan 19 2025, 12:53 PM
Unknown Object (File)
Dec 23 2024, 10:49 AM
Subscribers

Details

Summary

ipmi_ssif will smbus_request_bus() to do multiple smbus requests
(which requests the iicbus), and then here in bread() we also need to
request the bus because bread() takes multiple transactions.
This causes deadlock as it's waiting for the bus it already has without
IIC_RECURSIVE.

Sponsored by: Ampere Computing LLC

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable