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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251127-program-device-id-v1-2-31ad36beda2c@quicinc.com>
Date: Thu, 27 Nov 2025 21:00:52 +0530
From: Sushrut Shree Trivedi <sushrut.trivedi@....qualcomm.com>
To: Jingoo Han <jingoohan1@...il.com>, Manivannan Sadhasivam <mani@...nel.org>,
        Lorenzo Pieralisi <lpieralisi@...nel.org>,
        Krzysztof WilczyƄski <kwilczynski@...nel.org>,
        Rob Herring <robh@...nel.org>, Bjorn Helgaas <bhelgaas@...gle.com>,
        cros-qcom-dts-watchers@...omium.org,
        Bjorn Andersson <andersson@...nel.org>,
        Konrad Dybcio <konradybcio@...nel.org>,
        Krzysztof Kozlowski <krzk+dt@...nel.org>,
        Conor Dooley <conor+dt@...nel.org>
Cc: linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
        Sushrut Shree Trivedi <sushrut.trivedi@....qualcomm.com>
Subject: [PATCH 2/2] arm64: dts: qcom: sc7280: Add PCIe device-id

HW doesn't program the correct device-id, causing misidentification
of the controller in lspci as SM8250.

So, add correct device-id for this target.

Signed-off-by: Sushrut Shree Trivedi <sushrut.trivedi@....qualcomm.com>
---
 arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index 4b04dea57ec8..797b19e40467 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -2211,6 +2211,7 @@ pcie0: pcie@...0000 {
 			      <0 0x01c03000 0 0x1000>;
 			reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi";
 			device_type = "pci";
+			device-id = <0x012f>;
 			linux,pci-domain = <0>;
 			bus-range = <0x00 0xff>;
 			num-lanes = <1>;
@@ -2340,6 +2341,7 @@ pcie1: pcie@...8000 {
 
 			reg-names = "parf", "dbi", "elbi", "atu", "config";
 			device_type = "pci";
+			device-id = <0x012f>;
 			linux,pci-domain = <1>;
 			bus-range = <0x00 0xff>;
 			num-lanes = <2>;

-- 
2.25.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