Re: [PATCH 6.6 000/508] 6.6.141-rc1 review

From: Krzysztof Wilczyński

Date: Tue May 26 2026 - 14:31:46 EST


Hello,

> > kern :info : [ 0.593597] pci 0000:01:00.0: BAR 4 [io 0x1000-0x101f]: assigned
> > kern :info : [ 0.593629] pci 0000:01:00.0: BAR 0 [io 0x1020-0x1027]: assigned
> > kern :info : [ 0.593660] pci 0000:01:00.0: BAR 2 [io 0x1028-0x102f]: assigned
> > kern :info : [ 0.593692] pci 0000:01:00.0: BAR 1 [io 0x1030-0x1033]: assigned
> > kern :info : [ 0.593722] pci 0000:01:00.0: BAR 3 [io 0x1034-0x1037]: assigned
> > kern :info : [ 0.593753] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
> > kern :info : [ 0.593767] pci 0000:00:00.0: bridge window [io 0x1000-0x1fff]
> > kern :info : [ 0.593781] pci 0000:00:00.0: bridge window [mem 0x01100000-0x011fffff]
> > kern :info : [ 0.593795] pci 0000:00:00.0: bridge window [mem 0x01200000-0x012fffff pref]
> > kern :warn : [ 0.593856] sysfs: cannot create duplicate filename '/devices/platform/soc/1ffc000.pcie/pci0000:00/0000:00:00.0/resource0'

[...]

This is a known issue you are seeing here manifesting itself. Given this
specific error message.

> This warning happens on our tests for Apalis iMX6, and seems to come from the
> imx6_pcie_probe function in the pci-imx6.c driver. We found some instances of
> this happening on as early as 6.6.129. This went unnoticed until now, we're
> not sure when this started to happen.

Sorry you are having issues with this!

When you have a moment, consider changes from the following series:

https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git/log/?h=sysfs

Test, and let us know if this fixes the problem for you.

I would appreciate if you could test this for us.

> Do you know what could be causing the duplicate file here?

The series cover letter has a bit of information about what is going on
here, and why, see:

https://lore.kernel.org/linux-pci/20260508043543.217179-1-kwilczynski@xxxxxxxxxx/#t

Hope this helps.

Thank you!

Krzysztof