mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
From: Linnaea Lavia <linnaea-von-lavia@live.com>
To: FUKAUMI Naoki <naoki@radxa.com>, Bjorn Helgaas <helgaas@kernel.org>
Cc: "linux-amlogic@lists.infradead.org"
	<linux-amlogic@lists.infradead.org>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	regressions@lists.linux.dev, Yue Wang <yue.wang@amlogic.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Kevin Hilman <khilman@baylibre.com>,
	Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
Subject: Re: PCIe probe failure on AmLogic A311D after 6.18-rc1
Date: Tue, 28 Oct 2025 02:19:13 +0800	[thread overview]
Message-ID: <DM4PR05MB102705BB2124288C68EEFDA04C7FCA@DM4PR05MB10270.namprd05.prod.outlook.com> (raw)
In-Reply-To: <665677F9F810B6C1+af6c83fd-f262-4721-b544-4336aaa83bfe@radxa.com>

On 10/27/2025 8:51 PM, FUKAUMI Naoki wrote:
> Hi Linnaea,
> 
> On 10/24/25 12:27, Linnaea Lavia wrote:
> (snip)> With the patch on 6.18-rc2 it fails later with ASPM.
>>
>> [    5.362080] [     T50] dw-pcie fc000000.pcie: error -ENXIO: IRQ index 1 not found
>> [    5.400163] [     T50] meson-pcie fc000000.pcie: host bridge /soc/ pcie@fc000000 ranges:
>> [    5.421350] [     T50] meson-pcie fc000000.pcie:       IO 0x00fc600000..0x00fc6fffff -> 0x0000000000
>> [    5.428902] [     T50] meson-pcie fc000000.pcie:      MEM 0x00fc700000..0x00fdffffff -> 0x00fc700000
>> [    5.436367] [     T50] meson-pcie fc000000.pcie: iATU: unroll T, 4 ob, 4 ib, align 64K, limit 4G
>> [    5.485658] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [    5.491449] [     T50] meson-pcie fc000000.pcie: PCIe Gen.2 x1 link up
>> [    5.512122] [     T50] meson-pcie fc000000.pcie: PCI host bridge to bus 0000:00
>> [    5.515375] [     T50] pci_bus 0000:00: root bus resource [bus 00-ff]
>> [    5.521523] [     T50] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff]
>> [    5.528847] [     T50] pci_bus 0000:00: root bus resource [mem 0xfc700000-0xfdffffff]
>> [    5.536237] [     T50] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400 PCIe Root Port
>> [    5.543415] [     T50] pci 0000:00:00.0: ROM [mem 0x00000000-0x0000ffff pref]
>> [    5.543432] [     T50] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
>> [    5.543441] [     T50] pci 0000:00:00.0:   bridge window [io 0x0000-0x0fff]
>> [    5.543448] [     T50] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
>> [    5.569461] [     T50] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff pref]
>> [    5.587641] [     T50] pci 0000:00:00.0: supports D1
>> [    5.591578] [     T50] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
>> [    5.603775] [     T50] pci 0000:01:00.0: [8086:2725] type 00 class 0x028000 PCIe Endpoint
>> [    5.614373] [     T50] pci 0000:01:00.0: BAR 0 [mem 0x00000000-0x00003fff 64bit]
>> [    5.621353] [     T50] pci 0000:01:00.0: Upstream bridge's Max Payload Size set to 128 (was 256, max 256)
>> [    5.621374] [     T50] pci 0000:01:00.0: Max Payload Size set to 128 (was 128, max 128)
>> [    5.623252] [     T50] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
>> [    5.651205] [     T50] pci 0000:01:00.0: ASPM: DT platform, enabling L0s-up L0s-dw L1 ASPM-L1.1 ASPM-L1.2 PCI-PM-L1.1 PCI-PM-L1.2
>> [    5.664912] [     T50] pci 0000:01:00.0: ASPM: DT platform, enabling ClockPM
>> [    5.706596] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [    5.748181] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [    5.796864] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [    5.798178] [     T50] pci 0000:00:00.0: bridge window [mem 0xfc700000-0xfc7fffff]: assigned
>> [    5.806100] [     T50] pci 0000:00:00.0: ROM [mem 0xfc800000-0xfc80ffff pref]: assigned
>> [    5.806382] [     T50] pci 0000:01:00.0: BAR 0 [mem 0xfc700000-0xfc703fff 64bit]: assigned
>> [    5.863079] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [    5.904553] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [    5.946013] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [    5.987492] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [    5.987517] [     T50] pci 0000:01:00.0: BAR 0: error updating (0xfc700004 != 0xffffffff)
>> [    6.028979] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [    6.080320] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [    6.081421] [     T50] pci 0000:01:00.0: BAR 0: error updating (high 0x00000000 != 0xffffffff)
>> [    6.131210] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [    6.132324] [     T50] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
>> [    6.138215] [     T50] pci 0000:00:00.0:   bridge window [mem 0xfc700000-0xfc7fffff]
>> [    6.145683] [     T50] pci_bus 0000:00: resource 4 [io  0x0000-0xfffff]
>> [    6.151953] [     T50] pci_bus 0000:00: resource 5 [mem 0xfc700000-0xfdffffff]
>> [    6.165037] [     T50] pci_bus 0000:01: resource 1 [mem 0xfc700000-0xfc7fffff]
>> [    6.165782] [     T50] pcieport 0000:00:00.0: PME: Signaling with IRQ 25
>> [    6.181556] [     T50] pcieport 0000:00:00.0: AER: enabled with IRQ 25
>> [   11.500464] [    T491] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [   11.543334] [    T491] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [   11.544875] [    T491] iwlwifi 0000:01:00.0: of_irq_parse_pci: failed with rc=134
>> [   11.593524] [    T491] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [   11.636355] [    T491] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [   11.680033] [    T491] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [   11.721230] [    T491] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [   11.722728] [    T491] iwlwifi 0000:01:00.0: Unable to change power state from D3cold to D0, device inaccessible
>> [   11.773976] [    T491] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [   11.816771] [    T491] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [   11.859334] [    T491] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [   11.901868] [    T491] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [   11.944393] [    T491] meson-pcie fc000000.pcie: error: wait linkup timeout
>> [   11.945931] [    T491] iwlwifi 0000:01:00.0: HW_REV=0xFFFFFFFF, PCI issues?
>> [   11.952685] [    T491] iwlwifi 0000:01:00.0: probe with driver iwlwifi failed with error -5
>>
>> Booting with the patch and pcie_aspm=off made the PCIe card work again.(snip)
> 
> Regarding the ASPM issue, could you try v6.18-rc3 (in addition to your changes)?
> 
> https://patchwork.kernel.org/project/linux-pci/patch/20251023180645.1304701-1-helgaas@kernel.org/

