public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lukas Wunner <lukas@wunner.de>
To: Bernd Schumacher <bernd@bschu.de>
Cc: Salvatore Bonaccorso <carnil@debian.org>,
	Bjorn Helgaas <bhelgaas@google.com>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Mario Limonciello <mario.limonciello@amd.com>,
	1131025@bugs.debian.org, regressions@lists.linux.dev,
	stable@vger.kernel.org, linux-pci@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [6.12.y regression] Regression with 58130e7ce6cb ("PCI/ERR: Ensure error recoverability at all times"): echo vfio-pci >driver_override does not work for DVB Adapter
Date: Tue, 31 Mar 2026 15:13:32 +0200	[thread overview]
Message-ID: <acvIfI3naoGsOpFE@wunner.de> (raw)
In-Reply-To: <acvHjo8PKdyHshSE@wunner.de>

On Tue, Mar 31, 2026 at 03:09:34PM +0200, Lukas Wunner wrote:
> Below is a small debug patch.  Could you apply that on top of v6.12.73
> (or newer) and provide me with the resulting full dmesg output?

Sorry, here's the patch:

-- >8 --

diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 963436edea1c..53c5f23b4290 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -1827,6 +1827,8 @@ int pci_save_state(struct pci_dev *dev)
 {
 	int i;
 	/* XXX: 100% dword access ok here? */
+	if (dev->bus->number == 0x07)
+		dump_stack();
 	for (i = 0; i < 16; i++) {
 		pci_read_config_dword(dev, i * 4, &dev->saved_config_space[i]);
 		pci_dbg(dev, "save config %#04x: %#010x\n",
@@ -1887,6 +1889,9 @@ static void pci_restore_config_space_range(struct pci_dev *pdev,
 
 static void pci_restore_config_space(struct pci_dev *pdev)
 {
+	if (pdev->bus->number == 0x07)
+		dump_stack();
+
 	if (pdev->hdr_type == PCI_HEADER_TYPE_NORMAL) {
 		pci_restore_config_space_range(pdev, 10, 15, 0, false);
 		/* Restore BARs before the command register. */
diff --git a/drivers/pci/setup-res.c b/drivers/pci/setup-res.c
index c6d933ddfd46..cbcf185578ac 100644
--- a/drivers/pci/setup-res.c
+++ b/drivers/pci/setup-res.c
@@ -363,6 +363,7 @@ int pci_assign_resource(struct pci_dev *dev, int resno)
 	res->flags &= ~IORESOURCE_UNSET;
 	res->flags &= ~IORESOURCE_STARTALIGN;
 	pci_info(dev, "%s %pR: assigned\n", res_name, res);
+	dump_stack();
 	if (resno < PCI_BRIDGE_RESOURCES)
 		pci_update_resource(dev, resno);
 

  reply	other threads:[~2026-03-31 13:13 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <177373189751.7987.7156982489427825197.reportbug@obelix-trixie.bs.de>
2026-03-28 13:37 ` [6.12.y regression] Regression with 58130e7ce6cb ("PCI/ERR: Ensure error recoverability at all times"): echo vfio-pci >driver_override does not work for DVB Adapter Salvatore Bonaccorso
2026-03-28 14:11   ` Lukas Wunner
2026-03-28 16:16     ` Bernd Schumacher
2026-03-28 19:14       ` Lukas Wunner
2026-03-29 13:52         ` Bernd Schumacher
2026-03-29 16:22           ` Lukas Wunner
2026-03-30  6:14             ` Bernd Schumacher
2026-03-30 13:56               ` Ilpo Järvinen
2026-03-31 13:09               ` Lukas Wunner
2026-03-31 13:13                 ` Lukas Wunner [this message]
2026-03-31 23:01                 ` Alex Williamson
2026-04-01  4:11                   ` Lukas Wunner
2026-04-01 13:10               ` Bug#1131025: " Uwe Kleine-König
2026-04-01 16:16                 ` Bernd Schumacher
2026-04-01 20:18                   ` Lukas Wunner
2026-04-02  5:53                     ` Bernd Schumacher
2026-04-03 14:58                       ` Lukas Wunner
2026-04-04  9:54                         ` Bernd Schumacher
2026-03-28 14:40   ` Thorsten Leemhuis

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=acvIfI3naoGsOpFE@wunner.de \
    --to=lukas@wunner.de \
    --cc=1131025@bugs.debian.org \
    --cc=bernd@bschu.de \
    --cc=bhelgaas@google.com \
    --cc=carnil@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=rafael@kernel.org \
    --cc=regressions@lists.linux.dev \
    --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