Linux PCI subsystem development
 help / color / mirror / Atom feed
From: Bjorn Helgaas <helgaas@kernel.org>
To: Daniel Gomez <daniel@qtec.com>
Cc: "Deucher, Alexander" <Alexander.Deucher@amd.com>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	"Koenig, Christian" <Christian.Koenig@amd.com>
Subject: Re: PCI/MSI: kernel NULL pointer dereference
Date: Wed, 14 Sep 2022 11:19:42 -0500	[thread overview]
Message-ID: <20220914161942.GA686189@bhelgaas> (raw)
In-Reply-To: <CAH1Ww+TydyHo+CADnX2Rn8XfDd9coSZj03hxNfCwMg4t1qP+bw@mail.gmail.com>

On Thu, Sep 08, 2022 at 04:30:28PM +0200, Daniel Gomez wrote:
> On Thu, 8 Sept 2022 at 15:44, Deucher, Alexander
> <Alexander.Deucher@amd.com> wrote:
> > > -----Original Message-----
> > > From: Bjorn Helgaas <helgaas@kernel.org>
> > > Sent: Thursday, September 8, 2022 8:13 AM
> > > To: Daniel Gomez <daniel@qtec.com>
> > > Cc: linux-pci@vger.kernel.org; Thomas Gleixner <tglx@linutronix.de>;
> > > Deucher, Alexander <Alexander.Deucher@amd.com>; Koenig, Christian
> > > <Christian.Koenig@amd.com>
> > > Subject: Re: PCI/MSI: kernel NULL pointer dereference
> > >
> > > On Thu, Sep 08, 2022 at 12:41:00PM +0200, Daniel Gomez wrote:
> > > > Hi,
> > > >
> > > > I have the following error whenever I remove the fglrx module from the
> > > > latest 6.0-rc4.
> > >
> > > You bisected to 93296cd1325d; I don't see a commit with a "Fixes:"
> > > that references that.  If you can reproduce this with an in-tree driver, we can
> > > certainly fix it, but it's harder for an out-of-tree driver.
> I understand, thanks. I tried with radeon but rmmod it is not possible
> once it's loaded.

A brute-force way to debug this would be to add logging to entry
points in msi.c so you can see what MSI-related interfaces fglrx uses
and in what order.  Then you may be able to make a trivial module that
does something similar that we could use as a test case so we could
duplicate the failure and verify a fix.

Bjorn

      reply	other threads:[~2022-09-14 16:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-08 10:41 PCI/MSI: kernel NULL pointer dereference Daniel Gomez
2022-09-08 12:12 ` Bjorn Helgaas
2022-09-08 13:44   ` Deucher, Alexander
2022-09-08 14:30     ` Daniel Gomez
2022-09-14 16:19       ` Bjorn Helgaas [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=20220914161942.GA686189@bhelgaas \
    --to=helgaas@kernel.org \
    --cc=Alexander.Deucher@amd.com \
    --cc=Christian.Koenig@amd.com \
    --cc=daniel@qtec.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /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