mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Leonardo Costa <leoreis.costa@gmail.com>
To: ryanmatthews@fastmail.com, hongxing.zhu@nxp.com,
	bhelgaas@google.com, linux-pci@vger.kernel.org,
	linux-imx@nxp.com
Cc: francesco@dolcini.it, achill@achill.org,
	akpm@linux-foundation.org, broonie@kernel.org, conor@kernel.org,
	f.fainelli@gmail.com, gregkh@linuxfoundation.org,
	hargar@microsoft.com, jonathanh@nvidia.com,
	linux-kernel@vger.kernel.org, linux@roeck-us.net,
	lkft-triage@lists.linaro.org, patches@kernelci.org,
	patches@lists.linux.dev, pavel@nabladev.com, rwarsow@gmx.de,
	shuah@kernel.org, sr@sladewatkins.com, stable@vger.kernel.org,
	sudipm.mukherjee@gmail.com, torvalds@linux-foundation.org
Subject: Re: [PATCH 6.6 000/508] 6.6.141-rc1 review
Date: Tue, 26 May 2026 15:05:37 -0300	[thread overview]
Message-ID: <20260526180537.21223-1-leoreis.costa@gmail.com> (raw)
In-Reply-To: <20260521052241.GA8766@francesco-nb>

Hello all,

