Thread (30 messages) 30 messages, 4 authors, 2025-12-02

Re: [PATCH v7 08/17] ACPI: pci_link: Clear the dependencies after probe

From: Sunil V L <sunilvl@ventanamicro.com>
Date: 2025-12-02 04:28:26
Also in: linux-pci, linux-riscv, lkml

On Mon, Dec 01, 2025 at 10:12:29PM +0800, huyuye wrote:
quoted
Hi, sunilvl
quoted
Based on the above patch, I understand that you previously >resolved dependencies between Link devices and PCI Host Bridges by >calling acpi_dev_clear_dependencies(device). I would like to ask: >on RISC‑V platforms, if we need to manage dependencies between >multiple PCI Host Bridges, could this be addressed by adding a >call to acpi_dev_clear_dependencies(device) at the end of the >acpi_pci_root_add enumeration function?
quoted
Initialization order dependencies can be defined via the ACPI >_DEP method in the DSDT. For example, if host bridge B depends on >host bridge A, bridge B should not be enumerated until bridge A is >fully initialized.
quoted
Yes, that should work.
Regards,
Sunil
Hi,Sunil

I'm truly honored by your affirmation of my answer.Do you think this solution has a chance of being accepted into the upstream kernel? Are there any unintended side effects we may have overlooked?
Acceptance of this solution depends on the PCI/ACPI maintainers. To help
them evaluate it, you should clearly describe why your platform requires
this dependency in the patch.

Regards
Sunil
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help