linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* imx6: Question regarding warning in pci addition
@ 2021-04-06 14:15 Koen Vandeputte
  0 siblings, 0 replies; only message in thread
From: Koen Vandeputte @ 2021-04-06 14:15 UTC (permalink / raw)
  To: linux-pci

Hi all,

Pinging on this list as it might trigger someone :-)


I just started testing kernel 5.10.27 in-depth (OpenWRT master) on imx6 
hw (Gateworks GW-52xx boards).

Following warnings are now present which were not using kernel 5.4.
They seem to get printed on every device being added to the PCIe 
topology during enumeration:    (See full log)


[    1.904789] sysfs: cannot create duplicate filename 
'/devices/platform/soc/1ffc000.pcie/pci0000:00/0000:00:00.0/config'
[    1.945983] CPU: 1 PID: 7 Comm: kworker/u4:0 Not tainted 5.10.27 #0
[    1.952254] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[    1.958811] Workqueue: events_unbound async_run_entry_fn
[    1.964157] [<8010d5e0>] (unwind_backtrace) from [<801099f8>] 
(show_stack+0x10/0x14)
[    1.971917] [<801099f8>] (show_stack) from [<804a67cc>] 
(dump_stack+0x94/0xa8)
[    1.979154] [<804a67cc>] (dump_stack) from [<802fd440>] 
(sysfs_warn_dup+0x54/0x60)
[    1.986734] [<802fd440>] (sysfs_warn_dup) from [<802fd098>] 
(sysfs_add_file_mode_ns+0x15c/0x1a0)
[    1.995529] [<802fd098>] (sysfs_add_file_mode_ns) from [<802fd314>] 
(sysfs_create_bin_file+0x7c/0x84)
[    2.004768] [<802fd314>] (sysfs_create_bin_file) from [<804e55d4>] 
(pci_create_sysfs_dev_files+0x44/0x298)
[    2.014441] [<804e55d4>] (pci_create_sysfs_dev_files) from 
[<804d7248>] (pci_bus_add_device+0x20/0x84)
[    2.023757] [<804d7248>] (pci_bus_add_device) from [<804d72d8>] 
(pci_bus_add_devices+0x2c/0x70)
[    2.032465] [<804d72d8>] (pci_bus_add_devices) from [<804dabcc>] 
(pci_host_probe+0x40/0x94)
[    2.040833] [<804dabcc>] (pci_host_probe) from [<804f822c>] 
(dw_pcie_host_init+0x1c0/0x3fc)
[    2.049196] [<804f822c>] (dw_pcie_host_init) from [<804f88ec>] 
(imx6_pcie_probe+0x358/0x63c)
[    2.057648] [<804f88ec>] (imx6_pcie_probe) from [<8054710c>] 
(platform_drv_probe+0x48/0x98)
[    2.066009] [<8054710c>] (platform_drv_probe) from [<80545368>] 
(really_probe+0xfc/0x4dc)
[    2.074195] [<80545368>] (really_probe) from [<80545a28>] 
(driver_probe_device+0x5c/0xb4)
[    2.082378] [<80545a28>] (driver_probe_device) from [<80545b28>] 
(__driver_attach_async_helper+0xa8/0xac)
[    2.091963] [<80545b28>] (__driver_attach_async_helper) from 
[<8014bf48>] (async_run_entry_fn+0x44/0x108)
[    2.101546] [<8014bf48>] (async_run_entry_fn) from [<80141bbc>] 
(process_one_work+0x1d8/0x43c)
[    2.110168] [<80141bbc>] (process_one_work) from [<80141e84>] 
(worker_thread+0x64/0x5b0)
[    2.118268] [<80141e84>] (worker_thread) from [<80147708>] 
(kthread+0x148/0x14c)
[    2.125672] [<80147708>] (kthread) from [<80100148>] 
(ret_from_fork+0x14/0x2c)
[    2.132896] Exception stack(0x80c75fb0 to 0x80c75ff8)
[    2.137953] 5fa0:                                     00000000 
00000000 00000000 00000000
[    2.146136] 5fc0: 00000000 00000000 00000000 00000000 00000000 
00000000 00000000 00000000
[    2.154316] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000


Any idea what changed?


Full logs: https://pastebin.com/raw/D0NHAnbH

Thanks,

Koen


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-06 14:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-06 14:15 imx6: Question regarding warning in pci addition Koen Vandeputte

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).