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

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'pm-5.4-final' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull power management regression fix from Rafael Wysocki:
"Fix problems with switching cpufreq drivers on some x86 systems with
ACPI (and with changing the operation modes of the intel_pstate driver
on those systems) introduced by recent changes related to the
management of frequency limits in cpufreq"

* tag 'pm-5.4-final' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
PM: QoS: Invalidate frequency QoS requests after removal

+7 -1
+7 -1
kernel/power/qos.c
··· 814 814 */ 815 815 int freq_qos_remove_request(struct freq_qos_request *req) 816 816 { 817 + int ret; 818 + 817 819 if (!req) 818 820 return -EINVAL; 819 821 ··· 823 821 "%s() called for unknown object\n", __func__)) 824 822 return -EINVAL; 825 823 826 - return freq_qos_apply(req, PM_QOS_REMOVE_REQ, PM_QOS_DEFAULT_VALUE); 824 + ret = freq_qos_apply(req, PM_QOS_REMOVE_REQ, PM_QOS_DEFAULT_VALUE); 825 + req->qos = NULL; 826 + req->type = 0; 827 + 828 + return ret; 827 829 } 828 830 EXPORT_SYMBOL_GPL(freq_qos_remove_request); 829 831