From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B858340F8EB; Tue, 20 Jan 2026 14:28:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768919316; cv=none; b=ZtmkEAJW4NtVOcI1h+epmFa2h2YWuBBOlhBaYyRMwm+7DR6cLWuyD6lChrv+qFX8D4cyWThlrJfBmmTt3z/Dkpj0JwC8zac/ypMRvX5g87DnjAeTRZlyqg5OT9rAZH5LlMmXQpRNcHv73QIWHFfZ+K6kauCfmelhBsVIPexLk2I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768919316; c=relaxed/simple; bh=OtwTnDpvDtbMBHvqPMZewcBZYEUS5NfRqaxfbB7joZY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mFXPBJLakzOgP1HbIGXK/w7Lgt/ATMl7FU6awjkCW4wHhl2OTasYh8kWt/0kaQE1CFYrcSUYXBy16fIqDQ6EeaBsYXcGBp2ezmYsGQA7qFOGzkAn9RcqY1hlPy8/A+JFWXFRk+Q7xxru3iEAXPeQf1YMAxRLGxfAjx67E4+HGz4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Fn4JA8d1; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Fn4JA8d1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D304CC19423; Tue, 20 Jan 2026 14:28:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768919316; bh=OtwTnDpvDtbMBHvqPMZewcBZYEUS5NfRqaxfbB7joZY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Fn4JA8d1pUoK5IYDAD/REmgz3XFxvQ+4EMUiivOVIwX0mBUNuj1YudA6H2j/KP2js 1u7RZ3bveDlNfpGQfj5OGzCZJjpb35llivcWTSd1DS9XVszq78JeigVaaDJt30fVNe m8EiHvICvqta/R6tBqkwUokrutW8CSVjFsCTw82ts94PN7Wb23kyOBNOizq+Fel7E3 RpxysRXLhJfosaVgI0e4cwNxSR+D+4cuGZXBmV9O3xQa+5Ik08YXEiNzb0UdVRDW// xY4ofNxvVqahQAvNh0AywkWtlNbS4RWT6M+8pUp5n0ah3jDMHxD4+LYjUSU0SYsqyP 4vxzGPayTPZrQ== Date: Tue, 20 Jan 2026 15:28:30 +0100 From: Frederic Weisbecker To: "Rafael J. Wysocki" Cc: LKML , "Christophe Leroy (CS GROUP)" , Alexander Gordeev , Anna-Maria Behnsen , Ben Segall , Boqun Feng , Christian Borntraeger , Dietmar Eggemann , Heiko Carstens , Ingo Molnar , Jan Kiszka , Joel Fernandes , Juri Lelli , Kieran Bingham , Madhavan Srinivasan , Mel Gorman , Michael Ellerman , Neeraj Upadhyay , Nicholas Piggin , "Paul E . McKenney" , Peter Zijlstra , Steven Rostedt , Sven Schnelle , Thomas Gleixner , Uladzislau Rezki , Valentin Schneider , Vasily Gorbik , Vincent Guittot , Viresh Kumar , Xin Zhao , linux-pm@vger.kernel.org, linux-s390@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 07/15] cpufreq: ondemand: Simplify idle cputime granularity test Message-ID: References: <20260116145208.87445-1-frederic@kernel.org> <20260116145208.87445-8-frederic@kernel.org> Precedence: bulk X-Mailing-List: linux-pm@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: Le Tue, Jan 20, 2026 at 01:32:50PM +0100, Rafael J. Wysocki a écrit : > On Mon, Jan 19, 2026 at 11:07 PM Frederic Weisbecker > wrote: > > > > Le Mon, Jan 19, 2026 at 01:30:07PM +0100, Rafael J. Wysocki a écrit : > > > On Fri, Jan 16, 2026 at 3:53 PM Frederic Weisbecker wrote: > > > > > > > > cpufreq calls get_cpu_idle_time_us() just to know if idle cputime > > > > accounting has a nanoseconds granularity. > > > > > > > > Use the appropriate indicator instead to make that deduction. > > > > > > > > Signed-off-by: Frederic Weisbecker > > > > > > Acked-by: Rafael J. Wysocki (Intel) > > > > > > or please let me know if you want me to take this patch. > > > > The patch is standalone but the rest of the patchset depends on it. > > Now I don't target this patchset for v6.20-rc1. > > > > So if you manage to sneak this patch in for v6.20-rc1, it works because > > I'll rebase on -rc1. Otherwise I'll need to keep it to avoid breaking > > some code assumptions. > > > > What do you think? > > It can go into -rc1. Very nice, thanks for taking it! -- Frederic Weisbecker SUSE Labs