Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4961366pxu; Thu, 10 Dec 2020 09:28:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4QWV9ftvAz5heFtsTiK2EcRG3YPf4m7Yowzds9+8lapAyoYeUW4oIu4+8yiKPdr+IKvoK X-Received: by 2002:a17:906:3ecf:: with SMTP id d15mr7352478ejj.297.1607621310549; Thu, 10 Dec 2020 09:28:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607621310; cv=none; d=google.com; s=arc-20160816; b=tFL4Ab+jBBQhCDKZ5sgrZURzL625oZWHRk7eybXUpCl4cCDR6O45YckDRbK0aKpCgY fmnbbUdVeiNmSjx0zinfks3N9jEWWhB+3okTrbNU9E8I353H/99lBlXbe5FNAsKxYAqZ rSjwcLMa3sGjwCYOZVoBZgF5O2gZfbLqlyKOfQrJ+aJYzp0DlM5WUEd4BFVoCvQK8U+W GkzGVvt1t9//AmnyFo30Iqsn0Om+klnJoNeQXV/l6Kz/30cCFIKbsQf+PC4RrFpYfXrm rFzjLsDtq7IXz1LKN+lw2zSGZFGxDabZTDDV4JzYCh11kzqrZuVN5/yIyezYQDXzz20Q kKqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=BlUi0/QrPd9PLyuLuHShYn/ylFDV+v/tl6ypnwIbKZc=; b=if2j80DXYwZYXlENMck30X2i2chYMqjNuebJJmzUA19I+dkbCOTlaEA/YKd2ID3d3E TKN1WhEX1ae2CIgObvG+r/DMTCcz2GIJc4ngPuQM72tfWRlpYv2RGt+IDXUd9fUUwx9/ nlUrgio2pjEMHjPJSE6pEf7IAJc8CvPM61etJYhIitGg355182WxQ6RmOgjzFRtlyfAa vHVtfop2mgN8qHYfV/0VEWwUpc7pwd6KxiFoOOWkUA5guCnULrSbIX5lEpxSOhkKl/bL NLCge47ocWHsB3K/nC6XbTFYzEhm2ToP8cWsRsDS4fmJDQ6Qm5XOpf2b2sEA/VRtxDGV n4jA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zn8si3198413ejb.299.2020.12.10.09.28.06; Thu, 10 Dec 2020 09:28:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392336AbgLJRZ2 (ORCPT + 99 others); Thu, 10 Dec 2020 12:25:28 -0500 Received: from foss.arm.com ([217.140.110.172]:54690 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728969AbgLJRY3 (ORCPT ); Thu, 10 Dec 2020 12:24:29 -0500 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 CEFC730E; Thu, 10 Dec 2020 09:23:41 -0800 (PST) Received: from localhost (unknown [10.1.198.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6F2EB3F66B; Thu, 10 Dec 2020 09:23:41 -0800 (PST) Date: Thu, 10 Dec 2020 17:23:40 +0000 From: Ionela Voinescu To: "Rafael J. Wysocki" Cc: Mian Yousaf Kaukab , "Rafael J. Wysocki" , Mian Yousaf Kaukab , Len Brown , Viresh Kumar , ACPI Devel Maling List , Linux Kernel Mailing List , Linux PM , Petr Cervinka Subject: Re: [PATCH 1/2] acpi: cppc: add cpufreq device Message-ID: <20201210172339.GA2828@arm.com> References: <20201210142139.20490-1-yousaf.kaukab@suse.com> <20201210150417.GA24136@suse.de> <1916679.syIRshJoYJ@kreacher> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1916679.syIRshJoYJ@kreacher> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rafael, On Thursday 10 Dec 2020 at 17:55:56 (+0100), Rafael J. Wysocki wrote: > On Thursday, December 10, 2020 4:04:40 PM CET Mian Yousaf Kaukab wrote: > > On Thu, Dec 10, 2020 at 03:32:09PM +0100, Rafael J. Wysocki wrote: > > > On Thu, Dec 10, 2020 at 3:23 PM Mian Yousaf Kaukab > > > wrote: > > > > > > > > Convert cppc-cpufreq driver to a platform driver (done in a separate patch) > > > > and add cppc-cpufreq device when acpi_cppc_processor_probe() succeeds. > > > > > > Honestly, I prefer to drop 28f06f770454 (along with its follower) > > > instead of making this change. > > > > > Even if we revert 28f06f770454 there is still one more small issue that these > > patches fix. Currently, ACPI_PROCESSOR_DEVICE_HID is used to load cppc-cpufreq > > module. In case when CPPC is disabled, some cycles will be wasted in loading > > cppc-cpufreq module. The module will return error from the init call though > > so no memory is wasted. > > > > After converting to platform-driver, cppc-cpufreq module will only be loaded > > when the platform-device is available. > > Even so, that issue is low-impact AFAICS and may be addressed later and I'd > rather not let known breakage go into the mainline. > > I'm going to do drop the problematic commit now and please work with Ionela > to produce a clean series of patches in the right order to avoid introducing > issues between them. > The following commit will be easy to drop: a37afa60de38 cppc_cpufreq: optimise memory allocation for HW and NONE coordination (2 weeks ago) 28f06f770454 will be more difficult to drop as it's embedded in the series, and removing that one will produce conflicts in the patches that follow it: f9f5baa8b2a8 ACPI: processor: fix NONE coordination for domain mapping failure (3 weeks ago) cdb4ae5de6f7 cppc_cpufreq: expose information on frequency domains (3 weeks ago) c783a4d94848 cppc_cpufreq: clarify support for coordination types (3 weeks ago) 3bd412fb2c7f cppc_cpufreq: use policy->cpu as driver of frequency setting (3 weeks ago) 28f06f770454 cppc_cpufreq: replace per-cpu structures with lists (3 weeks ago) bb025fb6c276 cppc_cpufreq: simplify use of performance capabilities (3 weeks ago) 48ad8dc94032 cppc_cpufreq: clean up cpu, cpu_num and cpunum variable use (3 weeks ago) 63087265c288 cppc_cpufreq: fix misspelling, code style and readability issues (3 weeks ago) Let me know how you want to proceed and I can either send a replacement series or reverts with conflicts fixed. Also, if you want you can drop all 5 (all before and including 28f06f770454), and I can add them again in the series that fixes the problem that Yousaf reported. Thanks, Ionela. > If that is done timely enough, it may still be possible to push those patches > for 5.11-rc1. > > Thanks! > > >