lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250828-ipq5424-edl-v1-1-d6a403800023@oss.qualcomm.com>
Date: Thu, 28 Aug 2025 13:25:31 +0530
From: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@....qualcomm.com>
To: Bjorn Andersson <andersson@...nel.org>,
        Konrad Dybcio <konradybcio@...nel.org>, Rob Herring <robh@...nel.org>,
        Krzysztof Kozlowski <krzk+dt@...nel.org>,
        Conor Dooley <conor+dt@...nel.org>
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org,
        Kathiravan Thirumoorthy <kathiravan.thirumoorthy@....qualcomm.com>
Subject: [PATCH] arm64: dts: qcom: ipq5424: Add support for emergency
 download mode

Enable support for the vendor-specific SYSTEM_RESET2 reset in PSCI reboot
modes. Using "edl" as the reboot mode will reboot the device into emergency
download mode, allowing image loading via the USB interface at the Primary
Boot Loader (PBL) stage.

Signed-off-by: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@....qualcomm.com>
---
Depends-on:
https://lore.kernel.org/linux-arm-msm/20250815-arm-psci-system_reset2-vendor-reboots-v14-10-37d29f59ac9a@oss.qualcomm.com/
---
 arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts | 6 ++++++
 arch/arm64/boot/dts/qcom/ipq5424.dtsi       | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts b/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts
index 738618551203b9fb58ee3d6f7b7a46b38eea4bf4..b47b0be41a61438c922b1e29d9a2ebc37fca2d70 100644
--- a/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts
+++ b/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts
@@ -108,6 +108,12 @@ &pcie3_phy {
 	status = "okay";
 };
 
+&psci {
+	reboot-mode {
+		mode-edl = <0 0x1>;
+	};
+};
+
 &qusb_phy_0 {
 	vdd-supply = <&vreg_misc_0p925>;
 	vdda-pll-supply = <&vreg_misc_1p8>;
diff --git a/arch/arm64/boot/dts/qcom/ipq5424.dtsi b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
index 67877fbbdf3a0dcb587e696ed4241f1075000366..8f2ee755d2cc406374faf9e76b0d409d159a7b12 100644
--- a/arch/arm64/boot/dts/qcom/ipq5424.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
@@ -184,7 +184,7 @@ pmu-dsu {
 		cpus = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
 	};
 
-	psci {
+	psci: psci {
 		compatible = "arm,psci-1.0";
 		method = "smc";
 	};

---
base-commit: 8cd53fb40a304576fa86ba985f3045d5c55b0ae3
change-id: 20250828-ipq5424-edl-8c826a2af996
prerequisite-change-id: 20250709-arm-psci-system_reset2-vendor-reboots-46c80044afcf:v14
prerequisite-patch-id: 38f76a48b6b824f3fa8d8cbc05ae76b43ce79556
prerequisite-patch-id: ae7ae183210708f64fb3ff4f097de3c8af31680a
prerequisite-patch-id: 5ba323084ac74aa744696b54ff0c17d34e26b7de
prerequisite-patch-id: 3a2cedabc1bff24067dc224b2c077373c08b39a0
prerequisite-patch-id: e30b97929026120277585907cde2dc000a25a621
prerequisite-patch-id: e3ff400e6c72e835612b733b5573b01b045e7336
prerequisite-patch-id: 50e081a2a21166aee74af428934bc3b52d3cf43b
prerequisite-patch-id: a0148031385883a309dc165fac299d3eb5d4bcd4
prerequisite-patch-id: 3c0f5c0e93261f6dab1d9e7293a1a28ef64e2a66
prerequisite-patch-id: bb68380b11f9e868eacb0db9f97cc5f3ae8aa29a

Best regards,
-- 
Kathiravan Thirumoorthy <kathiravan.thirumoorthy@....qualcomm.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