> 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'
> kern  :warn  : [    0.593875] CPU: 1 PID: 28 Comm: kworker/u5:1 Not tainted 6.6.141-rc1-7.7.0-devel #1
> kern  :warn  : [    0.593891] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
> kern  :warn  : [    0.593904] Workqueue: events_unbound async_run_entry_fn
> kern  :warn  : [    0.593959]  unwind_backtrace from show_stack+0x10/0x14
> kern  :warn  : [    0.594004]  show_stack from dump_stack_lvl+0x40/0x4c
> kern  :warn  : [    0.594040]  dump_stack_lvl from sysfs_warn_dup+0x58/0x64
> kern  :warn  : [    0.594080]  sysfs_warn_dup from sysfs_add_bin_file_mode_ns+0xbc/0xcc
> kern  :warn  : [    0.594112]  sysfs_add_bin_file_mode_ns from sysfs_create_bin_file+0xac/0xb4
> kern  :warn  : [    0.594144]  sysfs_create_bin_file from pci_create_resource_files+0x84/0x13c
> kern  :warn  : [    0.594181]  pci_create_resource_files from pci_bus_add_device+0x24/0x94
> kern  :warn  : [    0.594220]  pci_bus_add_device from pci_bus_add_devices+0x2c/0x70
> kern  :warn  : [    0.594250]  pci_bus_add_devices from pci_host_probe+0x40/0x90
> kern  :warn  : [    0.594276]  pci_host_probe from dw_pcie_host_init+0x3e4/0x614
> kern  :warn  : [    0.594309]  dw_pcie_host_init from imx6_pcie_probe+0x414/0x6ec
> kern  :warn  : [    0.594340]  imx6_pcie_probe from platform_probe+0x5c/0xb0
> kern  :warn  : [    0.594375]  platform_probe from really_probe+0xd0/0x3c8
> kern  :warn  : [    0.594415]  really_probe from __driver_probe_device+0x98/0x20c
> kern  :warn  : [    0.594448]  __driver_probe_device from driver_probe_device+0x30/0xc0
> kern  :warn  : [    0.594482]  driver_probe_device from __driver_attach_async_helper+0x50/0xd8
> kern  :warn  : [    0.594515]  __driver_attach_async_helper from async_run_entry_fn+0x30/0x144
> kern  :warn  : [    0.594548]  async_run_entry_fn from process_one_work+0x144/0x2cc
> kern  :warn  : [    0.594584]  process_one_work from worker_thread+0x18c/0x3b8
> kern  :warn  : [    0.594611]  worker_thread from kthread+0x110/0x12c
> kern  :warn  : [    0.594647]  kthread from ret_from_fork+0x14/0x28
> kern  :warn  : [    0.594670] Exception stack(0xf08edfb0 to 0xf08edff8)
> kern  :warn  : [    0.594683] dfa0:                                     00000000 00000000 00000000 00000000
> kern  :warn  : [    0.594697] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> kern  :warn  : [    0.594709] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
> kern  :info  : [    0.594873] mmc0: SDHCI controller on 2198000.mmc [2198000.mmc] using ADMA
> kern  :info  : [    0.594997] mmc1: SDHCI controller on 2190000.mmc [2190000.mmc] using ADMA
> kern  :info  : [    0.595838] pcieport 0000:00:00.0: PME: Signaling with IRQ 291
> kern  :info  : [    0.596396] pcieport 0000:00:00.0: AER: enabled with IRQ 291
> kern  :warn  : [    0.596583] sysfs: cannot create duplicate filename '/devices/platform/soc/1ffc000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/resource0'
> kern  :warn  : [    0.596598] CPU: 1 PID: 28 Comm: kworker/u5:1 Not tainted 6.6.141-rc1-7.7.0-devel #1
> kern  :warn  : [    0.596614] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
> kern  :warn  : [    0.596626] Workqueue: events_unbound async_run_entry_fn
> kern  :warn  : [    0.596659]  unwind_backtrace from show_stack+0x10/0x14
> kern  :warn  : [    0.596702]  show_stack from dump_stack_lvl+0x40/0x4c
> kern  :warn  : [    0.596738]  dump_stack_lvl from sysfs_warn_dup+0x58/0x64
> kern  :warn  : [    0.596772]  sysfs_warn_dup from sysfs_add_bin_file_mode_ns+0xbc/0xcc
> kern  :warn  : [    0.596804]  sysfs_add_bin_file_mode_ns from sysfs_create_bin_file+0xac/0xb4
> kern  :warn  : [    0.596836]  sysfs_create_bin_file from pci_create_resource_files+0x84/0x13c
> kern  :warn  : [    0.596872]  pci_create_resource_files from pci_bus_add_device+0x24/0x94
> kern  :warn  : [    0.596907]  pci_bus_add_device from pci_bus_add_devices+0x2c/0x70
> kern  :warn  : [    0.596938]  pci_bus_add_devices from pci_bus_add_devices+0x60/0x70
> kern  :warn  : [    0.596968]  pci_bus_add_devices from pci_host_probe+0x40/0x90
> kern  :warn  : [    0.596994]  pci_host_probe from dw_pcie_host_init+0x3e4/0x614
> kern  :warn  : [    0.597022]  dw_pcie_host_init from imx6_pcie_probe+0x414/0x6ec
> kern  :warn  : [    0.597048]  imx6_pcie_probe from platform_probe+0x5c/0xb0
> kern  :warn  : [    0.597074]  platform_probe from really_probe+0xd0/0x3c8
> kern  :warn  : [    0.597105]  really_probe from __driver_probe_device+0x98/0x20c
> kern  :warn  : [    0.597138]  __driver_probe_device from driver_probe_device+0x30/0xc0
> kern  :warn  : [    0.597170]  driver_probe_device from __driver_attach_async_helper+0x50/0xd8
> kern  :warn  : [    0.597202]  __driver_attach_async_helper from async_run_entry_fn+0x30/0x144
> kern  :warn  : [    0.597232]  async_run_entry_fn from process_one_work+0x144/0x2cc
> kern  :warn  : [    0.597261]  process_one_work from worker_thread+0x18c/0x3b8
> kern  :warn  : [    0.597288]  worker_thread from kthread+0x110/0x12c
> kern  :warn  : [    0.597315]  kthread from ret_from_fork+0x14/0x28
> kern  :warn  : [    0.597335] Exception stack(0xf08edfb0 to 0xf08edff8)
> kern  :warn  : [    0.597350] dfa0:                                     00000000 00000000 00000000 00000000
> kern  :warn  : [    0.597364] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> kern  :warn  : [    0.597376] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
> kern  :info  : [    0.631336] mmc1: new high speed SDXC card at address 0001
> kern  :info  : [    0.632908] mmcblk1: mmc1:0001 SD64G 58.2 GiB
> kern  :info  : [    0.642235] fec 2188000.ethernet eth0: registered PHC device 0
> kern  :info  : [    0.643162] imx_thermal 20c8000.anatop:tempmon: Industrial CPU temperature grade - max:105C critical:105C passive:95C

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.

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

  reply	other threads:[~2026-05-26 18:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-20 16:17 Greg Kroah-Hartman
2026-05-20 19:11 ` Brett A C Sheffield
2026-05-20 20:33 ` Florian Fainelli
2026-05-21 12:55   ` Sasha Levin
2026-05-21  5:15 ` Francesco Dolcini
2026-05-21  5:22   ` Francesco Dolcini
2026-05-26 18:05     ` Leonardo Costa [this message]
2026-05-26 18:25       ` Krzysztof Wilczyński
2026-05-26 18:33         ` Krzysztof Wilczyński
2026-05-28 12:56           ` Leonardo Costa
2026-05-21  9:54 ` Pavel Machek
2026-05-21 10:36 ` Mark Brown
2026-05-21 21:57 ` Peter Schneider
2026-05-22  0:38 ` Ron Economos

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=20260526180537.21223-1-leoreis.costa@gmail.com \
    --to=leoreis.costa@gmail.com \
    --cc=achill@achill.org \
    --cc=akpm@linux-foundation.org \
    --cc=bhelgaas@google.com \
    --cc=broonie@kernel.org \
    --cc=conor@kernel.org \
    --cc=f.fainelli@gmail.com \
    --cc=francesco@dolcini.it \
    --cc=gregkh@linuxfoundation.org \
    --cc=hargar@microsoft.com \
    --cc=hongxing.zhu@nxp.com \
    --cc=jonathanh@nvidia.com \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=lkft-triage@lists.linaro.org \
    --cc=patches@kernelci.org \
    --cc=patches@lists.linux.dev \
    --cc=pavel@nabladev.com \
    --cc=rwarsow@gmx.de \
    --cc=ryanmatthews@fastmail.com \
    --cc=shuah@kernel.org \
    --cc=sr@sladewatkins.com \
    --cc=stable@vger.kernel.org \
    --cc=sudipm.mukherjee@gmail.com \
    --cc=torvalds@linux-foundation.org \
    /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®