Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp676928lqo; Fri, 10 May 2024 11:08:21 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXNHux65EDo5SPbfs+t9yQm/R7bCyc/B0/XMyx5f7cDt5s29b9fH0bsO/l17RkvlZYmb0OlvffehxPZpHwu/AhyH+JM42BnB2goNMNVdg== X-Google-Smtp-Source: AGHT+IFDUUD1PnXU/syesUNxKXXiRzb6N417EXhEvVdKRahgpWnwwuokKmiuhjCxRi+0Mqlky5GF X-Received: by 2002:a05:6214:4a0a:b0:6a0:b99e:7ad6 with SMTP id 6a1803df08f44-6a16819a312mr43424136d6.34.1715364501563; Fri, 10 May 2024 11:08:21 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f2b66efsi41959236d6.398.2024.05.10.11.08.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 11:08:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176084-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=neutral (body hash did not verify) header.i=@kali.org header.s=google header.b=BnzsbmRW; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-176084-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176084-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kali.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 4E1A21C21052 for ; Fri, 10 May 2024 18:08:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0CF342D627; Fri, 10 May 2024 18:08:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kali.org header.i=@kali.org header.b="BnzsbmRW" Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (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 C7CAC18EA1 for ; Fri, 10 May 2024 18:08:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715364492; cv=none; b=ouUpS83NQhfFotRJV2H3svYXA9HnAvjGKh8EjLrxYNJzhtvYkuweCoJug2HCDSVRHuxxNjnQ1otYwBYVXXJqDgKqyQXL5OJZvUygW95QupIJ9GYYzSKuS53AT/9xAlX8uIoAS8a6MbBV2kFxBWEaQKXi63GklYnKAZRAkpOp6HU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715364492; c=relaxed/simple; bh=TjfPV346g6HhhGBYNszs7914+sCUoduSH0CSumq3VbI=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=aJafou3cgB/sThkZBAd7+dvfpOVJ8TLqfJQhcEn6eX0RZU4xgAvViyDoh/veflPxyiSw/OXtI33ASs1+MsElEEkkeqV7hCSiC3EBvWeXn7gguQqQkiGuorDFQxIW4+YGw89bx2Unod2/QV2yMHzC6/XjjK7mW4TWDIKEkQl6N0Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kali.org; spf=pass smtp.mailfrom=kali.org; dkim=pass (2048-bit key) header.d=kali.org header.i=@kali.org header.b=BnzsbmRW; arc=none smtp.client-ip=209.85.218.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kali.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kali.org Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a59ad344f7dso496414966b.0 for ; Fri, 10 May 2024 11:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kali.org; s=google; t=1715364488; x=1715969288; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=92ZX8NnKazriVubJgAKcioLM/4xHP1npqFQLgQaFNHI=; b=BnzsbmRWbTpleBEi36Z6qPSe4hpM4c8zRhhr1suPCeNSuW4pOWB5Pj0RdLwfN98T2D iqymDjywBBEo65FtcudG8G4VEk/GF1gQ48nc/WQ+uvDtwb0cfRCvGHw8alKXDqaq+/B2 OuaDLb2SUiZkDHX0dPNQydBru1ZJaNjvkbg8pJXngN9IJmYmMZW/BSQe6I+eNLB36Mb4 sQBZj5V0Jbr3tn6D8POiscUwVsKhERCDmaH5O1MpskACpzs4MI84KVTarJRKcHVkVCiU XYzJ7bQpnccTRiofrPzjWHehbjAgW9BAbdCeGTLxEUbZpfAMnMv6q1X6c1L0XsRMc8FW sQ0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715364488; x=1715969288; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=92ZX8NnKazriVubJgAKcioLM/4xHP1npqFQLgQaFNHI=; b=GF5ror7H9aquDQfR7vu74T1bmh5fcmh5AFTCy7Pd3VQgodU24a78fSkg8IyRbKysBL 3I24niyY2Kagw5jDr3cBjw/QAjQ3nR+CsPOk1j1wJ3S00JCTXf5tKKhK4RqRcLVEOrxf /LlNTKWi89lYfYpgkJ3XM5T3LenNgeGzxxiHO8wVYj478/kiyghiVmNxpEV8HhH79ClJ PUkkjXpl5p/xF5c8AG1+F8TcI47ZJ17K+x5DsSdTqM/7Ro1kQxn6pjmSovPDClbCneS9 Q8QLB/sHthqpXaIn4w9MOu1bqh3XhJCKFJKgbhB4cvayw/VqqTT2EbGmAlotvEWSvxrG JI3A== X-Forwarded-Encrypted: i=1; AJvYcCWa33okD85mw/aF/0rx9d6FLDBNpd1XjC/p3MzB1WArOFNU9+JjQp5pNPyfMYjaZi1fVioubT0KwkO8xRWqe3ANu1FKHR3l+rb34NxD X-Gm-Message-State: AOJu0YxY4EnU3I74K6OeNsqvIMBiY7qLxKd4jktxTZ6nstVfjaWK+yCG yo2nqinXmJt9e6rBbwpdF8yILsGPEk72qEz73qvM/JXBCg2G2lTph/+o88eLyBUkxtR5m5uZ4GW +vyKL50h/AwzOibxteST2ilt5i/SXtQgZsOHkxw== X-Received: by 2002:a50:bb0e:0:b0:572:df77:c1bf with SMTP id 4fb4d7f45d1cf-5734d5974f2mr2413770a12.3.1715364488094; Fri, 10 May 2024 11:08:08 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240510-topic-8280_off-v1-1-bcc70cda449e@linaro.org> In-Reply-To: <20240510-topic-8280_off-v1-1-bcc70cda449e@linaro.org> From: Steev Klimaszewski Date: Fri, 10 May 2024 13:07:55 -0500 Message-ID: Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp: Set status = "reserved" on PSHOLD To: Konrad Dybcio Cc: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Konrad, On Fri, May 10, 2024 at 8:40=E2=80=AFAM Konrad Dybcio wrote: > > 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 =3D "qcom,pshold"; > reg =3D <0 0x0c264000 0 0x4>; > + /* TZ seems to block access */ > + status =3D "reserved"; > }; > > tsens1: thermal-sensor@c265000 { > > --- > base-commit: 704ba27ac55579704ba1289392448b0c66b56258 > change-id: 20240510-topic-8280_off-11539fc57f98 > > Best regards, > -- > Konrad Dybcio > Tested on my X13s here and confirmed it does what it says on the tin now :) Tested-by: Steev Klimaszewski