Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branches 'pm-cpufreq' and 'acpi-cppc'

* pm-cpufreq:
intel_pstate: Fix "performance" mode behavior with HWP enabled
cpufreq: SCPI: Depend on SCPI clk driver
cpufreq: intel_pstate: Fix limits->max_perf rounding error
cpufreq: intel_pstate: Fix limits->max_policy_pct rounding error
cpufreq: Always remove sysfs cpuX/cpufreq link on ->remove_dev()

* acpi-cppc:
cpufreq: CPPC: Initialize and check CPUFreq CPU co-ord type correctly

+2 -1
+2 -1
drivers/cpufreq/cppc_cpufreq.c
··· 98 98 policy->max = cpu->perf_caps.highest_perf; 99 99 policy->cpuinfo.min_freq = policy->min; 100 100 policy->cpuinfo.max_freq = policy->max; 101 + policy->shared_type = cpu->shared_type; 101 102 102 103 if (policy->shared_type == CPUFREQ_SHARED_TYPE_ANY) 103 104 cpumask_copy(policy->cpus, cpu->shared_cpu_map); 104 - else { 105 + else if (policy->shared_type == CPUFREQ_SHARED_TYPE_ALL) { 105 106 /* Support only SW_ANY for now. */ 106 107 pr_debug("Unsupported CPU co-ord type\n"); 107 108 return -EFAULT;