From: Mario Limonciello <superm1@kernel.org>
To: "Yannick Voßen" <Y.Vossen@beckhoff.com>,
"Jean Delvare" <jdelvare@suse.com>,
"Andi Shyti" <andi.shyti@kernel.org>
Cc: "linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Shyam Sundar S K <Shyam-sundar.S-k@amd.com>,
"stable@vger.kernel.org" <stable@vger.kernel.org>
Subject: Re: [PATCH] i2c: piix4: Reset AMD FCH SMBus controller when HOST_BUSY is stuck
Date: Tue, 1 Dec 2026 14:30:06 -0600 [thread overview]
Message-ID: <bbf6a96c-eab8-4902-883c-08ce9eeda47c@kernel.org> (raw)
In-Reply-To: <8db7978c30414489894930948e438a36@beckhoff.com>
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.
prev parent reply other threads:[~2026-12-01 20:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 14:07 [PATCH] i2c: piix4: Reset AMD FCH SMBus controller when HOST_BUSY is stuck Yannick Voßen via B4 Relay
2026-11-30 16:04 ` Mario Limonciello
2026-12-01 12:54 ` Yannick Voßen
2026-12-01 20:30 ` Mario Limonciello [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bbf6a96c-eab8-4902-883c-08ce9eeda47c@kernel.org \
--to=superm1@kernel.org \
--cc=Shyam-sundar.S-k@amd.com \
--cc=Y.Vossen@beckhoff.com \
--cc=andi.shyti@kernel.org \
--cc=jdelvare@suse.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox