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)
Fri, Dec 6, 2:34 PM
Unknown Object (File)
Sat, Nov 30, 12:50 PM
Unknown Object (File)
Sat, Nov 30, 12:35 PM
Unknown Object (File)
Thu, Nov 28, 5:37 PM
Unknown Object (File)
Mon, Nov 25, 5:21 PM
Unknown Object (File)
Sun, Nov 24, 6:18 AM
Unknown Object (File)
Nov 22 2024, 11:08 AM
Unknown Object (File)
Nov 12 2024, 3:06 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37117
Build 34006: arc lint + arc unit