linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] MIPS: Allow using multi-cluster with a broken HCI.
@ 2025-01-23 11:01 Gregory CLEMENT
  2025-01-23 11:01 ` [PATCH v3 1/5] dt-bindings: mips: Document mti,mips-cm Gregory CLEMENT
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Gregory CLEMENT @ 2025-01-23 11:01 UTC (permalink / raw)
  To: Aleksandar Rikalo, Thomas Bogendoerfer, Jiaxun Yang, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Vladimir Kondratiev, Théo Lebrun, Tawfik Bayouk,
	Thomas Petazzoni, linux-mips, devicetree, linux-kernel,
	Gregory CLEMENT

Hello,

Some CM3.5 reports indicate that Hardware Cache Initialization is
complete, but in reality it's not the case. They also incorrectly show
that Hardware Cache Initialization is supported. Unfortunately, it is
not possible to detect this issue at runtime and the information has
to be passed by the device tree.

In this third version, I rebased on v6.13. I also addressed remarks
made by Rob and Krzysztof, and endeavored to add more explanation
about CM, explaining why we now need to represent it in the device
tree.

My initial proposal was integrated into the series set by Aleksandar
here [1]. And the series adding the CM binding was here: [2]. The
patches 1,2,3, and 5 have no dependencies while patch 4 should depend
on this series [1]. Actually, those five patches should replace
patches 10, 11, and 12.

Gregory

[1]: https://lore.kernel.org/all/20241028175935.51250-1-arikalo@gmail.com/
[2]: https://lore.kernel.org/all/20240612-cm_probe-v2-5-a5b55440563c@flygoat.com/

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
---
Changes in v3:
- Provide a more detailed explanation about the CM in the device tree binding.
- Make the reg property optional for all compatible strings.
- Use "mobileye" instead of "mti" for the eyeq6-cm compatible string.
- Address and correct the formatting issues in example and description.
- Link to v2: https://lore.kernel.org/r/20250116-cluster-hci-broken-v2-0-fc52cfb7a19e@bootlin.com

Changes in v2:
- Use compatible string instead of property
- Link to v1: https://lore.kernel.org/r/20241115-cluster-hci-broken-v1-0-00636800611d@bootlin.com

---
Gregory CLEMENT (5):
      dt-bindings: mips: Document mti,mips-cm
      dt-bindings: mips: mips-cm: Add a new compatible string for EyeQ6
      MIPS: cm: Detect CM quirks from device tree
      MIPS: CPS: Support broken HCI for multicluster
      MIPS: mobileye: dts: eyeq6h: Enable cluster support

 .../devicetree/bindings/mips/mti,mips-cm.yaml      | 57 ++++++++++++++++++++++
 arch/mips/boot/dts/mobileye/eyeq6h.dtsi            |  4 ++
 arch/mips/include/asm/mips-cm.h                    | 22 +++++++++
 arch/mips/kernel/mips-cm.c                         | 14 ++++++
 arch/mips/kernel/smp-cps.c                         |  5 +-
 5 files changed, 101 insertions(+), 1 deletion(-)
---
base-commit: 24da360081efcc12be3f346b6822a91fcb142027
change-id: 20241115-cluster-hci-broken-840a78f72aae

Best regards,
-- 
Grégory CLEMENT, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-02-21 14:05 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-23 11:01 [PATCH v3 0/5] MIPS: Allow using multi-cluster with a broken HCI Gregory CLEMENT
2025-01-23 11:01 ` [PATCH v3 1/5] dt-bindings: mips: Document mti,mips-cm Gregory CLEMENT
2025-01-27 19:09   ` Rob Herring (Arm)
2025-01-23 11:01 ` [PATCH v3 2/5] dt-bindings: mips: mips-cm: Add a new compatible string for EyeQ6 Gregory CLEMENT
2025-01-27 19:10   ` Rob Herring (Arm)
2025-01-27 21:43   ` Jiaxun Yang
2025-01-27 22:07     ` Rob Herring
2025-01-28  1:16       ` Jiaxun Yang
2025-01-28 16:23         ` Gregory CLEMENT
2025-02-21  9:37           ` Thomas Bogendoerfer
2025-02-21  9:45             ` Gregory CLEMENT
2025-01-23 11:01 ` [PATCH v3 3/5] MIPS: cm: Detect CM quirks from device tree Gregory CLEMENT
2025-01-23 11:01 ` [PATCH v3 4/5] MIPS: CPS: Support broken HCI for multicluster Gregory CLEMENT
2025-01-23 11:01 ` [PATCH v3 5/5] MIPS: mobileye: dts: eyeq6h: Enable cluster support Gregory CLEMENT
2025-02-21 14:04 ` [PATCH v3 0/5] MIPS: Allow using multi-cluster with a broken HCI Thomas Bogendoerfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).