Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1444884rdd; Wed, 10 Jan 2024 22:02:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IGfN1yoMwDt8P2/oGol+wJNjjBu3LJF/EJPMSxFT5ZMFAx9zAE88rFuYUr2+IaVWWtGKXlT X-Received: by 2002:ad4:5f49:0:b0:680:b2aa:c746 with SMTP id p9-20020ad45f49000000b00680b2aac746mr825364qvg.64.1704952976855; Wed, 10 Jan 2024 22:02:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704952976; cv=none; d=google.com; s=arc-20160816; b=yPvADCeX1wnSXMjtkuoYpgsx24OuafeVhAFS9g80iKqdqvERvUyjm8fJ5Scey0Fzc2 tuCFsxLhxdVeJnP6sS4UcYVFL8PBeIH7qwaOfPRpDhX2rhfn4n4W5W3laERJPpei7lG9 O+lzVod3XCzURTSP+78p8xQcUd+4ehRaZR8LUuQBhhFDVz6qI41kvfZ8hgqUUjEwqvxX vXAUkDuW/fF3DE5B0bnlhsBDMyThuzt2NFFlnQet+W7biKUqA5LrajtbuHrpW1GYOg5f GdJpmmhkGGbiKAdCdy2WvoFEsEdRCzjV46Yguy692B5r900alPQxqhu2znKhvz19mt8L 5gxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=ySHzwq8dArh41wbtGZhqWN/9T6QDBMF2vzUl/zhZMLY=; fh=4LZJIFS7g1inQujQUF7o+JwFl0BaWsfZfuC4Wqw9Zuo=; b=hnvXV5NvYRb/dlRQZDLy94zy0FIS0rHyut45q5JzSMTORNjsRbD2awnxlV3EPuKSEn A/XAnU6dsTDVjjt8t1eZwJZhNauo2FyU3MLElh+G9HXsjxymr6oHabL1ShTLotAEwWvz CKb48wfstGga6xJvo2+JMcuHlNte3uXLVYJ3ilXJwhDXHDeDecr8JriK9hzAjgiYgrrq xivX+Zvx7x9W7V3Y6XCGNgnSK+PEQmJbsYOn/EbVFwUn4crPq9nfsEwt0O/5a/eijsZm /QacQ6PO/raNS49JxAE3nmjLLskM+/fG3unCC0x+QwSEbTmwYV5pKeSPWv97myZN/iYl EXbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VlrpjuF9; spf=pass (google.com: domain of linux-kernel+bounces-23077-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23077-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. [147.75.199.223]) by mx.google.com with ESMTPS id n11-20020a0c8c0b000000b0067f969c9f65si204739qvb.33.2024.01.10.22.02.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 22:02:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23077-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VlrpjuF9; spf=pass (google.com: domain of linux-kernel+bounces-23077-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23077-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 9AF971C22541 for ; Thu, 11 Jan 2024 06:02:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 013532583; Thu, 11 Jan 2024 06:02:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="VlrpjuF9" Received: from mail-yw1-f178.google.com (mail-yw1-f178.google.com [209.85.128.178]) (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 14D3C2105 for ; Thu, 11 Jan 2024 06:02:44 +0000 (UTC) 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-f178.google.com with SMTP id 00721157ae682-5ebca94cf74so48584827b3.0 for ; Wed, 10 Jan 2024 22:02:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704952964; x=1705557764; 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=ySHzwq8dArh41wbtGZhqWN/9T6QDBMF2vzUl/zhZMLY=; b=VlrpjuF9C+0pSL5uLMEvF8hdxOsqh2OYykReh1PdTPyvEyI/biagq1lrv+znS0wxrm KUv/tTLK+wMXS7OLintc++m+RyKnVZGgqtnzwfEBYV/MgcSStVlWbHdL6TDUc2QvdFW3 44KcDx1DnAc9uwcc6GNkAc7fu3wXj2hezeRyTI/wpZ8CjnqAj/HCrjtZlESqvAkK0j4B HHeIOEQfQYXe82uJWgifrUKpL4MqaRxRexDu53tpdxDLkqUFz+drNqcnzoEEdkiirXep qFhxnKk5tDvS5cGz1iUykv767cdX7UfpM2WHJ8mvj8LZjNbkb9uhHPnRP1PoaEjD3jQ2 8Xkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704952964; x=1705557764; 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=ySHzwq8dArh41wbtGZhqWN/9T6QDBMF2vzUl/zhZMLY=; b=JV9OJqK/AJKMPykvq1YU2fqZbC7wFNRn4wtVu16dGKNTKRGAMJ5ci0ZiELG2UdZmvR iLV/XRmckMgkmxrAO/4B1Z95e9exGPCuGih9p90Dkm6msMltEbDSU+h3zMw36c/ts03A H8DDY/r7Uqa7JEoJOPdC3Q9TPRsvK0wnPPnSzkeeMLoiYgbhFz09CeTVCIzmsiwVwa1H xoJrnFy9L7Qfj2IS4mx+ecLmvdTRehIC24EU+u3pKvrbxTB7SeZd3XJg02U/3p7ers/T iDSRJxiK/x7UZPDMvZuVGXeAu1kOXiSnutTlQFkHiD4N/WmqtAh/2kFkh8H/y54uwA3E JZ7w== X-Gm-Message-State: AOJu0YxCY4cv94e5zsizIrOpTPhRyexsCKxsKNy32APu2St+6UT2KCxD FIwCWx5Xpbou197uxtEpuzpR8qbFBK/BsG4EuDFrLFXAECLktg== X-Received: by 2002:a0d:e28c:0:b0:5f8:f213:a4e0 with SMTP id l134-20020a0de28c000000b005f8f213a4e0mr121140ywe.41.1704952963981; Wed, 10 Jan 2024 22:02:43 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240111-qrb2210-rb1-no-cluster-idle-v1-1-cec14ec15b02@linaro.org> <20240111044508.GA3761@thinkpad> In-Reply-To: <20240111044508.GA3761@thinkpad> From: Dmitry Baryshkov Date: Thu, 11 Jan 2024 08:02:32 +0200 Message-ID: Subject: Re: [PATCH] arm64: dts: qcom: qrb2210-rb1: disable cluster power domains To: Manivannan Sadhasivam Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 11 Jan 2024 at 06:45, Manivannan Sadhasivam wrote: > > On Thu, Jan 11, 2024 at 04:01:14AM +0200, Dmitry Baryshkov wrote: > > If cluster domain idle state is enabled on the RB1, the board becomes > > significantly less responsive. Under certain circumstances (if some of > > the devices are disabled in kernel config) the board can even lock up. > > > > It seems this is caused by the MPM not being pinged during CPU idle (in > > the same way the RPMh is pinged when cluster idle is entered). > > > > What does "ping" mean here? Please be more specific. See rpmh_rsc_pd_callback(), rpmh_flush() and rpmh_rsc_write_next_wakeup(). RPMh driver (among other things) on entering the idle writes the next wake up time to the RPMh. The MPM driver in the vendor kernel does the same, see msm_mpm_timer_write() in msm-4.19 > > - Mani > > > Disable cluster domain idle for the RB1 board until MPM driver is fixed > > to cooperate with the CPU idle states. > > > > Signed-off-by: Dmitry Baryshkov > > --- > > arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 18 ++++++++++++++++++ > > 1 file changed, 18 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts b/arch/arm64/boot= /dts/qcom/qrb2210-rb1.dts > > index aa53b6af6d9c..9a0308ef8b0f 100644 > > --- a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts > > +++ b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts > > @@ -177,6 +177,24 @@ vph_pwr: regulator-vph-pwr { > > }; > > }; > > > > +&CPU_PD0 { > > + /delete-property/ power-domains; > > +}; > > + > > +&CPU_PD1 { > > + /delete-property/ power-domains; > > +}; > > + > > +&CPU_PD2 { > > + /delete-property/ power-domains; > > +}; > > + > > +&CPU_PD3 { > > + /delete-property/ power-domains; > > +}; > > + > > +/delete-node/ &CLUSTER_PD; > > + > > &gpi_dma0 { > > status =3D "okay"; > > }; > > > > --- > > base-commit: 39676dfe52331dba909c617f213fdb21015c8d10 > > change-id: 20240111-qrb2210-rb1-no-cluster-idle-7bf43b3a0452 > > > > Best regards, > > -- > > Dmitry Baryshkov > > > > > > -- > =E0=AE=AE=E0=AE=A3=E0=AE=BF=E0=AE=B5=E0=AE=A3=E0=AF=8D=E0=AE=A3=E0=AE=A9= =E0=AF=8D =E0=AE=9A=E0=AE=A4=E0=AE=BE=E0=AE=9A=E0=AE=BF=E0=AE=B5=E0=AE=AE= =E0=AF=8D --=20 With best wishes Dmitry