Bug 209729

Summary: mvebu-pcie soc:pcie: resource collision
Product: Drivers Reporter: vtolkm
Component: PCIAssignee: drivers_pci (drivers_pci)
Status: RESOLVED CODE_FIX    
Severity: high CC: bjorn
Priority: P1    
Hardware: ARM   
OS: Linux   
URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.9.y&id=49e427e6bdd19aa41c725819f53f381eaea1bf06
Kernel Version: 5.9.1 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: accumulated kernel logs for 5.4.72 and 5.8.16

Description vtolkm 2020-10-18 12:59:30 UTC
device: Turris Omnia (armv7l)

kernel log:

mvebu-pcie soc:pcie: host bridge /soc/pcie ranges:
mvebu-pcie soc:pcie: Parsing ranges property...
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: resource collision: [mem 0xf1080000-0xf1081fff] conflicts with pcie [mem 0xf1080000-0xf1081fff]
mvebu-pcie: probe of soc:pcie failed with error -16

As a result PCIe devices, e.g. WLan cards, are not working.
Comment 1 vtolkm 2020-10-18 20:17:33 UTC
Created attachment 293051 [details]
accumulated kernel logs for 5.4.72 and 5.8.16

This appears to be some regression in between the 5.8 and 5.9 branch - attached accumulated kernel logs for 5.4.72 and 5.8.16.
Comment 3 vtolkm 2020-10-24 10:53:32 UTC
patch in the works https://patchwork.ozlabs.org/project/linux-pci/patch/20201023145252.2691779-1-robh@kernel.org/ is fixing the issue. Run tested with kernel 5.9.1 and next-20201023
Comment 4 vtolkm 2020-11-05 13:04:17 UTC
patched/remedied with next-20201105

run tested ok