[PATCH v16 6/9] irqchip: Add RISC-V advanced PLIC driver for direct-mode
Thomas Gleixner
tglx at linutronix.de
Tue Nov 25 08:42:09 PST 2025
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
More information about the linux-riscv
mailing list