Devicetree
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: qcom: Add X1P64100 dtsi with fused-off cores removed
@ 2026-12-06 14:28 Dale Whinham
  2026-12-06 14:39 ` sashiko-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Dale Whinham @ 2026-12-06 14:28 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Dale Whinham

X1P64100 is a 10-core binning of hamoa: the last core of clusters 1 and
2 (MPIDR 0x10300 and 0x20300) is fused off. The Surface Pro 11 LCD MADT
marks these two GICC entries as disabled, and booting them via PSCI
fails:

  psci: failed to boot CPU7 (-22)
  psci: failed to boot CPU11 (-22)

They also show up in the cpufreq policies' related_cpus.

Add an x1p64100.dtsi on top of hamoa.dtsi that drops cpu7, cpu11, their
idle power domains and their cpu-map entries, and use it for the
Surface Pro 11 LCD. Label the two cpu-map entries in hamoa.dtsi so they
can be deleted by reference.

Signed-off-by: Dale Whinham <daleyo@gmail.com>
---
Changes in v2:
- Label the cpu-map core nodes in hamoa.dtsi and delete them by
  reference instead of by path (Konrad)
- Link to v1: https://patch.msgid.link/20261121-sp11-x1p-10core-v1-1-5fed8ce846c7@gmail.com
---
 arch/arm64/boot/dts/qcom/hamoa.dtsi                    |  4 ++--
 arch/arm64/boot/dts/qcom/x1p64100-microsoft-denali.dts |  2 +-
 arch/arm64/boot/dts/qcom/x1p64100.dtsi                 | 14 ++++++++++++++
 3 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/hamoa.dtsi b/arch/arm64/boot/dts/qcom/hamoa.dtsi
index 48f47aa6ba3c..02e1e2c80c3d 100644
--- a/arch/arm64/boot/dts/qcom/hamoa.dtsi
+++ b/arch/arm64/boot/dts/qcom/hamoa.dtsi
@@ -250,7 +250,7 @@ core2 {
 					cpu = <&cpu6>;
 				};
 
-				core3 {
+				cpu_map_cpu7: core3 {
 					cpu = <&cpu7>;
 				};
 			};
@@ -268,7 +268,7 @@ core2 {
 					cpu = <&cpu10>;
 				};
 
-				core3 {
+				cpu_map_cpu11: core3 {
 					cpu = <&cpu11>;
 				};
 			};
diff --git a/arch/arm64/boot/dts/qcom/x1p64100-microsoft-denali.dts b/arch/arm64/boot/dts/qcom/x1p64100-microsoft-denali.dts
index d96202e2afc6..cbe2c1a4adc8 100644
--- a/arch/arm64/boot/dts/qcom/x1p64100-microsoft-denali.dts
+++ b/arch/arm64/boot/dts/qcom/x1p64100-microsoft-denali.dts
@@ -5,7 +5,7 @@
 
 /dts-v1/;
 
-#include "hamoa.dtsi"
+#include "x1p64100.dtsi"
 #include "x1-microsoft-denali.dtsi"
 
 / {
diff --git a/arch/arm64/boot/dts/qcom/x1p64100.dtsi b/arch/arm64/boot/dts/qcom/x1p64100.dtsi
new file mode 100644
index 000000000000..6f3ffdcaf246
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/x1p64100.dtsi
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2026 Dale Whinham <daleyo@gmail.com>
+ */
+
+/* X1P64100 is a binned hamoa with the last core of clusters 1 and 2 fused off */
+#include "hamoa.dtsi"
+
+/delete-node/ &cpu_map_cpu7;
+/delete-node/ &cpu_map_cpu11;
+/delete-node/ &cpu7;
+/delete-node/ &cpu11;
+/delete-node/ &cpu_pd7;
+/delete-node/ &cpu_pd11;

---
base-commit: aebb7274476403040d582c61478df8f4a7bf9cd3
change-id: 20261121-sp11-x1p-10core-ece30a046de5

Best regards,
--  
Dale Whinham <daleyo@gmail.com>


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

end of thread, other threads:[~2026-12-06 14:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-06 14:28 [PATCH v2] arm64: dts: qcom: Add X1P64100 dtsi with fused-off cores removed Dale Whinham
2026-12-06 14:39 ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox