Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5510176pxj; Wed, 26 May 2021 12:14:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzglAbzfq2dvjgUittpT3k9Ye8JUHp0e3nxXowN4+pSi8a1tlQwiWUijmPH/Bfz76QUzIce X-Received: by 2002:a02:91c1:: with SMTP id s1mr4656896jag.61.1622056467991; Wed, 26 May 2021 12:14:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622056467; cv=none; d=google.com; s=arc-20160816; b=sQbf5t6j/eqTfIUIiw2hyupWmExVJDsWTm7vBa0EemfTU9kaePcq0CmDUAITI+VVJn xH80NGIzRgH/3PycdDOEkuesALtHgZ0Av3X+JzT6xLztJG9ny0Qm2mDY+ZpTdzLhS3j2 MKw6x4v51dp7koN3FMJjVRvpJmv+BMzbQuzz4Ryy+u2/5ufrytA+CHRdrkwfIYwrZ6TV E4QNzO2fySwHBnjKXu78LVcGjwIUq3tx7/uR0wD1lO4skHIgEGU8CCbmZXzHta1ALexp rX4hC7lgziZ6ZCe4w28jzxR/R/v03xdfq+ySdHfdwBXH5h1/q2GodX1tjgDqoYSft3DR ZaYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=TxytkwoG7Iibrc/KkkhTAYgUuDuseuPsYobi7j4xVbw=; b=jpysH1kM8oYFTEIh1HbyUTPV8gz2o9sNQNBczMWAQa5oZjyLyKDdoBCLIQz1lzq8JJ ujETIW6HGtKwriE8yJHsVcuaBkJ8eWhhs3roXMMNvmnxj6E9dyIsn6YkTgXhxXXHC/+s z+XcKD9dvTP/tfuMrWnK5qCsh5Yc2XfALyiY3mXYF02kxMhDL+RfrnIonHVXA37DVd2F u/hZkT7zGGrVzlwlwxULaVQ3d+uFkxN0PnM8U+Je2p4p3r3GkIM8H4P051l3/zcXqLQs NH45Gq7QiGjj1/91ywlvUBY2eIFgZGkF1yVPLacBYaineV7pCiGusCL+VvSyqvVbLnGS IhBg== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j10si20443479ilk.31.2021.05.26.12.13.50; Wed, 26 May 2021 12:14:27 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234169AbhEZROT convert rfc822-to-8bit (ORCPT + 99 others); Wed, 26 May 2021 13:14:19 -0400 Received: from mail-ot1-f50.google.com ([209.85.210.50]:35703 "EHLO mail-ot1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234127AbhEZROQ (ORCPT ); Wed, 26 May 2021 13:14:16 -0400 Received: by mail-ot1-f50.google.com with SMTP id 69-20020a9d0a4b0000b02902ed42f141e1so1702753otg.2; Wed, 26 May 2021 10:12:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=TBOemGopDfiBmIqH0OnacL3v5GkpKCDhQTWQv9aQog8=; b=lQoO4ue+Imggi6nLmtN1/4wz3CyLBEDzvZQXdH6adKI2YhhW02kbXXwy67CrRRin2a QtZnb7dC7dtJhKiPyk4W6edBjn6ZJh2KWjMj7cZCIIMMGXQ7v5kW/4sqxnzmFr1Z/9KP fEeUTCCNrh5tUzrQ1YNfamm5aWpJdqbPtaawtzl+28mi+MaKEwBPPabECuP2jLWYbbjA zmiacVZR1iG3nj7OIM3Ih0ywAisWCTAXCAhIHZSuYZIwWcp3HTf1L3qIml6UXZ6mFwAm zJh9BYURHo+mf3CTDgPV5mZQ4KiN5f9Pyel6wFXOlHLxQl05LgEfiShXNHoDyCrqf3Tm tRhg== X-Gm-Message-State: AOAM530S8oAm0xM0WAMln1Fg26jdfimrLWKB2PYGiM3ozq0EACsXdfrk h0JgYKJFJ/K+9wH8cv6rBn1hk/INMp91usSszNc= X-Received: by 2002:a9d:3bcb:: with SMTP id k69mr3321117otc.206.1622049164811; Wed, 26 May 2021 10:12:44 -0700 (PDT) MIME-Version: 1.0 References: <4337451.LvFx2qVVIh@kreacher> <4f0f3e94-d42a-a0fd-ced6-bd1edd6d471b@infradead.org> In-Reply-To: <4f0f3e94-d42a-a0fd-ced6-bd1edd6d471b@infradead.org> From: "Rafael J. Wysocki" Date: Wed, 26 May 2021 19:12:33 +0200 Message-ID: Subject: Re: [PATCH] cpufreq: intel_pstate: hybrid: Fix build with CONFIG_ACPI unset To: Randy Dunlap Cc: "Rafael J. Wysocki" , Linux PM , LKML , Srinivas Pandruvada , Chen Yu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 26, 2021 at 6:10 PM Randy Dunlap wrote: > > On 5/26/21 8:01 AM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > One of the previous commits introducing hybrid processor support to > > intel_pstate broke build with CONFIG_ACPI unset. > > > > Fix that and while at it fix up empty stubs of two functions related > > to ACPI CPPC. > > > > Fixes: eb3693f0521e ("cpufreq: intel_pstate: hybrid: CPU-specific scaling factor") > > Signed-off-by: Rafael J. Wysocki > > Hi Rafael, > > I still have this build error: > > ../drivers/cpufreq/intel_pstate.c: In function ‘show_base_frequency’: > ../drivers/cpufreq/intel_pstate.c:950:10: error: implicit declaration of function ‘intel_pstate_get_cppc_guranteed’; did you mean ‘intel_pstate_get_epp’? [-Werror=implicit-function-declaration] > ratio = intel_pstate_get_cppc_guranteed(policy->cpu); Well, I did too much in this patch, will send an update shortly. > BTW: s/guranteed/guaranteed/g Right.