Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1100568rdb; Fri, 9 Feb 2024 10:11:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IELlEhKl9O27VHZDY7O2cyGSpwRu2rLu2tLf22+SNuYzSGVX6hyPglGZql1PfHM1YqQXLzm X-Received: by 2002:a05:6a21:3101:b0:19e:8ad2:c934 with SMTP id yz1-20020a056a21310100b0019e8ad2c934mr3216788pzb.14.1707502277025; Fri, 09 Feb 2024 10:11:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707502277; cv=pass; d=google.com; s=arc-20160816; b=Irf6u3HCTlEEG7BDM3n7Vmi0QtLY11XKYT12ZGix65eXNHNS1TpNRurKxD9NkYCZAM qH9c8APkYa/g2ASj72h1iuXcN7sgc0jA7f9LD5kpF763WMENEsnYEb4H0hjRlAQOfi7u X92mWKNtHBw98zJAuLqtlmIUFRnJDvWk5LDgsWQtc7FU2ZkKyfdtV/beS13UROtzHv0K CWnm9xxNzPXgAwwiXzyX1OLrvEdBkgK7Guk7utAtDiD/SnAvMcuKywqVEyBwN690SA7A Uurg3Vv2OefiVqaufbqz09bYA2iKdiXsa3vGaGNplgjkgLe8pMbOIT7tu//IKjScFADZ 8S/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=lMOHoZq4LqJoeusiTjh5rsO9vvT8R6dscB00SY5z3ME=; fh=EOVh6a3m+BWPtBVQ72IY3HKqpIbllyJ5G6USNTPtFJ0=; b=mIjbiW7kbEPBE8pAxUYnmosCRRQNUCVBCx/EHLgcJP3yFEJoPnE2Hc9/Fb+eZXg9B2 xjlhIFt/MlB2Dukuredpdv0dT6oQj6qpNrOhAo+bBEr5Z1HNmMLo4zcKn2hHeFSoRaoc jqQQDYgkgI08tHCh9awvupaEouydZ53NPFMp2Mi1wV12bIaG3u9EqeFiRI9fP9BeGukt 8jIj1Y6xE23ItIFy1yP5xquRSV3kBxs6uyfSngzR4cn4oNmH4kPlvS0eDPt1421F71kE J3t/5tWV0QFtHlZapXkZyDWeN0qZjw0I57PfrEnS8OBcT5jexldZiRkqvZfdSTEoLQur vdkg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OxlAsaTT; 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-59759-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59759-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCVGKO3ReoMoaQnEWHpbn+cXmCW4zRM2GnDxbxYShh8+2al54sToyL9ZM3M9/ewP9SycuPP2LIJ6ffJ4+z26FoABkfXulTreq4k4Q6w2Ow== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s33-20020a056a0017a100b006e0a30758e9si158258pfg.175.2024.02.09.10.11.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 10:11:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59759-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OxlAsaTT; 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-59759-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59759-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 68A1628FF4C for ; Fri, 9 Feb 2024 18:02:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 039B381ACB; Fri, 9 Feb 2024 18:01:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="OxlAsaTT" Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) (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 70B3280C18 for ; Fri, 9 Feb 2024 18:01:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707501690; cv=none; b=SVuSn9y9j83YNlbrGDJfScnlbBEODuOThsL5mEMCqS9VyB1MHP6Q36ji4pK3C65wI0TA/Y6X1d5KxwZf8TVyWib+N8OYgg9kZOqVB+VSZgrllC+NepAEdizbadrTzeTzXVztDKOG+Hj7UUwJRsbYDSMAqSSOzeY3hZ17+jVLvuE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707501690; c=relaxed/simple; bh=ZIxcGmiR4gGSReoL37yMRXuMkVPpy2y+83NsY4EsGcM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=GtTzBiUyNhJVTfPsjr/1Bh1ADcWMlG/msWAkobgbMJlnC0U58Pl4G8iP9F2U1gC3gvG97FLrERcrJJ+nQmWGi9kg97Paq58LDCs7pRYcfUoezh7UbcAEkYn1DqyRzGa+gI0ZDl6BcZTUcH85Mh9R+AgmVgl2PXfzkX2nV0gsVAw= 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=OxlAsaTT; arc=none smtp.client-ip=209.85.128.174 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-yw1-f174.google.com with SMTP id 00721157ae682-604aab67616so13719267b3.2 for ; Fri, 09 Feb 2024 10:01:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707501687; x=1708106487; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=lMOHoZq4LqJoeusiTjh5rsO9vvT8R6dscB00SY5z3ME=; b=OxlAsaTTlzt7cAS/BB64nUD+6YK4RTVifQwQNa94upJvfjBH2Xh1BChn9TeomyPoGS h95p4l6DwF8NzSkJ+zT/eU7vegbBSgQaHUcpbR/BLs7mSyI9gwdePByPNl+sax7cKp6Y KI4g9TVRffoqyBsV+4vJmEjvy8IZ0ARrucQuCOMA3PZAaDW+VJzehFfVRPFVsgFQjzfm TQhDMw0NXkLqLe41RdXDippRnH/6vyFYqSCmcq/P0YEEz9CNvWGiRu5688KO6oVAFyp6 Zuwv+rfyArtZCc9/oXKnjxuZx/gqjynNvxVrcHhfY4AOkPwrxTL/Q1CjQOUZpyIgvmPa kEEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707501687; x=1708106487; h=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=lMOHoZq4LqJoeusiTjh5rsO9vvT8R6dscB00SY5z3ME=; b=Z08H5T/pDeAGvJOOgo+R3xv0hEgZcozAaJvqIZy0R1xv/FWOXi8k3zXidYdOVyPA++ KsZHvkGdfODX+pxx8CWwYT/9sEDzi1zhWuHJuFcY+a9l4BomueFzqm806Gr/9wj4KQ4q 0H8vuRW7QSLNi19xWFVvimJEyXi4PtxgfwSjZU2msuiZEPYmF9bCF0GsB4OmflEhfa15 K7yItJ8hfZ76bbuoY/2XH+ae9pAJDEKrjCYFQoWA28JfhPuKvbiEiyTC2L4lS2XXFwzc Yv+Q5BE1tlDku2eRnYsp0JRww8kBSURa4Tt+/J4kJyxCB9BsKAS/9Ecjuf0gjInUDCMC PFGA== X-Gm-Message-State: AOJu0YwOEHwxyOvdrkb4dli+BXBVmC0qjJNCUMPEDqeEc+X1/qUmrq0y Rq+itGzE/BFss9qnSrQ0p48E5BbAZ/EgbNH3ME+2vuSYof2CvSA5JooP/I6LrYgLtCnk/d1J1nY XBmA5rsGNHZB/W4iqRlG9bH9aQWJfYKQ7e8f7cg== X-Received: by 2002:a0d:cc95:0:b0:5fb:e74c:ff8d with SMTP id o143-20020a0dcc95000000b005fbe74cff8dmr2647607ywd.10.1707501687222; Fri, 09 Feb 2024 10:01:27 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240209-qcm6490-gcc-protected-clocks-v1-1-bd3487b2e7b1@quicinc.com> In-Reply-To: <20240209-qcm6490-gcc-protected-clocks-v1-1-bd3487b2e7b1@quicinc.com> From: Dmitry Baryshkov Date: Fri, 9 Feb 2024 20:01:15 +0200 Message-ID: Subject: Re: [PATCH] arm64: dts: qcom: qcs6490-rb3gen2: Declare GCC clocks protected To: Bjorn Andersson Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Fri, 9 Feb 2024 at 18:21, Bjorn Andersson wrote: > > The SC7180 GCC binding describes clocks which, due to the difference in > security model, are not accessible on the RB3gen2 - in the same way seen > on QCM6490. > > Mark these clocks as protected, to allow the board to boot. > > Signed-off-by: Bjorn Andersson > --- > I did notice Taniya's patch [1] after writing this patch. I'd prefer to > merge this minimal set asap, to make the board boot, unless there's a > strong argument for including those other clocks in the protected list. > > [1] https://lore.kernel.org/linux-arm-msm/20240208062836.19767-6-quic_tdas@quicinc.com/ > --- > arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > index 8bb7d13d85f6..97b1586f9f19 100644 > --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts > @@ -413,6 +413,24 @@ vreg_bob_3p296: bob { > }; > }; > > +&gcc { > + protected-clocks = , > + , I'd say these two clocks looks strange in this list, but you probably know what you are doing. Thus: Reviewed-by: Dmitry Baryshkov > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > +}; > + > &qupv3_id_0 { > status = "okay"; > }; > > --- > base-commit: b1d3a0e70c3881d2f8cf6692ccf7c2a4fb2d030d > change-id: 20240209-qcm6490-gcc-protected-clocks-ee5fafdb76b3 > > Best regards, > -- > Bjorn Andersson > -- With best wishes Dmitry