Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: "Yannick Voßen" <Y.Vossen@beckhoff.com>
To: Mario Limonciello <superm1@kernel.org>,
	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 12:54:56 +0000	[thread overview]
Message-ID: <8db7978c30414489894930948e438a36@beckhoff.com> (raw)
In-Reply-To: <7a7e8d26-6f3d-4b79-ade0-f68ab447fb17@kernel.org>

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.

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.

Thanks,
Yannick



This email contains confidential information. If you have received it in error, you must not read, use, copy or pass on this e-mail or its attachments.
If you have received the e-mail in error, please inform me immediately by reply e-mail and then delete this e-mail from your system. Thank you

Diese E-Mail enthält vertrauliche Informationen. Sollten Sie sie irrtümlich erhalten haben, dürfen Sie diese E-Mail oder ihre Anhänge nicht lesen, verwenden, kopieren oder weitergeben.
Sollten Sie die Mail versehentlich erhalten haben, teilen Sie mir dies bitte umgehend per Antwort-E-Mail mit und löschen Sie diese E-Mail dann aus Ihrem System. Vielen Dank

Beckhoff Automation GmbH & Co. KG 
Managing Director: Dipl. Phys. Hans Beckhoff
Registered office: Verl, Germany 
Register court: Guetersloh HRA 7075

DisclaimerID:x9d5u140


      reply	other threads:[~2026-12-01 12:55 UTC|newest]

Thread overview: 3+ 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 [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=8db7978c30414489894930948e438a36@beckhoff.com \
    --to=y.vossen@beckhoff.com \
    --cc=Shyam-sundar.S-k@amd.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 \
    --cc=superm1@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