mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dale Whinham <daleyo@gmail.com>
To: Bjorn Andersson <andersson@kernel.org>,
	 Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>,  Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	 linux-kernel@vger.kernel.org, Dale Whinham <daleyo@gmail.com>
Subject: [PATCH] arm64: dts: qcom: Add X1P64100 dtsi with fused-off cores removed
Date: Sat, 21 Nov 2026 00:36:50 +0000	[thread overview]
Message-ID: <20261121-sp11-x1p-10core-v1-1-5fed8ce846c7@gmail.com> (raw)

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.

Signed-off-by: Dale Whinham <daleyo@gmail.com>
---
 .../boot/dts/qcom/x1p64100-microsoft-denali.dts      |  2 +-
 arch/arm64/boot/dts/qcom/x1p64100.dtsi               | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)

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..ee6f2f3b6ef8
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/x1p64100.dtsi
@@ -0,0 +1,20 @@
+// 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/ &cpu7;
+/delete-node/ &cpu11;
+/delete-node/ &cpu_pd7;
+/delete-node/ &cpu_pd11;
+
+&{/cpus/cpu-map/cluster1} {
+	/delete-node/ core3;
+};
+
+&{/cpus/cpu-map/cluster2} {
+	/delete-node/ core3;
+};

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

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


             reply	other threads:[~2026-11-21  0:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-21  0:36 Dale Whinham [this message]
2026-12-02 12:28 ` Konrad Dybcio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261121-sp11-x1p-10core-v1-1-5fed8ce846c7@gmail.com \
    --to=daleyo@gmail.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®