From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 BF5774A498C for ; Fri, 11 Sep 2026 17:13:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789146812; cv=none; b=Nei+PKHufKpXvlFOu1DJIfBb8cKjD5JDUvvdFPhE5Jz5x9E8TKYj2aU1dczIaFHQk2RSWtdmvOgagEn9V6CJ5xmJuY/9hRHTPYAp+S/uMuap37s3HmgSuH79+2KDQfp0DqCOr7XXHPUr44sq5iYq9mXPWhwchER9KmNPEFn79NE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789146812; c=relaxed/simple; bh=GIg8Ee17H8uLahuwZG6QIu9IwUSfphXuVEckTgzzbiI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nGDWN0oMauvsMe9tbhugQp8HjWtbkIbic8keeIIqkTO8Iw/7QSes5c5/pFkWJkkcmqlcewnxQZZyBtKlKxnorPM9x6jTuRB11YwvOtUSGakk9WFp7vX+9BBpYwZ6MRlHABN4YP/0xGSPY6taxjsru6LRQMqvvBp+59qu5e2jqdo= 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=MbMJ043Q; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=WsA2Dq90; arc=none smtp.client-ip=205.220.168.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="MbMJ043Q"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="WsA2Dq90" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68BEm7KY1371447 for ; Fri, 11 Sep 2026 17:13:30 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= GIg8Ee17H8uLahuwZG6QIu9IwUSfphXuVEckTgzzbiI=; b=MbMJ043Qh3693KxM TC8kMQTkju8cjNkcgW0WulTHDisRDeS0zOWD/ntCNBIH//BMVQJLOwmHGnfrnVoQ we6dQdxk2dewXcF7hvbcGVMtcQyzu+7IrU7yfFFkhxWA0BLxT4RBARs93uNpWFfh psCq4Ciz7SXlC4Kr+yxAixZvt0u1AIbftjDKa5DNH2SU98Rg4Fie+fSyEIOIJZgb 3nxRV46XfAERrERiZVDNEDd0G8cygfq6HCYuON8opaV5PrqvXD4d+sykhXziHZBG WqdZ3HZvPs5sCRC5KNok3cCunb/JVu5nUgZpOTrxivUvVl9vyeWKEIWYdqtnIIae RJeFIw== Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gmbf8jx9v-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 11 Sep 2026 17:13:29 +0000 (GMT) Received: by mail-pf1-f200.google.com with SMTP id d2e1a72fcca58-86a43fc3527so2067678b3a.1 for ; Fri, 11 Sep 2026 10:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1789146809; x=1789751609; 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=GIg8Ee17H8uLahuwZG6QIu9IwUSfphXuVEckTgzzbiI=; b=WsA2Dq90HLFrqu66j4Q2H6a9nD7NPsx+o4m/8mN5hvJF932Mh0pc4kw7wVoXFniFOt vS7s6OCUoeDtCg6/7KSUksEAu1dv9RBcs3uxL/UvPdhQDHs55lEM7Knczd6u5byiHH/V VSqF1SVZqhAsoytWU4IuBMwWcnzWAlcGpZAEjIa3QFKL9J9zkWPSd5svchIO3XVqG7Ad Eg0FWIs170vg8WNUqu+BOLPaF2w4PzDqBi8zyYny9OqZJY6bhwA9RMQAJd/KKZC4VIOg diHrn40i7XV7gib/bdayQI9IFyKjMquJ66HaEgtIqBTv7qzFz4cZa8+sbY9aEB1eoShh EhBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789146809; x=1789751609; 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=GIg8Ee17H8uLahuwZG6QIu9IwUSfphXuVEckTgzzbiI=; b=BFJMCb5e7XpasOLQmxDu9bC61sHtiQRCsNMDp2bZrmBgNzMBYycxuxDlX/vKsmxzlc nirTGMtGBM11EIJ2o1NPUpdZrVyxlSPBoMS7SKnk7y/C50I4LnImjaX/xI7XTezG4dbr Bb1NWI9z+wJcQczKbME7/r5Sn2g2zs2MsfbFMgum/c/zpkxZByrZ3B2uKLHVSj07ausq qD/vH2g7a/IGHN/n00HueWzReIRveOZbIAXJ6va/0ETVuKIHadzkAm0pzfrmHM27p41V T2juaf9ZvgHg5xg21El95bhVmsgQq+Q0di2aTIfPqVvUhoO14GpCGYMy8l6XUxYcxH8p WS3Q== X-Forwarded-Encrypted: i=1; AKwUvBx8WLONBGlKd4yCLrUf9lMisc8A2LrQ2Bw40fm59Sf9hjvbYvW/gapVA/RyJWP+hMqmlFGtTqO9g4vfnmM=@vger.kernel.org X-Gm-Message-State: AFuF++koqVy6BGe7G1QDymhnCvJw/VF0h/7PLvCJ0OWj2Tba59CT389V pLyGkiHbYqN6hcUIJG/T9xXV1X7LQZzQW+Wy+sagngCseG0DOrOuAXAtZMQIM6ASZrrrXjFkOKl qRQE9PdR0S59XN3h+fBJ5IdsmHNQ0wjh4WJbr4vaiWXXvzaEfPpTmjUnnkqsvUG12NhE= X-Gm-Gg: AYBFou0suOWWxJeu2VYAiuuB8YRtbroDGhJiAzb3zSFtcRURyoR4lBRS+5YPnbJnRhl Ml3z+5mHzU2BHEHWUmJ7MC+DoMu8wmUuT9VWVxGRYyTqSQTa+MM6oq+9npv1hG9LnHU2jX3FZFJ GyifQVTnfe13XLKxY1Mbi1vBh6+UoLjUHiMTTsFnsJj4psoB0JSGksRdvbejp3bSb73v2XrzEkO f+QaR2t3Jl0ipbadA4k/8zgzgKMObRteiqte2uIF3i/LVevYnH13Wzo1s201PYd6YTGcMbe9Fan oMaTgM9q3wdwE6v1cGuGgSnO+6TjlBzq97PS53h9emMJJ4ZuW0PwUAiZS7m8gwofNXg+wNKOz0e NJ0HlWT/jcEjvn8dpj9igqDx6jt2Ttm0x X-Received: by 2002:a05:6a00:1786:b0:84e:354:422b with SMTP id d2e1a72fcca58-86b6f55356fmr3892855b3a.2.1789146809342; Fri, 11 Sep 2026 10:13:29 -0700 (PDT) X-Received: by 2002:a05:6a00:1786:b0:84e:354:422b with SMTP id d2e1a72fcca58-86b6f55356fmr3892808b3a.2.1789146808816; Fri, 11 Sep 2026 10:13:28 -0700 (PDT) Received: from [192.168.0.6] ([49.204.105.169]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-86b291c1601sm1492832b3a.31.2026.09.11.10.13.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Sep 2026 10:13:28 -0700 (PDT) Message-ID: Date: Fri, 11 Sep 2026 22:43:20 +0530 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 v2 4/9] soc: qcom: geni-se: Remove OPP rate reset from resource deactivation To: Konrad Dybcio , Sudeep Holla , Cristian Marussi , Ulf Hansson , Bjorn Andersson , Konrad Dybcio , Greg Kroah-Hartman , Jiri Slaby , Mark Brown , Viken Dadhaniya , Andi Shyti Cc: mukesh.savaliya@oss.qualcomm.com, chandana.chiluveru@oss.qualcomm.com, arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-serial@vger.kernel.org, linux-spi@vger.kernel.org, linux-i2c@vger.kernel.org References: <20260827-derive_clk_perf_tbl_from_perf_domain_opp_table-v2-0-091697dbeb02@oss.qualcomm.com> <20260827-derive_clk_perf_tbl_from_perf_domain_opp_table-v2-4-091697dbeb02@oss.qualcomm.com> <813aae42-22bf-4029-8f04-54fc555a2a1c@oss.qualcomm.com> Content-Language: en-US From: Praveen Talari In-Reply-To: <813aae42-22bf-4029-8f04-54fc555a2a1c@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: rmVGHhKYIS9gQxVLW9GoMT5UyFlgOzSh X-Proofpoint-ORIG-GUID: rmVGHhKYIS9gQxVLW9GoMT5UyFlgOzSh X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTExMDI0MCBTYWx0ZWRfX/rGkG2dt3vlg dEI3rTfaew8vSWzUhN0IS74enwoIQIw3GjTQX9+PI7za1luUfBW0HBCwcNSSKAjV62Fa7eEGVLm HdEvKIFWT1KipUVpxUNIG1fPdVTnBmLzkeXlOckxJbmR5iFfnJfwETpjBmSdmsClEukm/gpSpKk oIEVNETR5teYnh8OTRl9x5gCXrWNoEQDU7TA0mwT8ZennNVM4DJWBiVQn/xHcm0r95a4exKYLSC aWYuyYMGCVv1QWqnXwMsTGXKWXNsbQdoHq2qEIoisn/hwU0ti+u6l6vJPTZJuF4di5MUQ5TBR7v kl33J7eEX45vFyQaei0CoiqEygiSzQMf+qPB3M6+qd1R6KtS7l/vq08B2r9qW64z7dQob+dbI9Y jQfTCz78UEalYT4ZyT+bTVHxRagBwXSzXy1iGohav8QkmVJp0ppKAMAFmbVN3XT9x8MYnuBP7C6 6SBl7aJs+EXrGAPOghg== X-Proofpoint-Spam-Info: AW1haW4tMjYwOTExMDI0MCBTYWx0ZWRfXytRKZt4I6dDP /7Hy+Uh29qyaLryxn/mT/W4RBpYhSMhH5AAEav/NBsZoxq38UDLEqSIZoaL4Jtc5c81LErz4QjQ g1EEEfkyS8eFOQ7L3QoVFXglEjwP+lQ= X-Authority-Analysis: v=2.4 cv=UJFIjyfy c=1 sm=1 tr=0 ts=6aa436ba cx=c_pps a=mDZGXZTwRPZaeRUbqKGCBw==:117 a=KFINdI5Z0390/lZYonNNQw==:17 a=IkcTkHD0fZMA:10 a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=Bcqig9hN0zFNc8VZEzUA:9 a=QEXdDO2ut3YA:10 a=zc0IvFSfCIW2DFIPzwfm:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-11_05,2026-09-11_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 phishscore=0 bulkscore=0 spamscore=0 adultscore=0 malwarescore=0 suspectscore=0 impostorscore=0 clxscore=1015 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609110240 Hi Konrad, Thank you for review. On 04-09-2026 14:19, Konrad Dybcio wrote: > On 8/27/26 7:59 PM, Praveen Talari wrote: >> Remove the dev_pm_opp_set_rate(se->dev, 0) call from >> geni_se_resources_deactivate(). >> >> OPP resource management should be controlled by the consumer driver. > I believe the opposite was the original intent behind creating > these helpers.. Previously, resetting the OPP rate to 0 was applicable only to Linux-managed resource control. With this series, dev_pm_opp_set_rate() is used for both Linux-managed and firmware managed resource control. Therefore, the reset should no longer be performed unconditionally in geni_se_resources_deactivate(). Instead, the consumer driver can reset the rate when required, keeping the common resource deactivation path applicable to both configurations Thanks, Praveen Talari > >> Additionally, clocks are already disabled by geni_se_clks_off(), making >> the OPP rate reset unnecessary during resource deactivation. > That is, on the other hand, a valid reason > > Konrad