Linux PCI subsystem development
 help / color / mirror / Atom feed
From: Bjorn Helgaas <helgaas@kernel.org>
To: linux-pci@vger.kernel.org
Cc: "Denis Benato" <benato.denis96@gmail.com>,
	"Mario Limonciello" <mario.limonciello@amd.com>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	"Yijun Shen" <Yijun_Shen@dell.com>,
	"David Perry" <david.perry@amd.com>,
	"Kai-Heng Feng" <kaihengf@nvidia.com>,
	"AceLan Kao" <acelan.kao@canonical.com>,
	"Mark Pearson" <mpearson-lenovo@squebb.ca>,
	"Merthan Karakaş" <m3rthn.k@gmail.com>,
	"Alex Deucher" <alexander.deucher@amd.com>,
	"Christian König" <christian.koenig@amd.com>,
	amd-gfx@lists.freedesktop.org
Subject: [Bug 220110] probably thunderbolt or pci leads to pci usage counter underflow
Date: Tue, 13 May 2025 14:45:06 -0500	[thread overview]
Message-ID: <20250513194506.GA1155899@bhelgaas> (raw)

From Denis's report at https://bugzilla.kernel.org/show_bug.cgi?id=220110:

> I am having problems with my laptop that has a thunderbolt
> controller to which I connected an AMD 6750XT.
> 
> The topology of my system is described in this bug:
> https://gitlab.freedesktop.org/drm/amd/-/issues/4014 yet I don't
> know if this is related or not.
> 
> I experienced PC attempting to enter s2idle while playing a YT
> video; PC has become totally unresponsive to input in any
> keyboard/mouse and power button after turning off screens attached
> to the AMD card (the built-in screen was off already).
> 
> From a look at the logs it appears one uncorrectible AER pci error
> triggered a pci root reset, and that comes with a bug where the
> usage counter assumes a wrong value; this in turn seems to cause all
> sorts of weird bugs.
> 
> That however is my interpretation of the attached log, that might be
> very wrong.
> 
> This is the first time I experience this bug in a year with this
> laptop and I don't know how easy it is to reproduce.
> 
> The kernel has been compiled from sources and it has
>
>   [PATCH v2] PCI: Explicitly put devices into D0 when initializing
>   [PATCH v4] PCI/PM: Put devices to low power state on shutdown
> 
> as I am helping testing things. I find unlikely any of those might
> cause these issues especially "PCI: Explicitly put devices into D0
> when initializing" that has been there for a few weeks now.
> 
> Thanks in advice to whoever will help me.

             reply	other threads:[~2025-05-13 19:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-13 19:45 Bjorn Helgaas [this message]
2025-05-13 19:51 ` [Bug 220110] probably thunderbolt or pci leads to pci usage counter underflow Mario Limonciello
2025-05-14 16:11   ` Denis Benato

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=20250513194506.GA1155899@bhelgaas \
    --to=helgaas@kernel.org \
    --cc=Yijun_Shen@dell.com \
    --cc=acelan.kao@canonical.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=benato.denis96@gmail.com \
    --cc=christian.koenig@amd.com \
    --cc=david.perry@amd.com \
    --cc=kaihengf@nvidia.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=m3rthn.k@gmail.com \
    --cc=mario.limonciello@amd.com \
    --cc=mpearson-lenovo@squebb.ca \
    --cc=rafael@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