Re: [PATCH v7 4/5] arm64: dts: rockchip: add core dtsi for RK3562 SoC

Chukun Pan
2025-05-16T07:01:22Z

Hi,

I posted to the wrong thread before, so I resent this.
Sorry for the noise.

> <snip>
> + pcie2x1: pcie@ff500000 {
> + compatible = "rockchip,rk3562-pcie", "rockchip,rk3568-pcie";
> + bus-range = <0x0 0xff>;
> <snip>
> + interrupt-names = "sys", "pmc", "msg", "legacy", "err", "msi";

I noticed that the bsp 5.10 kernel said that pcie only has 8 MSI vectors,
[1][2] but in the bsp 6.1 kernel it changed to 32 MSI vectors [3].

The rockchip documentation also says there are only 8 MSI vectors:

[4] Page37 8.8 "RK3528/RK3562/RK3576可分配的MSI或者MSI-X总数是8个"
Translate into English: "The total number of MSI or MSI-X that
can be allocated by RK3528/RK3562/RK3576 is 8"

We noticed this when supporting rk3528, so which one is correct?

[1] https://github.com/rockchip-linux/kernel/commit/4f0c9ccc79c373aa97084b3b1ab0651ca4248227
[2] https://github.com/rockchip-linux/kernel/commit/afb85c759cfadc4051c42a9703860071a9877f2e
[3] https://github.com/coolpi-george/coolpi-kernel/commit/522b94122ec797760dcd466851250cbdfafff50f
[4] https://github.com/ArmSoM/rk3506-rkr4.2-sdk/blob/main/docs/cn/Common/PCIe/Rockchip_Developer_Guide_PCIe_CN.pdf

Thanks,
Chukun

--
2.25.1