Skip to content

arm64: dts: hi3798cv200: fix GICR size, add cache info, maintenance irq and GICH, GICV spaces

Yang Xiwen b4-sent linux-arm-kernel linux-devicetree lkml oe-kbuild-all stable 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20240218-cache-11c8bf7566c2

Versions newest first

  1. v3 Latest3 patches 9 repliesApplied
  2. v23 patches 1 replySuperseded
  3. v12 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- send patches to stable (Andrew Lunn)
- rewrite the commit logs more formally (Andrew Lunn)
- rename l2-cache0 to l2-cache (Krzysztof Kozlowski)
- Link to v2: https://lore.kernel.org/r/[email protected]

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3arm64: dts: hi3798cv200: fix the size of GICRarch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi+1 -10 replies
2/3arm64: dts: hi3798cv200: add GICH, GICV register space and irqarch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi+5 -10 replies
3/3arm64: dts: hi3798cv200: add cache infoarch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi+37 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] arm64: dts: hi3798cv200: fix GICR size, add cache info, maintenance irq and GICH, GICV spaces

The patchset fixes some warnings reported by the kernel during boot.

The cache size info is from Processor_Datasheet_v2XX.pdf [1], Section 2.2.1 Master Processor.

The cache line size and the set-associative info are from Cortex-A53 Documentation [2].

From the doc, it can be concluded that L1 i-cache is 4-way assoc, L1 d-cache is 2-way assoc and L2 cache is 16-way assoc. Calculate the dts props accordingly.

Also, to use KVM's VGIC code, GICH, GICV registers spaces and maintenance IRQ are added to the dts with verification.

[1]: https://github.com/96boards/documentation/blob/master/enterprise/poplar/hardware-docs/Processor_Datasheet_v2XX.pdf
[2]: https://developer.arm.com/documentation/ddi0500/j/Level-1-Memory-System

---
Changes in v3:
- send patches to stable (Andrew Lunn)
- rewrite the commit logs more formally (Andrew Lunn)
- rename l2-cache0 to l2-cache (Krzysztof Kozlowski)
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- arm64: dts: hi3798cv200: add GICH, GICV register spces and maintainance IRQ.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Yang Xiwen (3):

      arm64: dts: hi3798cv200: fix the size of GICR
      arm64: dts: hi3798cv200: add GICH, GICV register space and irq
      arm64: dts: hi3798cv200: add cache info
 arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 43 +++++++++++++++++++++++++-
 1 file changed, 42 insertions(+), 1 deletion(-)

---
base-commit: 8d3dea210042f54b952b481838c1e7dfc4ec751d
change-id: 20240218-cache-11c8bf7566c2

Best regards,

Signature · 1 line
Yang Xiwen <[email protected]>