From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (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 5624F12C47E for ; Fri, 10 May 2024 13:40:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715348406; cv=none; b=JPvDXRfVyPEm+RvLE4/qEuPP9VLHkfJ+m8QqjHQPd0D3g6I+QbMsMTwSSeV3zmXPhP3eojFv0kvY0H+5z3eMrFmKoNu2DDV5VZ57/tGLU0tWUgKh6apCXMD3CbGcVHiqFcJX+Zh0Jn+WMw/p1nmf8S0WcZXiYrWwNhjEv4Lw67E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715348406; c=relaxed/simple; bh=G58itSBLMxq7Hnti9OjMcpU4zbraFRoaHyfISMmS3dQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=pOrdoZ+Ysifk5IdlFTaoTtnm63ddThr4U/JxoNNMZ+3/4rE6vj3+qZB3sCpMFmotCHG90WxihXKmaLioEvMi52pOLAuE0rSPfHUJFPSeRBjnnC4XahUAyQaxMbQiG3fcKk5Agc5m4zzHmDr0B3u4ULRSAH72YbK63yLWe/lJ40k= 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=X0f6tCSf; arc=none smtp.client-ip=209.85.218.46 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="X0f6tCSf" Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a5a0013d551so234735566b.2 for ; Fri, 10 May 2024 06:40:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715348402; x=1715953202; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=Ha8fz4Wr+IwPLlSAFxnrozj260YrkxhYC7xfmynUBWM=; b=X0f6tCSfcKBxVAOAq0Qp98kKvEn/7k+bCYBm9fKN8BXzxbqGeD8Fn1kq4ID4iPIRP5 xWs0Hl+SI1IXwll8JrHLcSdAaMo5xL5Y6Ep1VUmlD5eA3+Xb4dLpASAJhyJe+Tf8FpQY 6dk9k1vwpff5i2m5/gaoTGAd/MHKEkZZ4QqWj1wKXCgcGcPuXB/ahrImtlwzXgGx81z/ s5EtRpwcsdaho71vs4NHoHcsb2O9P/B3ZGZAgDAdHpDPa4bI5orbwM6ZCbUqEL9mV87i DJzI4eOtGr47gl2Xis5kWSJ6qeaGVWUEmiFRLP03jZGa7RmZB36u8i1DDZeSpCm7yhAD iJFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715348402; x=1715953202; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Ha8fz4Wr+IwPLlSAFxnrozj260YrkxhYC7xfmynUBWM=; b=FwDlwBZ5oYggA0hfAFMzuZvTCE/fjmd+va/fMIDVR17csCpWXBrF+bWHptYAOoLQil jjBvICTL0UdCO4ywa9wkdFZ32mgmJbqMCJ+mfCD1gEPJ7Pv5OvbgDOhr7SIz3ZGDfHul bEVpuhQGogYWVf/OifmvxNNifk5EOB1+EIPx1XAsp38qqE58E9dQsE9OcManTGCcxDib 6jdP8lWoTUaZ+ja25SHkbaqxXZVx5ZZGTtkRM7EFTnGOlInPmGik1rcQi4BNcQQRYdWd r3C8cHD1n1qrh4QGOz0Y5x5Cg5zdXasNJql4M8RAyd51kBZryC2fdxcrIthHtZucPFoa emPA== X-Forwarded-Encrypted: i=1; AJvYcCU068Gg6xYnXBgvW+kbGJ0XgU4jE2TpMRDq0kdtunxihE7yBi5mi3x2mPC2gYMBgXRy0AKIUwqHOJs7fExBTvK2rn9rFDiblXb6gg== X-Gm-Message-State: AOJu0YzUFy9NG5QjzDDAj5ivWvRZ8qiChk70sL+Q2kq5oRmExfFXIdQF q0rjB+VVqWprA2oaUxBHZte8nIF+Cj4XCMi0tsPOhpFKfTWn8J17zhIMJalSZyw= X-Google-Smtp-Source: AGHT+IH6BN4juUw4T+/Txsx7VnJHBlBsO2iEOHL3CdD35k1pZqHytie913QnQod0/ipiHQMnPn3xCA== X-Received: by 2002:a50:9fc9:0:b0:570:5b70:3407 with SMTP id 4fb4d7f45d1cf-5734d5c0c84mr2419289a12.10.1715348401718; Fri, 10 May 2024 06:40:01 -0700 (PDT) Received: from [127.0.1.1] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a1781d48dsm185200866b.5.2024.05.10.06.40.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 06:40:01 -0700 (PDT) From: Konrad Dybcio Date: Fri, 10 May 2024 15:39:59 +0200 Subject: [PATCH] arm64: dts: qcom: sc8280xp: Set status = "reserved" on PSHOLD Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240510-topic-8280_off-v1-1-bcc70cda449e@linaro.org> X-B4-Tracking: v=1; b=H4sIAK4jPmYC/x3MQQqAIBBA0avErBPUkrSrRETYTM0mRSMC6e5Jy 7f4v0DGxJhhbAokvDlzOCtU24A/1nNHwVs1aKl7aZQUV4jshdVWLoFIKGU6R94M5CzUKCYkfv7 hNL/vB62AubFgAAAA To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , Steev Klimaszewski , Konrad Dybcio X-Mailer: b4 0.14-dev On most devices, TZ seems to be blocking access to the PSHOLD reboot register. This seems to be TZ, as even kicking the hypervisor doesn't seem to make it writable. Fixes: 865ff2e6f5da ("arm64: dts: qcom: sc8280xp: Add PS_HOLD restart") Reported-by: Steev Klimaszewski Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index 0549ba1fbeea..59f0a850671a 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -4623,6 +4623,8 @@ tsens0: thermal-sensor@c263000 { restart@c264000 { compatible = "qcom,pshold"; reg = <0 0x0c264000 0 0x4>; + /* TZ seems to block access */ + status = "reserved"; }; tsens1: thermal-sensor@c265000 { --- base-commit: 704ba27ac55579704ba1289392448b0c66b56258 change-id: 20240510-topic-8280_off-11539fc57f98 Best regards, -- Konrad Dybcio