Files
linux/drivers/acpi
Lan Tianyu 3d1fe6dc50 ACPI / processor: Rework processor throttling with work_on_cpu()
commit f3ca416452 upstream.

acpi_processor_set_throttling() uses set_cpus_allowed_ptr() to make
sure that the (struct acpi_processor)->acpi_processor_set_throttling()
callback will run on the right CPU.  However, the function may be
called from a worker thread already bound to a different CPU in which
case that won't work.

Make acpi_processor_set_throttling() use work_on_cpu() as appropriate
instead of abusing set_cpus_allowed_ptr().

Reported-and-tested-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
[rjw: Changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-06 22:06:23 -08:00
..
2013-11-27 01:03:27 +01:00
2013-09-30 19:46:13 +02:00
2013-10-28 01:12:41 +01:00
2013-10-28 01:11:24 +01:00
2013-11-16 15:45:00 +01:00
2013-04-28 01:54:08 +02:00
2013-11-07 19:31:15 +01:00
2013-11-19 01:06:06 +01:00
2013-09-24 01:40:38 +02:00
2013-11-07 19:31:15 +01:00
2013-09-24 01:40:38 +02:00
2013-11-07 19:31:15 +01:00
2013-10-12 00:19:45 +02:00
2013-10-12 00:19:44 +02:00
2013-01-17 14:11:06 +01:00