From: Linus Torvalds Date: Tue, 30 Oct 2018 16:08:07 +0000 (-0700) Subject: Merge tag 'pm-4.20-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael... X-Git-Tag: v5.15~7686 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ef746769ef5cfef84cdfdf61ecbab5a6aa4651a;p=platform%2Fkernel%2Flinux-starfive.git Merge tag 'pm-4.20-rc1-2' of git://git./linux/kernel/git/rafael/linux-pm Pull more power management updates from Rafael Wysocki: "These remove a questionable heuristic from the menu cpuidle governor, fix a recent build regression in the intel_pstate driver, clean up ARM big-Little support in cpufreq and fix up hung task watchdog's interaction with system-wide power management transitions. Specifics: - Fix build regression in the intel_pstate driver that doesn't build without CONFIG_ACPI after recent changes (Dominik Brodowski). - One of the heuristics in the menu cpuidle governor is based on a function returning 0 most of the time, so drop it and clean up the scheduler code related to it (Daniel Lezcano). - Prevent the arm_big_little cpufreq driver from being used on ARM64 which is not suitable for it and drop the arm_big_little_dt driver that is not used any more (Sudeep Holla). - Prevent the hung task watchdog from triggering during resume from system-wide sleep states by disabling it before freezing tasks and enabling it again after they have been thawed (Vitaly Kuznetsov)" * tag 'pm-4.20-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: kernel: hung_task.c: disable on suspend cpufreq: remove unused arm_big_little_dt driver cpufreq: drop ARM_BIG_LITTLE_CPUFREQ support for ARM64 cpufreq: intel_pstate: Fix compilation for !CONFIG_ACPI cpuidle: menu: Remove get_loadavg() from the performance multiplier sched: Factor out nr_iowait and nr_iowait_cpu --- 6ef746769ef5cfef84cdfdf61ecbab5a6aa4651a diff --cc drivers/cpuidle/governors/menu.c index 7197960,76df4f9..61316fc --- a/drivers/cpuidle/governors/menu.c +++ b/drivers/cpuidle/governors/menu.c @@@ -130,11 -130,10 +130,6 @@@ struct menu_device int interval_ptr; }; - static inline int get_loadavg(unsigned long load) - { - return LOAD_INT(load) * 10 + LOAD_FRAC(load) / 10; - } - -#define LOAD_INT(x) ((x) >> FSHIFT) -#define LOAD_FRAC(x) LOAD_INT(((x) & (FIXED_1-1)) * 100) -- static inline int which_bucket(unsigned int duration, unsigned long nr_iowaiters) { int bucket = 0;