On 6.18-rc3 with the change the link does not come up without pcie_aspm=off.

[    0.000000] [      T0] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] [      T0] Linux version 6.18.0-rc3 (geeko@buildhost) (gcc (SUSE Linux) 15.1.1 20250714, GNU ld (GNU Binutils; SUSE Linux 16) 2.43.1.20241209-160000.2) #1 SMP PREEMPT_DYNAMIC Mon Oct 27 00:28:53 UTC 2025 (25c11a7)
[    0.000000] [      T0] KASLR enabled
[    0.000000] [      T0] Machine model: Khadas VIM3
[    0.000000] [      T0] efi: EFI v2.10 by Das U-Boot
(...snip...)
[    5.352599] [     T50] dw-pcie fc000000.pcie: error -ENXIO: IRQ index 1 not found
[    5.396341] [     T50] meson-pcie fc000000.pcie: host bridge /soc/pcie@fc000000 ranges:
[    5.398529] [     T50] meson-pcie fc000000.pcie:       IO 0x00fc600000..0x00fc6fffff -> 0x0000000000
[    5.418773] [     T50] meson-pcie fc000000.pcie:      MEM 0x00fc700000..0x00fdffffff -> 0x00fc700000
[    5.425683] [     T50] meson-pcie fc000000.pcie: iATU: unroll T, 4 ob, 4 ib, align 64K, limit 4G
[    5.474722] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
[    5.480590] [     T50] meson-pcie fc000000.pcie: PCIe Gen.2 x1 link up
[    5.484394] [     T50] meson-pcie fc000000.pcie: PCI host bridge to bus 0000:00
[    5.490965] [     T50] pci_bus 0000:00: root bus resource [bus 00-ff]
[    5.498755] [     T50] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff]
[    5.504874] [     T50] pci_bus 0000:00: root bus resource [mem 0xfc700000-0xfdffffff]
[    5.511625] [     T50] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400 PCIe Root Port
[    5.518768] [     T50] pci 0000:00:00.0: ROM [mem 0x00000000-0x0000ffff pref]
[    5.525573] [     T50] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    5.531506] [     T50] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    5.538287] [     T50] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    5.545718] [     T50] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    5.553588] [     T50] pci 0000:00:00.0: supports D1
[    5.566793] [     T50] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[    5.578507] [     T50] pci 0000:01:00.0: [8086:2725] type 00 class 0x028000 PCIe Endpoint
[    5.587460] [     T50] pci 0000:01:00.0: BAR 0 [mem 0x00000000-0x00003fff 64bit]
[    5.605768] [     T50] pci 0000:01:00.0: Upstream bridge's Max Payload Size set to 128 (was 256, max 256)
[    5.633594] [     T50] pci 0000:01:00.0: Max Payload Size set to 128 (was 128, max 128)
[    5.637380] [     T50] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    5.656009] [     T50] pci 0000:01:00.0: ASPM: default states L1
[    5.701063] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
[    5.702251] [     T50] pci 0000:00:00.0: bridge window [mem 0xfc700000-0xfc7fffff]: assigned
[    5.710285] [     T50] pci 0000:00:00.0: ROM [mem 0xfc800000-0xfc80ffff pref]: assigned
[    5.724147] [     T50] pci 0000:01:00.0: BAR 0 [mem 0xfc700000-0xfc703fff 64bit]: assigned
[    5.779528] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
[    5.822074] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
[    5.864902] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
[    5.907448] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
[    5.908544] [     T50] pci 0000:01:00.0: BAR 0: error updating (0xfc700004 != 0xffffffff)
[    5.957865] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
[    6.000358] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
[    6.001437] [     T50] pci 0000:01:00.0: BAR 0: error updating (high 0x00000000 != 0xffffffff)
[    6.051178] [     T50] meson-pcie fc000000.pcie: error: wait linkup timeout
[    6.052267] [     T50] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    6.058144] [     T50] pci 0000:00:00.0:   bridge window [mem 0xfc700000-0xfc7fffff]
[    6.069323] [     T50] pci_bus 0000:00: resource 4 [io  0x0000-0xfffff]
[    6.069333] [     T50] pci_bus 0000:00: resource 5 [mem 0xfc700000-0xfdffffff]
[    6.069341] [     T50] pci_bus 0000:01: resource 1 [mem 0xfc700000-0xfc7fffff]
[    6.081804] [     T50] pcieport 0000:00:00.0: PME: Signaling with IRQ 24
[    6.095413] [     T50] pcieport 0000:00:00.0: AER: enabled with IRQ 24
(...snip...)
[   11.750786] [    T518] meson-pcie fc000000.pcie: error: wait linkup timeout
[   11.793509] [    T518] meson-pcie fc000000.pcie: error: wait linkup timeout
[   11.795130] [    T518] iwlwifi 0000:01:00.0: of_irq_parse_pci: failed with rc=134
[   11.843840] [    T518] meson-pcie fc000000.pcie: error: wait linkup timeout
[   11.885754] [    T518] meson-pcie fc000000.pcie: error: wait linkup timeout
[   11.930959] [    T518] meson-pcie fc000000.pcie: error: wait linkup timeout
[   11.973534] [    T518] meson-pcie fc000000.pcie: error: wait linkup timeout
[   11.975045] [    T518] iwlwifi 0000:01:00.0: Unable to change power state from D3cold to D0, device inaccessible
[   12.026031] [    T518] meson-pcie fc000000.pcie: error: wait linkup timeout
[   12.068751] [    T518] meson-pcie fc000000.pcie: error: wait linkup timeout
[   12.117585] [    T518] meson-pcie fc000000.pcie: error: wait linkup timeout
[   12.158754] [    T518] meson-pcie fc000000.pcie: error: wait linkup timeout
[   12.226957] [    T518] meson-pcie fc000000.pcie: error: wait linkup timeout
[   12.228454] [    T518] iwlwifi 0000:01:00.0: HW_REV=0xFFFFFFFF, PCI issues?
[   12.235248] [    T518] iwlwifi 0000:01:00.0: probe with driver iwlwifi failed with error -5

