[PATCH 1/1] riscv: dts: spacemit: Add 'linux,pci-domain' to PCIe nodes for K1

Chukun Pan amadeus at jmu.edu.cn
Fri Mar 6 20:38:06 PST 2026


Hi,

> You describe what's has been done here, but no why?

Because the PCIe boot order is random, if there are two R8125
network cards, their interface names will not be fixed.

For example:
First boot:
pcie at ca400000 -> eth2
pcie at ca800000 -> eth3

Second boot:
pcie at ca400000 -> eth3
pcie at ca800000 -> eth2

If their PCI domain numbers are fixed, I can fix the interface
names by matching /sys/devices using a script.

> Can you add description about why problem with random domain,
> and the motivation of the change behind?

Should I improve the commit messages?

Thanks,
Chukun



More information about the linux-riscv mailing list