Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp505419lqo; Fri, 10 May 2024 06:40:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUT4JT6pVoABR1r+iMkeHvdIexgeFEF7xRZuBg66o72WN6TSvNWZhExnfG6bUms4UazDAdLO/Q4wKR/U1DngfRgxMvM6lvLCjQcWbJyIw== X-Google-Smtp-Source: AGHT+IFM/S8Auf3vSdR/fSasMZn6fqYodrrZjr2R8+KV9PHl5sZHWvQZIQD63FUAhhmPMUMq5DwZ X-Received: by 2002:a05:622a:105:b0:436:ac20:16f9 with SMTP id d75a77b69052e-43dfdba9bf9mr30526021cf.60.1715348415394; Fri, 10 May 2024 06:40:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715348415; cv=pass; d=google.com; s=arc-20160816; b=G9UFvUl0HsQmg1uDvaYH8qF8qM/yAy0rcuFO/IR8ULC9YDe7yugsn/PZU73Nv6jD6q DQnuPGlfCGKq8zHEEopRb4eHxydi7rp/LP0KEjjZItLIofRdTprjyoOmAiyPlyysaeSq uM/aV/iGe7asKMT5rc+dyeJV470AEqRgQP+y/avc4D1DPTp+CphS8ERKpFy9TB1Qd1um qog5S2h93BZIKBoRB6feGS2D1YzlfOSJ31GDit2SohDPKCxIgf9Ek74vSsY39HCro9pS Lz9ppvTl5/E+VtezAFqjBWyjhmWT0UlvjhXLOCaO1ys/y89y6Xoycjurzu4nnY1vpUzm JKIw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=Ha8fz4Wr+IwPLlSAFxnrozj260YrkxhYC7xfmynUBWM=; fh=F78ycCgfUUWfIqjKmpXXa2fj7fBtlwHo48lEWLDHunE=; b=e2BJW2jE+rDmy+PmDnGyHjOFgonocEKt8J9rhu3DrDs74AU1k/nR6h/U4wOAVf2fuX FQXlaKqPtLOsg0hG/K52H8G6evWW4kHyABtdQARy+JK+iY/DZnkUyKnzvLHxvOGgMVir h7NbOuDJXcXdV7aKlpcxcnLE0d+yspLAxqhxytNzYF4VIJgMEuD6z980rWnq42mRGG6H 2Xbib+Ii4VwYnrJteorJS7jS7QJco01nFQQuToF80oikrYaBXBF3ngc5e/oAKA25sjH0 PsvmjindW47pjx38QKFCjnKA96jpmiTMc9Y6OltitHgIvVc1FQGDZr/mIHZQ4PpDuN75 fu5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X0f6tCSf; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-175835-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175835-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43df56afba7si36193621cf.559.2024.05.10.06.40.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 06:40:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175835-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X0f6tCSf; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-175835-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175835-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1736B1C21EC1 for ; Fri, 10 May 2024 13:40:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 057CF12C522; Fri, 10 May 2024 13:40:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="X0f6tCSf" Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (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 40EAC12C47D for ; Fri, 10 May 2024 13:40:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715348406; cv=none; b=BMtdcUEw7wUEATOXGaQ64+p/EzUMCLzEaPx5V/eq8RZVUHwWhU4O254KkTPmaeE2Clv/SqlGez+Lx0toUf3oquppDV8zVbOb74XlfKDvYm7W1GzLRf+iOIxYXHf8/ZgyilCe9TkrT6gSwdgGO8H3ww2TEoZ/84R6NzqZsArHYz8= 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.45 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 Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a5a0013d551so234735366b.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=fJqCWSkuhM5g7UV1DAD1fcTGMWRVAzdwwJp66LgCLeyrd2PFRHXA0ulaUnmuFN5bBd jHSlTlg7iTCBs4ldwuUdBl2Qp2TYNLy80wndYcLeZbXKpP78x0owVViYFqmaqHX5NX+q tf+9hveoeQph7UGVp8DO82DiFx2cIR9Nau1KkAjXACR8KqetedkDjG2fr1W+sxXxQjPA Sq/F207bD7d3ZOWlCMrH7XMaLzyuP3OzbYGDzO1E1kpTZjoAIqqiOezrDq2UwlnMsvlB 58QuhEs5P7nruc76tEeC9qugSucwBAOTVwEtyOxnR50rEcVal9JSwYI0wti7U3tweqnB Ixlg== X-Forwarded-Encrypted: i=1; AJvYcCVWLZeRmjq3/oo+jLO9TEeSsCFI5D46jSOK5k5pFr85zCV1X0JZJCfzhOneTCaiheJVXKx151SQOE5jfpt8A8x1xv2fkDtdNMQpx3V8 X-Gm-Message-State: AOJu0YxQ78qB/OhwYK990k86dkx47dsv2yMbq9vNAYm0GARhXuqJ+fsR rGHSCdOR49oXA7mfag0sY31rwG9UXcZqDvb6h3kWRghkcxwlUevaxUAs6pQHjeQ= 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: 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: 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