Re: [PATCH] i2c: piix4: Reset AMD FCH SMBus controller when HOST_BUSY is stuck

From: Mario Limonciello

Date: Tue Dec 01 2026 - 15:30:12 EST


On 12/1/26 06:54, Yannick Voßen wrote:
Mario Limonciello wrote:
I'll pose what I hope is the obvious question - why are there two
masters on the same bus in this design? And do you have full
control of the second master?

The second master is a microcontroller on our power supply module. It
is a slave to the host, but it also talks to a battery on the same
bus, so it becomes a master for those transfers. It runs our own
firmware, so yes, we have full control over it.

Is that master following the arbitration rules mentioned in the
SMBUS spec (https://www.smbus.org/specs/smbus20.pdf section 4.3.2)?

Not 100%, thanks for the pointer. We will go through the firmware and
try making it fully SMBus compliant, then run a long-term test and let you
know whether the hang still shows up.

Sounds good.


Even so, the host controller should not end up in a state it can only
leave by rebooting, even if a second master misbehaves. If our
suspicion is right, the FCH sees a collision on the bus, but instead
of aborting the transfer it stays HOST_BUSY until reboot. The patch
only adds a way to recover from that state.

Would you prefer this recovery as a quirk, e.g. DMI-matched and
limited to affected boards, instead of enabling it for all KERNCZ FCH
controllers? I'm happy to rework the patch either way.

IMO -

Let's wait until you have your microcontroller firmware fully compliant and then decide whether to adopt tech debt and what form it looks like.