From: Oliver Neukum <oneukum@suse.com>
To: Lukas Wunner <lukas@wunner.de>
Cc: David Yang <mmyangfl@gmail.com>, Rajat Jain <rajatja@google.com>,
Ashok Raj <ashok.raj@intel.com>,
linux-pci@vger.kernel.org,
Stuart Hayes <stuart.w.hayes@gmail.com>
Subject: Re: system generating an NMI due to 80696f991424d ("PCI: pciehp: Tolerate Presence Detect hardwired to zero")
Date: Wed, 05 Feb 2020 13:15:00 +0100 [thread overview]
Message-ID: <1580904900.9756.9.camel@suse.com> (raw)
In-Reply-To: <20200116053500.chp4rsbeflg3qrdr@wunner.de>
Am Donnerstag, den 16.01.2020, 06:35 +0100 schrieb Lukas Wunner:
> [cc += Stuart]
>
> On Wed, Jan 15, 2020 at 12:24:29PM +0100, Lukas Wunner wrote:
> > On Wed, Jan 15, 2020 at 11:26:26AM +0100, Oliver Neukum wrote:
> > > I got a bug report about some systems generating an NMI and
> > > subsequently crashing bisected down to 80696f991424d.
> > > Apparently these systems do not react well to __pciehp_enable_slot
> > > while no card is present. Restoring the check to __pciehp_enable_slot()
> > > removed in 80696f991424d makes the current kernels work.
> >
> > That's odd, these systems must be setting the Data Link Layer Link Active
> > bit in the Link Status Register even though no card is present.
>
> Recent PCIe versions allow turning off in-band presence detect, in which
> case the DLLLA bit can be set even though Presence Detect is not set.
> You may be dealing with one of those systems but without full dmesg
> and lspci output this is just an educated guess.
>
> A series was submitted by Dell last year to support disabling in-band
> presence detect, but it hasn't been merged yet by Bjorn:
>
> https://lore.kernel.org/linux-pci/20191025190047.38130-1-stuart.w.hayes@gmail.com/
>
> You may want to try if that series helps.
Hi,
it has been tested and it does the job. May I ask whether you could
ack it or propose necessary changes, so that we can proceed?
Regards
Oliver
next prev parent reply other threads:[~2020-02-05 12:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-15 10:26 system generating an NMI due to 80696f991424d ("PCI: pciehp: Tolerate Presence Detect hardwired to zero") Oliver Neukum
2020-01-15 11:24 ` Lukas Wunner
2020-01-16 5:35 ` Lukas Wunner
2020-02-05 12:15 ` Oliver Neukum [this message]
2020-02-08 20:31 ` Lukas Wunner
2020-02-19 10:25 ` Oliver Neukum
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=1580904900.9756.9.camel@suse.com \
--to=oneukum@suse.com \
--cc=ashok.raj@intel.com \
--cc=linux-pci@vger.kernel.org \
--cc=lukas@wunner.de \
--cc=mmyangfl@gmail.com \
--cc=rajatja@google.com \
--cc=stuart.w.hayes@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.