From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 693373A5453 for ; Wed, 22 Jul 2026 08:29:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784708984; cv=none; b=uyUdX9sPz9cCEQZiNq+F5pG/ZZtxJVkE87/iHfoMznsekNNnrhDMw+wN9WaOIzdDQuMwBZvOsQFbKhrGus2COQZfxrepvGbuMPSD479hcPFQcDS+5Vd504/FqbTP6nO7S+yi3zoagkKpbItF1cvuPq7QndgNsSJa+Eh/vljxCSk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784708984; c=relaxed/simple; bh=qgJ+HOYUuqPeugzRAIEOt1gGKvL3O+KyraYVWv2Zz3g=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ZyBR1GJwk8Wu39KoflVpdPJipUxofvx9zoOtqOHITHgKTFrhxVeIVWwnLFDaWxE4R2AHqDM74r/APOHJzdqfUyeuUDRJgAaRDCJ7jHF3YF2tLzbNS9HIAT/UtthAckSGzLtXeqYTo4wYyJMA5M3RyZ+2O4tf/a9Ph582FNfPY2s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=FMVzgQvI; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Gdsw/dCB; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="FMVzgQvI"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Gdsw/dCB" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66M53pKv3787369 for ; Wed, 22 Jul 2026 08:29:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= g1I+4pKolVtATJdTVWC9W0xRncrQRqV5DkOduyU6ezs=; b=FMVzgQvIYJmZEe55 0FpgH0dFtDiWHR2cQ+LIEpwPPBKI//sXk0qP6osC0a22030IH+LJ9l2tP8pVwE1V SFT/sCgTRqREL0UlmMkVs0T1S/QB5xPsoUyCt6+Xb4/T8kDIoKJshKsiEB9wjHF/ 34/R5JMoHId/QA4qOBNUzjNgDSCNZN0hW8BL9x1VQkwBMXSRt5/7mRKvb/4PUNha W3zvKhuJod8M4pV5kC6bojLkkTmGJZMxeSWkNKlQXjYlviOGldz0f73yGpH5W2y/ gutfu+hVPyDP7eYf23y1bChuNP9Mtbj8XeflG01yzvJB5vo7MQTLk7Sgt472AoGO HmozaA== Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fj9aecfwe-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 22 Jul 2026 08:29:41 +0000 (GMT) Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-51bfe75b7dbso26148451cf.3 for ; Wed, 22 Jul 2026 01:29:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1784708980; x=1785313780; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=g1I+4pKolVtATJdTVWC9W0xRncrQRqV5DkOduyU6ezs=; b=Gdsw/dCBboy7JgWRpN8y626VSuc+ZK/yugYoyMbMgX/4Adh1cWhm8Vkw36UL5f0wdf Vh8G9mZq+0f0Dguq89bV+E2pUowNOQiJHIgc7Lc732kSE2spAY3v5tvQMwb3rMhR6Amf jZah4zMhhAZPplE4W+GB9zNF0UHKUZqfyDV6QkiV7XqO/3lz/X39eg74bVcgFVFtQHFM NO9NEQi/pB9tp9yyP2rcQxENirKnEwoQ+h4CPTZABGVX9nLaO0vaYSdqa1OuI9sch/wB lqQUspyL4yDzyDIF4ufA/cNdyAARoXHQQEQoraATac8JDqsq5HCDsXuqOGqf9uk/j+IT 5Aqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784708980; x=1785313780; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=g1I+4pKolVtATJdTVWC9W0xRncrQRqV5DkOduyU6ezs=; b=bu4W1nkRGYr0RbYFwhx+Co28TAu4Hb4xgid43PvAnUXLoe4MtfxwEIbq+XOKNvcTe+ 3z+oTv4qfF5QRv8kx2U4h1/rT/DoekG9llaETdKDr8j04IA6OPa5VcsVTYM2e+Ie/TC8 HJpUUVmyloEjJwDBHLpCxdG4XJrW/nfqWovogFbEXItlfmSiQ4OCHL4ABIgk+JNFGTiS KNU1i4yEu4l1KwEsR5IuOn88BxrAQNiEODcMa98/zjHwnfiCm45+Nr/l6hjZzBmb4rRV 5d+ZFaT5e+Dr1Z/K+HwGy0V3qwEFFy0WrNx1mqOcQavkU330vzS1Q2wYHJPPzEiaF78D Kh8w== X-Forwarded-Encrypted: i=1; AHgh+Ro5Co+kaUJx68WqDbjyEmIoql0WNSHnfijTvn+92cP5CzsXWxeOPiYqzAbqSMMx2pynb7ImXqTm2pVNJ28=@vger.kernel.org X-Gm-Message-State: AOJu0YyXhy7ZUfZ1tB3XZhJWT+SsMSlaPyp+XEHzqaLuPJRhuVmAOlJI 5ISZltMjwjhqBXKzIKh+3q8QXCguVa5gfDGiR/C1ZW8snhF/dlMMPTJSe7pNgZ2eL8Uc+BczmaE 4L8zNNvQnPa3K/RKEWh+eu1J0LVjSMR8chQjS5EruJLZ9jMpt3ABJapKwgOoi0Ls8ef4= X-Gm-Gg: AR+sD13Bh7yTZX5ruk0UIwLqa7P77zJHkGxK6dfXq2bNm2k8FCa5eeD6RAhFfhuU4p2 jdoRHLafkh+t+019HmHw1L534Y+dkqz+AuJG3V/XZwYjJ2LD6BvuMOEzPmIyCzHvdW/izLsl4iH h8Ain7dkk+wwOFPrSaKbOzbrjuEz+4GPyVvtYfRej1WTaQnZdJJQxkMYgXlmxYMsMX9RHUdMINl U+viPScFb5LaQamADsJJntSueztig/th85m8CKymlXmSdRpBw7aUQlL+5jA5CmUJ245KzXjK1z/ tJo3WBB30slC8Eigkgc+lDcyF0jM6KhhqJcyqWStGtp41mhAK9NbHkkc0VJlh2kTKciYG5n2bWV VkLIGrJZTm5SqzQmHHy53bWKD X-Received: by 2002:a05:620a:390f:b0:92e:d1e1:8300 with SMTP id af79cd13be357-930e7052364mr587514485a.3.1784708980522; Wed, 22 Jul 2026 01:29:40 -0700 (PDT) X-Received: by 2002:a05:620a:390f:b0:92e:d1e1:8300 with SMTP id af79cd13be357-930e7052364mr587513685a.3.1784708980102; Wed, 22 Jul 2026 01:29:40 -0700 (PDT) Received: from [192.168.120.193] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-69f34b9b064sm663768a12.11.2026.07.22.01.29.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Jul 2026 01:29:39 -0700 (PDT) Message-ID: Date: Wed, 22 Jul 2026 10:29:35 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/7] irqchip/irq-qcom-mpm: Register MPM under CPU cluster power domain To: Dmitry Baryshkov Cc: Stephan Gerhold , Sneh Mankad , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Gleixner , Shawn Guo , Marc Zyngier , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260713-b4-shikra_lpm_addition-v1-0-3d858df2cbbf@oss.qualcomm.com> <20260713-b4-shikra_lpm_addition-v1-2-3d858df2cbbf@oss.qualcomm.com> <7c8178ec-8bab-4427-8faa-5b28cb76a5ad@oss.qualcomm.com> <401ee2b2-1d82-40b0-95aa-005840a5078f@oss.qualcomm.com> <2hismhl3epuijc6a3mhvf3sxasqrhrpuzbqsswfastafpjgpev@a6hdawm6oani> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <2hismhl3epuijc6a3mhvf3sxasqrhrpuzbqsswfastafpjgpev@a6hdawm6oani> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: rbNH5-UiJOrNoF_CtidGkW4dT9NkiYUR X-Proofpoint-Spam-Info: AW1haW4tMjYwNzIyMDA3OCBTYWx0ZWRfX0akZJX14cTFW XOSNUAoluxeh0fi2iqX3PDAMBl7eoaQkHzLDn7t09dPv/UHOXxrOUTeXI+vDx1YNiTE1oKEViLM ItzEJPT4bfUEPKyzhYUVpU7vzHQPSqs= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzIyMDA3OCBTYWx0ZWRfX/k7p5H4fvkMV vER2oQ08bjB5FYIYU8AMNgYuNN9ToEw3TecXFSZ4MP5cEk087LtGqvMymM2GqtlZvXbpcqWDOKD 0RRgnp1biRTZeMSWK3+isYTrPK3Doq4HQZkv/DfhSedMUoChKj2cfm445NsF3L4EwYynWHT4xIF hUoirnKHc8KdobkpjNCGGi0snrPbg54Ik+eMELpuFmCUQ6fZa5GOrvYOKBpo6fKf1fO3Wcz6dT3 +ksZmaLOQh8o7oGWqPTQIOH9Z//E2q2REyH+HBvnBH9K9edBakAMpddgLkoaYOeqaufvHGy7xAC hjZ/NGiBuhfNz3Bu2yQ2JVgU8HMb6Q9fZAwhtfsoUtIYeeMuiSK7YiEkeQYhyFkT6gnk6zueO7G hdFmAwnnUNgXCr0Pl9Zav7/HmeD08OIPKHVTFTymrwtOU8h/vDkiesp7uV6KLeINNjWLVOMy+e4 v2rVVHxHAtY0N7nhiCA== X-Proofpoint-GUID: rbNH5-UiJOrNoF_CtidGkW4dT9NkiYUR X-Authority-Analysis: v=2.4 cv=Cr6PtH4D c=1 sm=1 tr=0 ts=6a607f75 cx=c_pps a=mPf7EqFMSY9/WdsSgAYMbA==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=egg3YLX_vkcQzZ7oZRkA:9 a=QEXdDO2ut3YA:10 a=dawVfQjAaf238kedN5IG:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-22_02,2026-07-21_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 adultscore=0 impostorscore=0 lowpriorityscore=0 spamscore=0 phishscore=0 clxscore=1015 suspectscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607220078 On 7/22/26 12:18 AM, Dmitry Baryshkov wrote: > On Wed, Jul 15, 2026 at 12:45:48PM +0200, Konrad Dybcio wrote: >> On 7/15/26 12:34 PM, Stephan Gerhold wrote: >>> On Wed, Jul 15, 2026 at 11:46:58AM +0200, Konrad Dybcio wrote: >>>> On 7/13/26 12:25 PM, Sneh Mankad wrote: >>>>> MPM irqchip needs to notify RPM (Resource Power Manager) processor to read >>>>> the latest wake up capable interrupts when the CPU cluster is entering the >>>>> deepest idle state. This is done by sending IPC interrupt to RPM and is >>>>> implemented as .power_off() callback by registering MPM as parent power >>>>> domain to CPU cluster. >>>> >>>> [...] >>>> >>>>> If MPM has not registered with CPU cluster power domain, utilize the CPU PM >>>>> notifications to manage RPM communication when the last CPU goes to power >>>>> collapse. >>>> >>>> I have mixed feelings about this case. The RPMH RSC driver keeps that as a >>>> fallback for platforms which don't have PSCI OSI mode specifically. >>>> >>>> On the other hand, there are platforms (early arm64 - pre-msm8996 and almost >>>> all of the arm32 platforms) that don't define any CPU power domains, so >>>> perhaps it's necessary after all.. >>>> >>> >>> I don't think this fallback is relevant for the non-PSCI QC platforms, >>> for the following reasons: >>> >>> - They don't define the MPM. >>> - They don't support cluster idle upstream, so they don't need to >>> define the MPM. They can't reach the idle state where it would become >>> relevant. >>> - The setup for cluster idle without PSCI is essentially equivalent to >>> OSI, except that the SPM/SAW driver needs to program the idle state >>> to enter. There is one SPM/SAW for every idle domain (e.g. on >>> MSM8939: 2x4 CPU, 2x Cluster, 1x System). You can just model the >>> SPM/SAW instances as power domains to get the same setup as PSCI OSI >>> (I had a draft for this at some point). So if someone ever implements >>> this, we should be able to use the same approach as for PSCI OSI. > > For the regerence, MPM existed since MSM8960. I think it was never > _that_ important to implement support for it in the upstream. For a long time time, MSM8960 didn't have much more than basic UART, USB and always-on, always-max-power peripherals. So.. Konrad