> 
> Best regards,
> 
> -- 
> FUKAUMI Naoki
> Radxa Computer (Shenzhen) Co., Ltd.


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

  reply	other threads:[~2025-10-27 18:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-23 11:33 Linnaea Lavia
2025-10-23 16:42 ` Bjorn Helgaas
2025-10-24  3:27   ` Linnaea Lavia
2025-10-27 12:51     ` FUKAUMI Naoki
2025-10-27 18:19       ` Linnaea Lavia [this message]
2025-10-28 22:16         ` Bjorn Helgaas
2025-10-29 10:50           ` Linnaea Lavia
2025-10-29 17:15             ` Bjorn Helgaas
2025-10-31  5:34               ` Linnaea Lavia
2025-10-31  8:50                 ` Neil Armstrong
2025-10-31 12:26                   ` Linnaea Lavia
2025-10-31 16:13                     ` Bjorn Helgaas
2025-10-31 17:47                       ` Manivannan Sadhasivam
2025-11-01  2:26                         ` Linnaea Lavia
2025-11-01  2:23                       ` Linnaea Lavia
2025-11-03  9:51                       ` Neil Armstrong
2025-10-30 22:34   ` Bjorn Helgaas

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=DM4PR05MB102705BB2124288C68EEFDA04C7FCA@DM4PR05MB10270.namprd05.prod.outlook.com \
    --to=linnaea-von-lavia@live.com \
    --cc=helgaas@kernel.org \
    --cc=khilman@baylibre.com \
    --cc=krishna.chundru@oss.qualcomm.com \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=naoki@radxa.com \
    --cc=neil.armstrong@linaro.org \
    --cc=regressions@lists.linux.dev \
    --cc=yue.wang@amlogic.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®