Thread (24 messages) 24 messages, 7 authors, 2025-11-26

Re: [PATCH v16 6/9] irqchip: Add RISC-V advanced PLIC driver for direct-mode

From: Thomas Gleixner <hidden>
Date: 2025-11-25 16:42:13
Also in: linux-devicetree, linux-riscv, lkml

On Wed, Nov 26 2025 at 00:07, niliqiang wrote:
We've noticed that PCIe enumeration order tends to vary across system reboots (for example: first
boot showed PC08->PC06->PC10->PC07->PC11->PC09, while second boot showed
PC09->PC06->PC08->PC11->PC07->PC10), even though the ACPI firmware consistently reports the root
bridge sequence as PC06->PC07->PC08->PC09->PC10->PC11.

In our testing, we found that adjusting the registration priority of the aplic driver seems to help
ensure the interrupt controller initializes before PCI enumeration, leading to more consistent
device ordering.
You're repeating yourself over and over, but you're missing the point.

The ACPI table does not provide a sequence, it provides a collection and
it's nowhere written in stone that this collection has to be processed
in order.

If you want a sequence then put dependencies into the table and be done
with it, no?

Thanks,

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