From nobody Thu Oct 2 16:29:28 2025 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD86A3148CB for ; Mon, 15 Sep 2025 13:28:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757942937; cv=none; b=Gj/eiMmkB7G+0P5kDN1T4HvUcJ1WW5UW67+LZ3TS1T1Xl7U3g7elj9h53gr0HR4ZQWBymczdw1BR9S1Dw6lwyA9/L6MyFsKPne09UiKq18qFqZqnhQGzUA6ZPTnAjA4tc8b7Bf7j1t8ViuftXlu211S7KBw1SnDp4iNmfjK7Lfs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757942937; c=relaxed/simple; bh=ptDgOt9loL01vjXEcr2EORId3mL6P+tLCbDsLLyXacs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kvrhLeX9X/v3Porr7uw3vfqIwwjzJbkQFFzW4XT9ioTLwfAL5p+Yxazkp5qk9jm1FrMPUNOlpqsIC/HdtyEOpM9lHCtJgclvRzfpMRxc2bxzSFxN0uAwdbADTrj3xKFCHf7cPaeRXnkLsEsqDqfndxqRUDODJb4VAybTiNqsfhQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=bTyXsVyN; arc=none smtp.client-ip=209.85.221.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="bTyXsVyN" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-3e92ce28278so1306673f8f.2 for ; Mon, 15 Sep 2025 06:28:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1757942934; x=1758547734; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=h4T755BDgP/qpBojCajXbDU09SOREwS+KrCJfs0q/wk=; b=bTyXsVyND+oNO9i/ykBq0NBPMxor7uAIIGIt3xuQRmCL0RYsPaW3XMFvqzCUjW++tA Sh4drzqeUeW5f7JqBKorZa6FQb8mCvDgyMwKDv3mM5/m68WjNH6wy03lmbAQmNvE3JRy 1DKSYijOnuhWUcwv4VAuV2gRHlbml/+LvQaOCjAAKHNjA1clMmEexDLlogwsxbhSGlQG WsjlWpNo0kDN1pJgiK0DiqlxWLXX/W86RGkg0ppJTedZc/8S1Vn4fmT8Z/DluZLymQ0Y F6nxQ+/J/R3J9f3ASxUi4mUK4FL7NCS5Zx0ckUXIdHooXu/p6mII3Q7JJH0AhhSbqX1a K/jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757942934; x=1758547734; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h4T755BDgP/qpBojCajXbDU09SOREwS+KrCJfs0q/wk=; b=Mv4V3rAXJfrRWb3j9ffOvjw74OnaY1VG9SUdV8G2EN/G007TgdnuaB/iJMou6RzVlc Qe13GUO2p3Ee96Qm25whVxKrsLblM6WdnLsOUERIG9HYdrOZlqy/jM7xzSPpgCFUuteQ ESRBOEzuMOL3FqpLtftXf8jhH/ovDuS18lZZ7KyCl6g9gilabrIaPUYPeQlvu+muThhT 9swseLrZlVNJWxqNp71xtXx3SX6HUipjjO/GAVi7x64PhwDyiJVzRweSTpy3Pv8MjpIt Q+/ktyfAbboK4rRznv35+14Wn7ZojY8Enfj9wbkw1KnvDaW+SRZ+UqMniECTkkIkQfed OddQ== X-Forwarded-Encrypted: i=1; AJvYcCVpTe+CFQbphWQZtNwaG4UBn3SSsygnQs6Rd+xzR7Y/BlC0bPLS5nBJGzZLONdj54niR9XraWx5r/iU3jQ=@vger.kernel.org X-Gm-Message-State: AOJu0YxjablfUa8oaC/ii4RoqjwuxAOCB7i76qkV/Yo89iBMuUOAFIxK +zgacpAB/izQT/h+a6versxxTYxnZN2FdvDl15EWh0mVT8uG9qPpNSV21ZVaMQQqG9s= X-Gm-Gg: ASbGncsKww1UL/hSRDFoOvcBgEV+UGoYZi89QN6S32n6s5MU1qPlsZtxbSZxgbYHlE6 osBpPWpgzTAN+MLTsqLQ4zOX1ySIZASh6ol+IMaNoZMt56ZrZgZ4XyjMhVa4xrf9RG80GIbCqVw lGcqSmPJIQczluxb76yneBsyScECoromDhSdi97tfJhYW9B6DyfDetmxfcjweNp4pT/dsSIBMpB DCLIK+mbMoVHorcPnXQKLvbdWHkJymWuWuE21BbIAVrez1Jc3OGMzesZ2SbMokckJU0L9NK4wqH K2e8CqhqfH2zUSox3gVP9byr7/wgcc8v2ai6sk7tM4QboWwiyx8VR6AuLRMHNTPGcDL+JbftDDG BRZdgVO3s+HC/ENc7nTJBijJF+thOz5RXJBk= X-Google-Smtp-Source: AGHT+IF2lZ75yypIgx7ZsKIckhx/rgZnX4SN4Pv/XeHMttF8TsxMtLWww+ac24EzQYJ8nkDOc2rCrg== X-Received: by 2002:a5d:5886:0:b0:3e7:4fda:fe0c with SMTP id ffacd0b85a97d-3e7657b9f3emr11555829f8f.15.1757942934041; Mon, 15 Sep 2025 06:28:54 -0700 (PDT) Received: from [127.0.0.2] ([2a02:2454:ff21:41:eee1:5042:e713:2e9a]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3e9fd89af70sm5978874f8f.43.2025.09.15.06.28.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Sep 2025 06:28:53 -0700 (PDT) From: Stephan Gerhold Date: Mon, 15 Sep 2025 15:28:31 +0200 Subject: [PATCH 2/3] arm64: dts: qcom: msm8939: Add missing MDSS reset Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250915-msm8916-resets-v1-2-a5c705df0c45@linaro.org> References: <20250915-msm8916-resets-v1-0-a5c705df0c45@linaro.org> In-Reply-To: <20250915-msm8916-resets-v1-0-a5c705df0c45@linaro.org> To: Bjorn Andersson , Konrad Dybcio Cc: Vincent Knecht , Bryan O'Donoghue , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.2 On most MSM8939 devices, the bootloader already initializes the display to show the boot splash screen. In this situation, MDSS is already configured and left running when starting Linux. To avoid side effects from the bootloader configuration, the MDSS reset can be specified in the device tree to start again with a clean hardware state. The reset for MDSS is currently missing in msm8939.dtsi, which causes errors when the MDSS driver tries to re-initialize the registers: dsi_err_worker: status=3D6 dsi_err_worker: status=3D6 dsi_err_worker: status=3D6 ... It turns out that we have always indirectly worked around this by building the MDSS driver as a module. Before v6.17, the power domain was temporarily turned off until the module was loaded, long enough to clear the register contents. In v6.17, power domains are not turned off during boot until sync_state() happens, so this is no longer working. Even before v6.17 this resulted in broken behavior, but notably only when the MDSS driver was built-in instead of a module. Cc: stable@vger.kernel.org Fixes: 61550c6c156c ("arm64: dts: qcom: Add msm8939 SoC") Signed-off-by: Stephan Gerhold Reviewed-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8939.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8939.dtsi b/arch/arm64/boot/dts/qc= om/msm8939.dtsi index 68b92fdb996c26e7a1aadedf0f52e1afca85c4ab..eb64ec35e7f0e1c63b0b96f68d3= 0006c2e440998 100644 --- a/arch/arm64/boot/dts/qcom/msm8939.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8939.dtsi @@ -1249,6 +1249,8 @@ mdss: display-subsystem@1a00000 { =20 power-domains =3D <&gcc MDSS_GDSC>; =20 + resets =3D <&gcc GCC_MDSS_BCR>; + #address-cells =3D <1>; #size-cells =3D <1>; #interrupt-cells =3D <1>; --=20 2.50.1