lkml.org 
[lkml]   [2022]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 6.0 670/862] cpufreq: intel_pstate: Add Tigerlake support in no-HWP mode
    Date
    From: Doug Smythies <dsmythies@telus.net>

    [ Upstream commit 71bb5c82aaaea007167f3ba68d3a669c74d7d55d ]

    Users may disable HWP in firmware, in which case intel_pstate wouldn't load
    unless the CPU model is explicitly supported.

    Add TIGERLAKE to the list of CPUs that can register intel_pstate while not
    advertising the HWP capability. Without this change, an TIGERLAKE in no-HWP
    mode could only use the acpi_cpufreq frequency scaling driver.

    See also commits:
    d8de7a44e11f: cpufreq: intel_pstate: Add Skylake servers support
    fbdc21e9b038: cpufreq: intel_pstate: Add Icelake servers support in no-HWP mode
    706c5328851d: cpufreq: intel_pstate: Add Cometlake support in no-HWP mode

    Reported by: M. Cargi Ari <cagriari@pm.me>
    Signed-off-by: Doug Smythies <dsmythies@telus.net>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/cpufreq/intel_pstate.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
    index 57cdb3679885..fc3ebeb0bbe5 100644
    --- a/drivers/cpufreq/intel_pstate.c
    +++ b/drivers/cpufreq/intel_pstate.c
    @@ -2416,6 +2416,7 @@ static const struct x86_cpu_id intel_pstate_cpu_ids[] = {
    X86_MATCH(SKYLAKE_X, core_funcs),
    X86_MATCH(COMETLAKE, core_funcs),
    X86_MATCH(ICELAKE_X, core_funcs),
    + X86_MATCH(TIGERLAKE, core_funcs),
    {}
    };
    MODULE_DEVICE_TABLE(x86cpu, intel_pstate_cpu_ids);
    --
    2.35.1


    \
     
     \ /
      Last update: 2022-10-19 11:26    [W:5.332 / U:0.164 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site