Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3965910pxf; Mon, 22 Mar 2021 21:57:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygJNTQFCESxGysOgs0FetKJH6lJAeX0r+vbqWIvUBfh6yn5yIkg60VW9QIvsq9mD6ODd75 X-Received: by 2002:a17:906:9442:: with SMTP id z2mr3183652ejx.79.1616475425381; Mon, 22 Mar 2021 21:57:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616475425; cv=none; d=google.com; s=arc-20160816; b=nUoFani8XbyJQt+Y8zqs+8vc3XjXlw0vxuyX3D+aiCjRGxUaQ2XIySw872alrKWXHc +mM9FrnsZp8oxxMWJH5H7Q3Awl5xpX+riO3VMQLSzcF46C6Fd/IFmB0aFjFQbEkLrRD3 nif2Gx8BqYHpZTn+F24DsH4gIw9y6QhByUKWjuy6LrtBuzP6PHrVOlLv+TE4538UZQX0 RbNOlBVxAPQXr2P4drng6XFY2UU3jBwRsTGC+PX5wZErOpqpybxxg1tj+sT1dwaFECIw A7kiH3bsPMz/Y07MTAlhSYdqtxZQzUn4mAUq2Ts8tvA3mx/w1oboxLeZi3fLpgTKc8mB Obcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=63t3Nbm5T1HfhRi6GC3BkbScomTWMgdEJQJyWmQQPQE=; b=BDF9FRS5ajKKlvmAQ/cEB4yFVw+G4dXSqAVMpuJq9/60OD+YWh1Zwgd+9bN8BP6VLc qiiol0Iew6EovyCZtRypc6UDfUT7NQCb57mHOumqI/+PlhRq+wgZd5xTzUN/J//BgaaC 7tCOtWIC7ceM2LIL4uWCQZ/HMIKBLwp1giZu4JNHpCitfIOkxyImjtAcKexGAitp7Efn gWCgJF19pNBm66UJ8Y3BCU75/XuArz90jGXGYLzaODVDFKvpxeAnqSoNs6onUd2yko3Q yQ5wZh4VOiUzVLYjDkzPJJddScao0ikCzFK5RlVYsPMsUqlu/RGUgUXKUZz4QffgkK9C 1BSA== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ga24si12679814ejc.422.2021.03.22.21.56.41; Mon, 22 Mar 2021 21:57:05 -0700 (PDT) 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229653AbhCWEzE (ORCPT + 99 others); Tue, 23 Mar 2021 00:55:04 -0400 Received: from mga18.intel.com ([134.134.136.126]:42797 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbhCWEzC (ORCPT ); Tue, 23 Mar 2021 00:55:02 -0400 IronPort-SDR: c97/r/el3Srh6XHK3/qZbcleyqaT9QG1G+8A3ivO7xrj56f4D5ZVds7Y+LD433CJYwfi0VCvth H08u82iLB9RA== X-IronPort-AV: E=McAfee;i="6000,8403,9931"; a="177972533" X-IronPort-AV: E=Sophos;i="5.81,270,1610438400"; d="scan'208";a="177972533" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2021 21:55:01 -0700 IronPort-SDR: yhYI/1uJUy4l7EaguqVVIxEe5ZZZxUj0hnwrZZI9coHoAAaF92ddet0KSoGvVBDrlciJjtUgFf bzAhf0k1z9Bw== X-IronPort-AV: E=Sophos;i="5.81,270,1610438400"; d="scan'208";a="414797782" Received: from chenyu-desktop.sh.intel.com (HELO chenyu-desktop) ([10.239.158.173]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2021 21:54:59 -0700 Date: Tue, 23 Mar 2021 12:59:08 +0800 From: Chen Yu To: "Rafael J. Wysocki" Cc: Linux ACPI , LKML , Linux PM , Srinivas Pandruvada , Viresh Kumar , Ionela Voinescu Subject: Re: [PATCH] ACPI: CPPC: Add emtpy stubs of functions for CONFIG_ACPI_CPPC_LIB unset Message-ID: <20210323045908.GA71586@chenyu-desktop> References: <538668936.KFQZekuijD@kreacher> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <538668936.KFQZekuijD@kreacher> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 16, 2021 at 04:54:03PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > For convenience, add empty stubs of library functions defined in > cppc_acpi.c for the CONFIG_ACPI_CPPC_LIB unset case. > > Because one of them needs to return CPUFREQ_ETERNAL, include > linux/cpufreq.h into the CPPC library header file and drop the > direct inclusion of it from cppc_acpi.c. > > Signed-off-by: Rafael J. Wysocki Tested-by: Chen Yu thanks, Chenyu