Re: [Bug 220479] New: [regression 6.16] mvebu: no pci devices detected on turris omnia

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20.08.2025 14:30, Bjorn Helgaas wrote:
> On Wed, Aug 20, 2025 at 09:08:33PM +0200, Jan Palus wrote:
> > On 20.08.2025 13:46, Bjorn Helgaas wrote:
> > > [+cc maintainers, regressions list]
> > > 
> > > Jan, thanks very much for the report and the bisection.  Could you
> > > attach the devicetree you're using to the bugzilla?
> > 
> > I guess I could dump it from running system if you'd like me to, but it's
> > an upstream one without any customizations.
> 
> It's just easier if we know exactly what you're using.  I'm not an
> mvebu user and can't guess.
> 

Just to make it clear, as stated in summary, issue concerns Turris Omnia
device for which following dts is applicable:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts?h=v6.16

> > > On Wed, Aug 20, 2025 at 05:43:39PM +0000, bugzilla-daemon@xxxxxxxxxx wrote:
> > > > https://bugzilla.kernel.org/show_bug.cgi?id=220479
> > > > 
> > > >            Summary: [regression 6.16] mvebu: no pci devices detected on
> > > >                     turris omnia
> > > >           Reporter: jpalus@xxxxxxxxxxxx
> > > > 
> > > > Booting kernel 6.16 results in no PCI devices being detected (output of `lspci`
> > > > is completely empty). Bisected to:
> > > > 
> > > > 5da3d94a23c6c1ee1f896aeeb00965eacf1d0bb3 is the first new commit
> > > > commit 5da3d94a23c6c1ee1f896aeeb00965eacf1d0bb3 (HEAD)
> > > > Author: Rob Herring (Arm) <robh@xxxxxxxxxx>
> > > > Date:   Thu Nov 7 16:32:55 2024
> > > > 
> > > >     PCI: mvebu: Use for_each_of_range() iterator for parsing "ranges"
> > > > 
> > > >     The mvebu "ranges" is a bit unusual with its own encoding of addresses,
> > > >     but it's still just normal "ranges" as far as parsing is concerned.
> > > >     Convert mvebu_get_tgt_attr() to use the for_each_of_range() iterator
> > > >     instead of open coding the parsing.
> > > > 
> > > >     Signed-off-by: Rob Herring (Arm) <robh@xxxxxxxxxx>
> > > >     Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>
> > > >     Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>
> > > >     Link: https://patch.msgid.link/20241107153255.2740610-1-robh@xxxxxxxxxx
> > > > 
> > > >  drivers/pci/controller/pci-mvebu.c | 26 +++++++++-----------------
> > > >  1 file changed, 9 insertions(+), 17 deletions(-)
> > > > 
> > > > 
> > > > kernel 6.16 logs following mesages related to PCI:
> > > > 
> > > > mvebu-pcie soc:pcie: host bridge /soc/pcie ranges:
> > > > mvebu-pcie soc:pcie:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
> > > > mvebu-pcie soc:pcie:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
> > > > mvebu-pcie soc:pcie:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
> > > > mvebu-pcie soc:pcie:      MEM 0x00f1048000..0x00f1049fff -> 0x0000048000
> > > > mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
> > > > mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
> > > > mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
> > > > mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
> > > > mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0300000000
> > > > mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0300000000
> > > > mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0400000000
> > > > mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0400000000
> > > > mvebu-pcie soc:pcie: pcie0.0: cannot get tgt/attr for mem window
> > > > mvebu-pcie soc:pcie: pcie1.0: cannot get tgt/attr for mem window
> > > > mvebu-pcie soc:pcie: pcie2.0: cannot get tgt/attr for mem window
> > > > mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00
> > > > pci_bus 0000:00: root bus resource [bus 00-ff]
> > > > pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address
> > > > [0x00080000-0x00081fff])
> > > > pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address
> > > > [0x00040000-0x00041fff])
> > > > pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address
> > > > [0x00044000-0x00045fff])
> > > > pci_bus 0000:00: root bus resource [mem 0xf1048000-0xf1049fff] (bus address
> > > > [0x00048000-0x00049fff])
> > > > pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
> > > > pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
> > > > PCI: bus0: Fast back to back transfers enabled
> > > > pci_bus 0000:00: resource 4 [mem 0xf1080000-0xf1081fff]
> > > > pci_bus 0000:00: resource 5 [mem 0xf1040000-0xf1041fff]
> > > > pci_bus 0000:00: resource 6 [mem 0xf1044000-0xf1045fff]
> > > > pci_bus 0000:00: resource 7 [mem 0xf1048000-0xf1049fff]
> > > > pci_bus 0000:00: resource 8 [mem 0xe0000000-0xe7ffffff]
> > > > pci_bus 0000:00: resource 9 [io  0x1000-0xeffff]
> > > > 
> > > > 
> > > > while kernel 6.15 logs following:
> > > > 
> > > > mvebu-pcie soc:pcie: host bridge /soc/pcie ranges:
> > > > mvebu-pcie soc:pcie:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
> > > > mvebu-pcie soc:pcie:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
> > > > mvebu-pcie soc:pcie:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
> > > > mvebu-pcie soc:pcie:      MEM 0x00f1048000..0x00f1049fff -> 0x0000048000
> > > > mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
> > > > mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
> > > > mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
> > > > mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
> > > > mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0300000000
> > > > mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0300000000
> > > > mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0400000000
> > > > mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0400000000
> > > > mvebu-pcie soc:pcie: pcie0.0: Slot power limit 10.0W
> > > > mvebu-pcie soc:pcie: pcie1.0: Slot power limit 10.0W
> > > > mvebu-pcie soc:pcie: pcie2.0: Slot power limit 10.0W
> > > > mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00
> > > > pci_bus 0000:00: root bus resource [bus 00-ff]
> > > > pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address
> > > > [0x00080000-0x00081fff])
> > > > pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address
> > > > [0x00040000-0x00041fff])
> > > > pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address
> > > > [0x00044000-0x00045fff])
> > > > pci_bus 0000:00: root bus resource [mem 0xf1048000-0xf1049fff] (bus address
> > > > [0x00048000-0x00049fff])
> > > > pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
> > > > pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
> > > > pci 0000:00:01.0: [11ab:6820] type 01 class 0x060400 PCIe Root Port
> > > > pci 0000:00:01.0: PCI bridge to [bus 00]
> > > > pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
> > > > pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
> > > > /soc/pcie/pcie@1,0: Fixed dependency cycle(s) with
> > > > /soc/pcie/pcie@1,0/interrupt-controller
> > > > pci 0000:00:02.0: [11ab:6820] type 01 class 0x060400 PCIe Root Port
> > > > pci 0000:00:02.0: PCI bridge to [bus 00]
> > > > pci 0000:00:02.0:   bridge window [io  0x0000-0x0fff]
> > > > pci 0000:00:02.0:   bridge window [mem 0x00000000-0x000fffff]
> > > > /soc/pcie/pcie@2,0: Fixed dependency cycle(s) with
> > > > /soc/pcie/pcie@2,0/interrupt-controller
> > > > pci 0000:00:03.0: [11ab:6820] type 01 class 0x060400 PCIe Root Port
> > > > pci 0000:00:03.0: PCI bridge to [bus 00]
> > > > pci 0000:00:03.0:   bridge window [io  0x0000-0x0fff]
> > > > pci 0000:00:03.0:   bridge window [mem 0x00000000-0x000fffff]
> > > > /soc/pcie/pcie@3,0: Fixed dependency cycle(s) with
> > > > /soc/pcie/pcie@3,0/interrupt-controller
> > > > PCI: bus0: Fast back to back transfers disabled
> > > > pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
> > > > pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
> > > > pci 0000:00:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring
> > > > PCI: bus1: Fast back to back transfers enabled
> > > > pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
> > > > pci 0000:02:00.0: [168c:003c] type 00 class 0x028000 PCIe Endpoint
> > > > pci 0000:02:00.0: BAR 0 [mem 0x00000000-0x001fffff 64bit]
> > > > pci 0000:02:00.0: ROM [mem 0x00000000-0x0000ffff pref]
> > > > pci 0000:02:00.0: supports D1
> > > > pci 0000:02:00.0: PME# supported from D0 D1 D3hot
> > > > pci 0000:00:02.0: ASPM: current common clock configuration is inconsistent,
> > > > reconfiguring
> > > > pci 0000:00:02.0: ASPM: Bridge does not support changing Link Speed to 2.5 GT/s
> > > > pci 0000:00:02.0: ASPM: Retrain Link at higher speed is disallowed by quirk
> > > > PCI: bus2: Fast back to back transfers disabled
> > > > pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
> > > > pci 0000:03:00.0: [168c:0033] type 00 class 0x028000 PCIe Endpoint
> > > > pci 0000:03:00.0: BAR 0 [mem 0x00000000-0x0001ffff 64bit]
> > > > pci 0000:03:00.0: ROM [mem 0x00000000-0x0000ffff pref]
> > > > pci 0000:03:00.0: supports D1
> > > > pci 0000:03:00.0: PME# supported from D0 D1 D3hot
> > > > pci 0000:00:03.0: ASPM: current common clock configuration is inconsistent,
> > > > reconfiguring
> > > > pci 0000:00:03.0: ASPM: Bridge does not support changing Link Speed to 2.5 GT/s
> > > > pci 0000:00:03.0: ASPM: Retrain Link at higher speed is disallowed by quirk
> > > > PCI: bus3: Fast back to back transfers disabled
> > > > pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03
> > > > pci 0000:00:02.0: bridge window [mem 0x00200000-0x003fffff] to [bus 02]
> > > > add_size 200000 add_align 200000
> > > > pci 0000:00:02.0: bridge window [mem 0xe0000000-0xe03fffff]: assigned
> > > > pci 0000:00:03.0: bridge window [mem 0xe0400000-0xe04fffff]: assigned
> > > > pci 0000:00:01.0: PCI bridge to [bus 01]
> > > > pci 0000:02:00.0: BAR 0 [mem 0xe0000000-0xe01fffff 64bit]: assigned
> > > > pci 0000:02:00.0: ROM [mem 0xe0200000-0xe020ffff pref]: assigned
> > > > pci 0000:00:02.0: PCI bridge to [bus 02]
> > > > pci 0000:00:02.0:   bridge window [mem 0xe0000000-0xe03fffff]
> > > > pci 0000:03:00.0: BAR 0 [mem 0xe0400000-0xe041ffff 64bit]: assigned
> > > > pci 0000:03:00.0: ROM [mem 0xe0420000-0xe042ffff pref]: assigned
> > > > pci 0000:00:03.0: PCI bridge to [bus 03]
> > > > pci 0000:00:03.0:   bridge window [mem 0xe0400000-0xe04fffff]
> > > > pci_bus 0000:00: resource 4 [mem 0xf1080000-0xf1081fff]
> > > > pci_bus 0000:00: resource 5 [mem 0xf1040000-0xf1041fff]
> > > > pci_bus 0000:00: resource 6 [mem 0xf1044000-0xf1045fff]
> > > > pci_bus 0000:00: resource 7 [mem 0xf1048000-0xf1049fff]
> > > > pci_bus 0000:00: resource 8 [mem 0xe0000000-0xe7ffffff]
> > > > pci_bus 0000:00: resource 9 [io  0x1000-0xeffff]
> > > > pci_bus 0000:02: resource 1 [mem 0xe0000000-0xe03fffff]
> > > > pci_bus 0000:03: resource 1 [mem 0xe0400000-0xe04fffff]
> > > > pcieport 0000:00:02.0: enabling device (0140 -> 0142)
> > > > pcieport 0000:00:03.0: enabling device (0140 -> 0142)
> > > 
> > > #regzbot introduced: 5da3d94a23c6 ("PCI: mvebu: Use for_each_of_range() iterator for parsing "ranges"")




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux