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

From: Chukun Pan

Date: Sat Mar 07 2026 - 02:01:01 EST


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@ca400000 -> eth2
pcie@ca800000 -> eth3

Second boot:
pcie@ca400000 -> eth3
pcie@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