From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5909BC433EF for ; Mon, 4 Jul 2022 09:56:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232744AbiGDJ4P (ORCPT ); Mon, 4 Jul 2022 05:56:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233959AbiGDJ4N (ORCPT ); Mon, 4 Jul 2022 05:56:13 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CA909DEC9; Mon, 4 Jul 2022 02:56:12 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DFB4A23A; Mon, 4 Jul 2022 02:56:12 -0700 (PDT) Received: from [10.57.41.108] (unknown [10.57.41.108]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3F2E63F792; Mon, 4 Jul 2022 02:56:08 -0700 (PDT) Message-ID: Date: Mon, 4 Jul 2022 11:55:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH 0/4] cpufreq: qcom-hw: LMH irq/hotplug interractions Content-Language: en-US To: linux-kernel@vger.kernel.org Cc: Ionela.Voinescu@arm.com, Dietmar.Eggemann@arm.com, "Rafael J. Wysocki" , Viresh Kumar , Andy Gross , Bjorn Andersson , Dmitry Baryshkov , Vladimir Zapolskiy , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org References: <20220615144321.262773-1-pierre.gondois@arm.com> From: Pierre Gondois In-Reply-To: <20220615144321.262773-1-pierre.gondois@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Hello, I saw that: https://lore.kernel.org/all/20220617064421.l4vshytmqtittzee@vireshk-i7/ was applied, so this patch-set would need to be rebased. Please let me know if you think it requires modifications before it gets rebased, Regards, Pierre On 6/15/22 16:43, Pierre Gondois wrote: > This patch-set provides fixes for the qcom-cpufreq-hw driver regarding > LMH irqs configurations and (un)plugging CPUs. > commit ffd6cc92ab9c ("arm64: dts: qcom: sm8250: add description of dcvsh interrupts") > enables DCVS (Dynamic Clock and Voltage Scaling) for sm8250 chips > (so rb5 included). As no LMH (Limits Management Hardware) interrupts > were seen, the firmware used for testing should not be able support > them. > > The patch-set was tested on a rb5 with an old firmware version: > UEFI Ver : 5.0.210817.BOOT.XF.3.2-00354-SM8250-1 > Build Info : 64b Aug 17 2021 23:35:39 > > This patch-set should still contain relevant modifications regarding > LMH interrupts and CPU hotplug. Still, it would be good to test > it on a platform which actually uses LMH interrupts. > > LMH irqs can be identified with: > cat /proc/interrupts | grep "dcvsh\-irq" > and their configuration can be seen at: > /proc/irqs/XXX/* > > Pierre Gondois (4): > cpufreq: qcom-hw: Reset cancel_throttle when policy is re-enabled > cpufreq: qcom-hw: Disable LMH irq when disabling policy > cpufreq: qcom-hw: Remove deprecated irq_set_affinity_hint() call > cpufreq: Change order of online() CB and policy->cpus modification > > drivers/cpufreq/cpufreq.c | 6 +++--- > drivers/cpufreq/qcom-cpufreq-hw.c | 16 ++++++++++++---- > 2 files changed, 15 insertions(+), 7 deletions(-) >