Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4940070pxu; Thu, 10 Dec 2020 09:00:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQVos9kfd9aB9qQNZu9LchyXS7uD7Djo1icSi3s4cQ8p4JgN+3g89k2G4uWuweQrQxoig+ X-Received: by 2002:a17:906:3294:: with SMTP id 20mr7325575ejw.239.1607619642923; Thu, 10 Dec 2020 09:00:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607619642; cv=none; d=google.com; s=arc-20160816; b=znYbKxoZZQ9NWIG75/wcf5sm9zt2jkoSawW2lQ/H+jnqS6WsWCgUB9Gu3333VBZ09/ 7Ez2/pyDTwVpA0sK7u8qiY/wfPFeKXfkf9MX87iAiW+5lM2FjPr7B3nb1/xbhU3DLrTP 3eZDuyno7oJavHYJujJk+QCQWlHuGlj0bAd6UM9Io/vtaCqmNtcR/Tv1h1N/Z8dNQFjj 6LDCGR/rm4+NS+fp4lpjCQ/4rkM27z28xl30sevtzSNXjoAno3QYS2cRnOW5tYlczHsR VtxV38xPFusljR/EeAu83PLl0k8REdQvpbLjsuBI3njE1GI1ymWf/p5VAoK637jZtfC8 4iqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=xPmQd5wl07FeaewsW8+7FEfLWxyz6sfUwoYgliNMngA=; b=jcAhM7oEFdFS9AWPB7rd+HAp0ytLngSxr2X+8x2tYoV13gnESXJrt3oSJDKJvCJjip +o9xcPUNcCTAbFsXwTj6fe0eKUB/NaqedodkUCwEM5lFLZ/QHWiUR8tBl8zym5mz9TbU OQk66W7ERL99iMKnh9aPUO1gfPpfErYaYTlRk7L8WGidatbxIwAZlaRrT9IRErKtpbzH lPhp3rhq4ODqW64JhPu3W+rO/yB9wLqufzwjLio66wz87tczRD5xotx/C/2Qfn1kVZYN u/QwqSmdlgu/h62pNei0wI8XouclSeJRVhXPU2ofoLPFU4tMOD0x2PweB9FVZm1DfOS7 INSA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m1si2897909eja.95.2020.12.10.09.00.18; Thu, 10 Dec 2020 09:00:42 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392174AbgLJQ5E (ORCPT + 99 others); Thu, 10 Dec 2020 11:57:04 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:46566 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391932AbgLJQ4u (ORCPT ); Thu, 10 Dec 2020 11:56:50 -0500 Received: from 89-64-77-250.dynamic.chello.pl (89.64.77.250) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.530) id cdfd7695336cc5bb; Thu, 10 Dec 2020 17:55:57 +0100 From: "Rafael J. Wysocki" To: Mian Yousaf Kaukab Cc: "Rafael J. Wysocki" , Mian Yousaf Kaukab , Len Brown , Viresh Kumar , Ionela Voinescu , ACPI Devel Maling List , Linux Kernel Mailing List , Linux PM , Petr Cervinka Subject: Re: [PATCH 1/2] acpi: cppc: add cpufreq device Date: Thu, 10 Dec 2020 17:55:56 +0100 Message-ID: <1916679.syIRshJoYJ@kreacher> In-Reply-To: <20201210150417.GA24136@suse.de> References: <20201210142139.20490-1-yousaf.kaukab@suse.com> <20201210150417.GA24136@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. If that is done timely enough, it may still be possible to push those patches for 5.11-rc1. Thanks!