LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Frederick Lawler <fred@fredlawl.com>
To: Gilles Buloz <Gilles.Buloz@kontron.com>
Cc: Bjorn Helgaas <helgaas@kernel.org>,
	Bjorn Helgaas <bhelgaas@google.com>,
	linux-pci <linux-pci@vger.kernel.org>,
	"Minghuan.Lian@nxp.com" <Minghuan.Lian@nxp.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	Ard Biesheuvel <ard.biesheuvel@linaro.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Sinan Kaya <okaya@codeaurora.org>
Subject: Re: [PATCH] PCI: Check whether bridges allow access to extended config space
Date: Wed, 9 May 2018 21:44:58 -0500	[thread overview]
Message-ID: <4d54d03c-e450-5ae2-853f-1d4fe4ed3b85@fredlawl.com> (raw)
In-Reply-To: <5AF2E91E.3030804@kontron.com>

Hi,

Gilles Buloz wrote:
> Here are full dmesg + lspci -vv + ... for the following cases :
> - 4.17-rc1_probe_failed_without_pcieaspmoff.txt : I get a broken PCI config at most boots, without pcie_aspm=off
> - 4.17-rc1_probe_ok_without_pcieaspmoff.txt : I get a correct PCI config at some boots, even without pcie_aspm=off
> - 4.17-rc1_probe_always_ok_with_pcieaspmoff.txt : I get a correct PCI config at all boots when using pcie_aspm=off
> - 4.1.35_probe_always_ok_without_pcieaspmoff.txt : I get a correct PCI config at all boots when using kernel 4.1.35-rt41 (from NXP
> Yocto BSP), even without pcie_aspm=off
> 
> I noticed these strange things :
> - with 4.17-rc1, without pcie_aspm=off, the kernel is hanging during ~1 second :
>     - before line "ASPM: Could not configure common clock" when PCI config is OK
>     - or before line "bridge configuration invalid ([bus ff-ff]), reconfiguring" when PCI config is NOT OK
>       (the FFs in "[bus ff-ff]" seems side effects of read returning ~0 because device is off)
> - no such hang when pcie_aspm=off is used
> - applying reverse patch for "PCI/ASPM: Don't warn if already in common clock mode"
>     (commit 04875177dbe034055f23960981ecf6fb8ea1d638) does not give more message

I submitted this as a bug here:
https://bugzilla.kernel.org/show_bug.cgi?id=199671

Thanks,
Fred

  reply	other threads:[~2018-05-10  2:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-04 20:06 Bjorn Helgaas
2018-05-07 21:56 ` [PATCH] PCI: Check whether bridges allow access to extended config space Bjorn Helgaas
2018-05-09 12:27   ` Gilles Buloz
2018-05-10  2:44     ` Frederick Lawler [this message]
     [not found] <20180427165627.GA8199@bhelgaas-glaptop.roam.corp.google.com>
     [not found] ` <5AE6D7E2.9030506@kontron.com>
     [not found]   ` <5AE71BF4.2010200@kontron.com>
     [not found]     ` <20180430170447.GA95643@bhelgaas-glaptop.roam.corp.google.com>
     [not found]       ` <5AE75809.30701@kontron.com>
     [not found]         ` <5AE9B5BB.2080003@kontron.com>
     [not found]           ` <20180502132501.GE11698@bhelgaas-glaptop.roam.corp.google.com>
     [not found]             ` <5AE9C1AB.8020403@kontron.com>
     [not found]               ` <20180502172341.GA123831@bhelgaas-glaptop.roam.corp.google.com>
     [not found]                 ` <5AEB033A.4060407@kontron.com>
2018-05-03 22:31                   ` Bjorn Helgaas
2018-05-04 15:45                     ` Gilles Buloz

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=4d54d03c-e450-5ae2-853f-1d4fe4ed3b85@fredlawl.com \
    --to=fred@fredlawl.com \
    --cc=Gilles.Buloz@kontron.com \
    --cc=Minghuan.Lian@nxp.com \
    --cc=ard.biesheuvel@linaro.org \
    --cc=bhelgaas@google.com \
    --cc=helgaas@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=okaya@codeaurora.org \
    --subject='Re: [PATCH] PCI: Check whether bridges allow access to extended config space' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).