Linux PCI subsystem development
 help / color / mirror / Atom feed
From: Sunil V L <sunilvl@ventanamicro.com>
To: Shuan He <heshuan@bytedance.com>
Cc: bhelgaas@google.com, cuiyunhui@bytedance.com,
	linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC 0/1] PCI: Fix pci devices double register WARNING in the kernel starting process
Date: Thu, 3 Jul 2025 12:05:51 +0530	[thread overview]
Message-ID: <aGYkx4a4eJUJorYp@sunil-laptop> (raw)
In-Reply-To: <20250702155112.40124-1-heshuan@bytedance.com>

On Wed, Jul 02, 2025 at 11:51:11PM +0800, Shuan He wrote:
> Hi All.
> I encountered a WARNING printed out during the kernel starting process
> on my developing environment.
> (with RISC-V arch, 6.12 kernel, and Debian 13 OS).
> 
> WARN Trace:
> [    0.518993] proc_dir_entry '000c:00/00.0' already registered
> [    0.519187] WARNING: CPU: 2 PID: 179 at fs/proc/generic.c:375 proc_register+0xf6/0x180
> [    0.519214] [<ffffffff804055a6>] proc_register+0xf6/0x180
> [    0.519217] [<ffffffff80405a9e>] proc_create_data+0x3e/0x60
> [    0.519220] [<ffffffff80616e44>] pci_proc_attach_device+0x74/0x130
> [    0.509991] [<ffffffff805f1af2>] pci_bus_add_device+0x42/0x100
> [    0.509997] [<ffffffff805f1c76>] pci_bus_add_devices+0xc6/0x110
> [    0.519230] [<ffffffff8066763c>] acpi_pci_root_add+0x54c/0x810
> [    0.519233] [<ffffffff8065d206>] acpi_bus_attach+0x196/0x2f0
> [    0.519234] [<ffffffff8065d390>] acpi_scan_clear_dep_fn+0x30/0x70
> [    0.519236] [<ffffffff800468fa>] process_one_work+0x19a/0x390
> [    0.519239] [<ffffffff80047a6e>] worker_thread+0x2be/0x420
> [    0.519241] [<ffffffff80050dc4>] kthread+0xc4/0xf0
> [    0.519243] [<ffffffff80ad6ad2>] ret_from_fork+0xe/0x1c
> 
This should not happen. I suspect some issue in ACPI namespace/_PRT. Can
you reproduce this on qemu virt machine?

Regards
Sunil


  parent reply	other threads:[~2025-07-03  6:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-02 15:51 [RFC 0/1] PCI: Fix pci devices double register WARNING in the kernel starting process Shuan He
2025-07-02 15:51 ` [PATCH] PCI: Fix pci devices double register WARN " Shuan He
2025-07-03 15:09   ` kernel test robot
2025-07-03  6:35 ` Sunil V L [this message]
2025-07-03 11:31   ` [External] Re: [RFC 0/1] PCI: Fix pci devices double register WARNING " 拴何
2025-07-03 12:48     ` Manivannan Sadhasivam
2025-07-04  7:41       ` He Shuan

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=aGYkx4a4eJUJorYp@sunil-laptop \
    --to=sunilvl@ventanamicro.com \
    --cc=bhelgaas@google.com \
    --cc=cuiyunhui@bytedance.com \
    --cc=heshuan@bytedance.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.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