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 651BF344044 for ; Tue, 16 Jun 2026 11:39:34 +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=1781609975; cv=none; b=KC63jwm1+1Gw3hzb0qIYPVumg+bIJydqjUnVBtHTfiQtRVGUGCPBD1fTeTglOpmG7Macvbj9ucsx/zuxhYyMyzrurb+5PzuoBwYyBPzCojQUuHmCsdSNtyNM6H/FmJWXX4G8a+eDPTRyTxcarJVM71G9gRTABLtJtfqIwuhtIJM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781609975; c=relaxed/simple; bh=cdB9n4zhfA411DFKBEmVB01R9yJgxUzu2Kl7rbYAT9c=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=C9TDjeFGwrXlwpcGJJbwtrCY5EbEP5NtOUsn/rAJ534LrzV+/9VlWqZoOT0V80ictMJrTWDGDZyc9GqIQdsEssMCJ/+IK/hmMs7EcA1w37SOFgBAzeTZn1kxS6ewITHfGzAs5w0bT2DmKIPTHJdgzcSyFdv6xLUZVZmXC78vX+Q= 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=LBwH4lPV; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=YHpQ6VAc; 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="LBwH4lPV"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="YHpQ6VAc" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65GACI1X3411098 for ; Tue, 16 Jun 2026 11:39:33 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= I56fOt3ysDTByYRTLiZG/A+YVqbSFJB8HPjJn/AF3ho=; b=LBwH4lPVLGAco/IJ lAlkVXGvKHsq59IPHRmrz+wBWuK7+TrDUV71qxPnizvzEqqu8+16vRZUKvG1H55k /9dBMyMK0LBAR7Z0iQeAgPEIdSIMrO1OPu8fIDqZIhARUXkMEchSmOx/93mbVOE+ txkCeY0TcqGPQWUNZG5SQ7hHTW8nJR0hKenn3YNaVpz7Av+WBbvEPZQ8r3b2lans t/WRunBFpNmdqvf/X+WXSnXXzSsPuSgsdR6l9654qMiHkmdK7ryVjpFT5EGWBUD8 wJUk0i5+ZvIlW5eS7ztXa4Lu0irf02nMgoLEMzPyQ8TaMB8OTsg6+Fth3kRq9w+M 50ea9g== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eu09g9jap-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 16 Jun 2026 11:39:33 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-915a4ca0a4aso46542285a.1 for ; Tue, 16 Jun 2026 04:39:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1781609973; x=1782214773; darn=vger.kernel.org; h=content-transfer-encoding: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; bh=I56fOt3ysDTByYRTLiZG/A+YVqbSFJB8HPjJn/AF3ho=; b=YHpQ6VAcwsug7elOUPDB7rIhHhtoWc1IcAS6b18VqCI8+CL2l8AFBFgjj07v3exaFr BxhQGXdiCoBl/qALpuHnOXI3Mxk6J0+rxCQ67cq800zvOisMfO2MOxgYwAfakxs/08ky Xv5lZHqsH+6chWDT43wd3nQ1jLrLPuUx3cbMuq9kv0pgJhyiXho9cKB7chn0P7A+ZJ8V rwLEJL/QtFarQEvRAuDOpvk3WugbTn5mEkqSA5NUKB+9YxHgYdpJ3znVKahQ0ltJc990 NfHOS3/SmxjezRnJWi+WdPmrx5HYUiRMjzqvC9YfXX0xlHFVURsvgrauOJ2D5ApNVezF aGLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781609973; x=1782214773; h=content-transfer-encoding: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; bh=I56fOt3ysDTByYRTLiZG/A+YVqbSFJB8HPjJn/AF3ho=; b=SaPPfJpLMjpk8JW1qUTBKK/zujY1zocbHopa2YJ6euthwk9OAJoPq5Q/gID5g/yCXu 5i1NHUnOkURyYqINac+C3B2RyOEB32KKeFz3UFyIz9j1Teigr/GbVIDhTqCKKIA4+KgR w4Oois9OITEJ5wk00toq6jWJ7hVOgOrcUzaANQytPjy0ywNhdPTirKq/KPpLp8s9IGrF de7L1LdlK5KFGi6hkXWg8IHB6Fbov9EsDdTFWA09YEgIQx+t9EHpAuFoAhldxzObx80B Jvq8asH/jXMCgY79Tdmum+MT0Bc6dbFXdovw4YjqtD7ZrGN2g+/AFol+VVI4+8eJ52Ah GLTw== X-Forwarded-Encrypted: i=1; AFNElJ+7NGtM1g6wBE4YCyTpUelrE5C0O3nqj508UUfZZwPbGdNe2VSfqXQ02D2BDqxbZz145IH+dsZPF+L9jZQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yz2XL2a8NBmcPJ+2Mle2ULZFOEgALqcTYtUx0D9taZnrjrPtH5/ 73+v0PDYydsTaiGxv8kkkuwYwKfrliyGe142FvdvLKKUVOlbgdorXmJiWH0dT63ivI1Q7soz5Zb WLQkS2V31IC64OSx0CJUvpJ1U94PmIQbjLnhuWilEiKW2gXDy3268KNnwflh/OkWVKsM= X-Gm-Gg: Acq92OFf8nccZ/1zpjapxjZrAeLWXnIS/9iUtCOFjYzX23erao0l1avZftbwDSPpMn4 1kparMKvibQJSPN2sxL2YTBPswZFnfSqLjaL+/K6gPurvZrT5qghWaRFplKQDNjFxz/Kh6yFDeA jZnVqTY0gpxe2uDO1IshKRGI2amqRU+6qhyPkG4qAqX9yBQnZYbuXuJQOzm6E6S9mPBFfUwN3zj dDWGhNnhX9FcheThXVQEwen3ENgGeousFuMdY7hsr9wXhHqs+GS+RH3uLifzrqB/zpB0IM/lsLv JD4hby+exdhF8CmHJboAs3JTY/v+HzMtHCBmck9FurU+kVJj8FPxXTSDhTvcIE2Op8KbWfFh9ik ZxRfFDt27Z3Lb3ZJAMrAsPRnc+0x5gK6I4Da2Td6nG9bReA== X-Received: by 2002:a05:620a:c4d:b0:915:4ca0:1210 with SMTP id af79cd13be357-9161bc725a3mr1781374285a.3.1781609972724; Tue, 16 Jun 2026 04:39:32 -0700 (PDT) X-Received: by 2002:a05:620a:c4d:b0:915:4ca0:1210 with SMTP id af79cd13be357-9161bc725a3mr1781371585a.3.1781609972307; Tue, 16 Jun 2026 04:39:32 -0700 (PDT) Received: from [192.168.120.170] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-bfdb531896dsm625714166b.27.2026.06.16.04.39.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Jun 2026 04:39:31 -0700 (PDT) Message-ID: <7a92ca6c-cc66-486f-b297-cb2907e1c0e6@oss.qualcomm.com> Date: Tue, 16 Jun 2026 13:39:29 +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 v3] soc: qcom: icc-bwmon: Update zone1_thres_count to 3 To: Pushpendra Singh , Krzysztof Kozlowski , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Shivnandan Kumar References: <20260227111051.1789439-1-pussin@qti.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20260227111051.1789439-1-pussin@qti.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjE2MDExOSBTYWx0ZWRfX87c8Da0z46nV FTJ7nfHgxGrIRXx7XnSaY+kuzRICa3gbQBk8W9+xwSq19IW4vS6JNgC8VcLo62gHuSoGVOGiWv8 huTtK0RFJxTtoHlKmen0Lh9LG3oL2oU7CAW+n2uDehf2UnKm19qlfm0eXsE3hfrO+8lIJx3fhh4 V0KZ98XHhWFVq2PORBrtoqPzgkvlMVBiWQrcCgxec1OH1386RU35f7JVB+QUBbFjF7gWhbtX7qj dK9O21+dYE/wJ34HPeEjw4aLm9b7mZP70dZndmPbgEcNGv8ERgDRB+WWj9wuO9Fi0jD+ww04vN5 mWOQ3rNubgdM2PSqC4rN+x4DEDhGsfQVZ51BlE1a46gabl6Zv4fYVJO/JHutk1rI58MmL1Xb9xG KgnQQzkzB8FbH/gzG69/oM+qtYhog9ZvPcAC0C974MnxzReczrvWswt9tSVr9/JU3KFqtvUBA+h Ug5M3X8q/wYQyD39QBw== X-Proofpoint-ORIG-GUID: aByy7ElkQg0-O69Mim4MlWmEqVInafbk X-Proofpoint-Spam-Info: AW1haW4tMjYwNjE2MDExOSBTYWx0ZWRfX47kwURS3aW0u yZOHq6mPpEKriPLD9/1NMygG2zSYgCB0vUAZx4cCBkxdMQM5LaCkcAgW0rCrodxknwneNCuzSy4 dpH9FaS4bgcdAxmWuI6WbBe2+2gEhsA= X-Authority-Analysis: v=2.4 cv=DLa/JSNb c=1 sm=1 tr=0 ts=6a3135f5 cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=COk6AnOGAAAA:8 a=EUspDBNiAAAA:8 a=fIRz_ROpwzs29qmCFkkA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=bTQJ7kPSJx9SKPbeHEYW:22 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-GUID: aByy7ElkQg0-O69Mim4MlWmEqVInafbk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-16_03,2026-06-15_04,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 spamscore=0 malwarescore=0 priorityscore=1501 phishscore=0 suspectscore=0 bulkscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606040000 definitions=main-2606160119 On 2/27/26 12:10 PM, Pushpendra Singh wrote: > From: Shivnandan Kumar > > Reduce zone1_thres_count from 16 to 3 so the driver can lower the bus > vote after 3 sample windows instead of waiting for 16. The previous > 16‑window delay (~64 ms) is too long at higher FPS workloads, > causing delayed decision making and measurable power regression. > > Empirical tuning showed that lower values (e.g., 2) made bwmon behavior > jittery, while higher values (4–6) were stable but less responsive and > reduced power savings. A value of 3 provided the best balance: responsive > enough for timely power reduction while maintaining stable bwmon > operation. > > Significant power savings were observed across multiple use cases when > reducing the threshold from 16 to 3: > > USECASE zone1_thres_count=16 zone1_thres_count=3 > 4K video playback 236.15 mA 203.15 mA > Sleep 7mA 6.9mA > Display (idle display) 71.95mA 67.11mA > > Signed-off-by: Shivnandan Kumar > Signed-off-by: Pushpendra Singh > --- Since this patch does not seem to be moving on its own, I will gladly hijack the discussion.. I was wondering if we could transplant the bwmon devfreq+governor+memlat setup from downstream. It seems to be way "smarter", in the sense that it keeps some hysteresis information, unlike icc-bwmon, which is purely reactive to immediate signals, in addition to (in my brief understanding) sampling other data sources, such as the PMU Konrad