Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1616517rdd; Thu, 11 Jan 2024 04:44:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IEl0jCzPfcle8fZy82P0k4nKlQkim4xOO+02YfeDhqWP1MYeuzA/HuvlUN50WEQ4X29FWWX X-Received: by 2002:a05:6a20:258f:b0:196:1c4b:11fa with SMTP id k15-20020a056a20258f00b001961c4b11famr1017092pzd.52.1704977094875; Thu, 11 Jan 2024 04:44:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704977094; cv=none; d=google.com; s=arc-20160816; b=OfiQA55tkrHo8GQTAtWEJn8a4Vj1++n3IogtjV/5zvA21vPxWDfN+HWDK4Qkxw/vP/ vhjjpEVoUWN1GCBYDFII/MndMySAJ/ONZzGvzaauh1T7o9nwDRTyt4NAFLSFZbIHdd3Z aWIvwLDtoKfAuW8PELQUJwoe36shdv4gW2MsZlWXgVi/q90wEMVkCuybGXmigifWxrvl 6IvBVkPMkwpjFP0P3wQUZc72ZnLFhzZx4S1UZIofozru+6YYkUtlHQHjL9T7OU79lvci AMkvNqzZuFwUUTPEQtvq661V4t/kbbS5m7xoQaH6uql2IfpZle+WS8hmbZOXx049PeGK xE4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=eHXpAer/Gbig3Qxr3W1gRcOiFSXPy6mJpjllrKqt6cY=; fh=VP8lRZAy2gzGsnvDeShIk1Agq8rPqwZkcOAiCdzlylo=; b=P3bCzweKUk/pM1ZeSnqTnSIMoRa3UnWgC0R4c1khRiqR6zc26qZDeaE8jKqyI41u+4 gK541sWgvzhM8+GXqIntBD4qr2LR89lE6bAV5wkAkQsgoEqhL6JawNwbtNUF6y33kIih WBCa38fRNnR52xx7ysWBL+Zx8T63wwvBoNFGm5KBaBPR8aoXgqq7ioorB4XpdJlm1akq 7MbADX/t4bN4MJH4h7G0Lhzd4DWnHf2b6sRp8UI5ZuseI5rt7+71njvrqhLH4va3YMvB hVme4KaIIWWXbept7SKDXVCSuK2LiskPJyiF1+uZb6BhOBR+2KqnfzyKUE8QLdPKrBeT Z8/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bOBVrCdl; spf=pass (google.com: domain of linux-kernel+bounces-23598-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23598-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y8-20020a17090a644800b0028014e41ff7si1043138pjm.48.2024.01.11.04.44.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 04:44:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23598-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=bOBVrCdl; spf=pass (google.com: domain of linux-kernel+bounces-23598-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23598-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 832312858B9 for ; Thu, 11 Jan 2024 12:44:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B248315AF1; Thu, 11 Jan 2024 12:44:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="bOBVrCdl" Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (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 9150515AC4 for ; Thu, 11 Jan 2024 12:44:45 +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-pl1-f171.google.com with SMTP id d9443c01a7336-1d3f8af8297so27935835ad.2 for ; Thu, 11 Jan 2024 04:44:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704977085; x=1705581885; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=eHXpAer/Gbig3Qxr3W1gRcOiFSXPy6mJpjllrKqt6cY=; b=bOBVrCdlgt155OEeuM1XWe3aCK4Mdm9DJQSn3MYhokrCQGAo0/OmTWZVfLh5GFf7JC 5bWyAnjA9cEfph8yBmO/xB8AwBS63I7MH4+WAlJJMH1GsjcaHQ779fWl01/EwGerV0dE FzAsZBjlR9n6MdfBwhkZ6yXoPhGPi8u9ZVtysQqefrWNn+4+PwTCeElAJBhG/GGXV/v8 +lFX7mIWZx162tp3f/JsSDGA/PL4oghgWQemoD4jpDIa89QgzmgyyOQbK1Z+YmtzrOSO Yxl+pk7Mfl7jPVuiWizFCabZPoDGkWMT9ocKbKn5xFZS8eH8Qb+OXMIESMM3KJ8C9waG Zl4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704977085; x=1705581885; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eHXpAer/Gbig3Qxr3W1gRcOiFSXPy6mJpjllrKqt6cY=; b=w5p9VLow53D/Ci3kEDxsBhWHTsguPICXMzKMFRLtGMcggmzrn1aqV1o3ZDcbiHcanD Ltbm0kmAZlGB6gcJ8ucbBoAD/m2H6C2AXgx9rZc++SRV0CH197fhHclKIKv5q+c4KsH+ WqXh1L+opxtl+wWnG/eKC91Fm9vQAV19VYlU8wLvTaFlIqUK3B+i6mBlhnyE/p+4Kny3 C7as576zhMrw+nxEbLa2jy3zUNeBjmdPG/IVl5c2ZkQMmDz9jzTGXQ00ajd//EXOG+90 DDFYLHIIsVJOzwULfki/2nDUM25UagyAhuDuKqPuK0B9W6lvnLhxVPWm1D1Ual76OPlI noqg== X-Gm-Message-State: AOJu0Ywd8lIUz1WY4Urbz5Gqcm6ccg9bFGk8lQNleLJr/zmK1nWIYL9n YyztaUKOqPbg9/KXB0W5pqUzKDE+L6BL X-Received: by 2002:a17:902:e844:b0:1d4:7685:90df with SMTP id t4-20020a170902e84400b001d4768590dfmr1191091plg.31.1704977084814; Thu, 11 Jan 2024 04:44:44 -0800 (PST) Received: from thinkpad ([202.131.159.18]) by smtp.gmail.com with ESMTPSA id j11-20020a170902690b00b001d3c27e00f2sm1072950plk.284.2024.01.11.04.44.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 04:44:43 -0800 (PST) Date: Thu, 11 Jan 2024 18:14:39 +0530 From: Manivannan Sadhasivam To: Dmitry Baryshkov 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 Subject: Re: [PATCH] arm64: dts: qcom: qrb2210-rb1: disable cluster power domains Message-ID: <20240111124439.GB3003@thinkpad> References: <20240111-qrb2210-rb1-no-cluster-idle-v1-1-cec14ec15b02@linaro.org> <20240111044508.GA3761@thinkpad> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Thu, Jan 11, 2024 at 08:02:32AM +0200, Dmitry Baryshkov wrote: > 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 > Okay, thanks for the explanation. It'd be good if you have mentioned this in the commit message as it is not obvious for one to understand what "ping" means. - Mani > > > > - 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 = "okay"; > > > }; > > > > > > --- > > > base-commit: 39676dfe52331dba909c617f213fdb21015c8d10 > > > change-id: 20240111-qrb2210-rb1-no-cluster-idle-7bf43b3a0452 > > > > > > Best regards, > > > -- > > > Dmitry Baryshkov > > > > > > > > > > -- > > மணிவண்ணன் சதாசிவம் > > > > -- > With best wishes > Dmitry -- மணிவண்ணன் சதாசிவம்