Rafael J. Wysocki
3b7180573c
cpufreq: Make cpufreq_online() call driver->offline() on errors
...
In the CPU removal path the ->offline() callback provided by the
driver is always invoked before ->exit(), but in the cpufreq_online()
error path it is not, so ->exit() is expected to somehow know the
context in which it has been called and act accordingly.
That is less than straightforward, so make cpufreq_online() invoke
the driver's ->offline() callback, if present, on errors before
->exit() too.
This only potentially affects intel_pstate.
Fixes: 91a12e91dc39 ("cpufreq: Allow light-weight tear down and bring up of CPUs")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
2021-06-23 19:40:56 +02:00
..
2021-05-13 12:10:24 +02:00
2020-07-15 15:17:06 +02:00
2020-12-07 13:02:37 +05:30
2021-04-09 15:17:33 +05:30
2019-07-16 10:20:11 +02:00
2021-01-18 12:23:43 +05:30
2021-06-14 15:55:02 +02:00
2020-07-02 13:03:30 +02:00
2019-06-19 17:09:55 +02:00
2020-07-15 15:17:06 +02:00
2020-11-10 18:31:17 +01:00
2020-07-02 13:03:30 +02:00
2019-06-19 17:09:55 +02:00
2020-11-10 18:31:17 +01:00
2020-11-10 18:31:17 +01:00
2021-06-07 13:47:57 +02:00
2020-07-02 13:03:30 +02:00
2021-03-08 16:20:07 +05:30
2021-03-25 12:28:09 +05:30
2020-03-12 15:43:52 +05:30
2020-01-27 10:33:33 +01:00
2021-06-23 19:40:56 +02:00
2021-02-04 19:23:20 +01:00
2020-10-27 18:42:54 +01:00
2020-03-24 21:31:27 +01:00
2021-03-26 17:43:48 +01:00
2020-01-27 10:33:33 +01:00
2020-12-07 13:02:37 +05:30
2021-03-19 17:26:20 +01:00
2020-09-10 16:36:09 +05:30
2020-04-28 14:26:20 +05:30
2021-06-07 13:47:57 +02:00
2021-04-21 19:00:42 +02:00
2021-06-14 15:55:02 +02:00
2019-11-29 11:52:02 +01:00
2021-02-15 20:04:46 +01:00
2020-01-07 13:29:58 +05:30
2020-10-27 18:42:54 +01:00
2019-05-30 11:26:39 -07:00
2020-03-24 21:31:27 +01:00
2021-02-04 19:23:20 +01:00
2021-06-07 17:43:52 +02:00
2021-02-24 10:35:29 -08:00
2019-07-18 09:49:30 +02:00
2021-02-04 19:23:20 +01:00
2018-09-19 14:56:44 -07:00
2021-02-04 19:23:20 +01:00
2020-08-23 17:36:59 -05:00
2020-07-15 15:17:06 +02:00
2020-07-15 15:17:06 +02:00
2021-02-04 19:25:47 +01:00
2019-07-18 09:49:30 +02:00
2020-03-24 21:31:27 +01:00
2020-03-24 21:31:27 +01:00
2019-05-30 11:26:39 -07:00
2021-01-07 17:37:33 +01:00
2019-06-05 17:37:08 +02:00
2020-10-08 21:17:16 +11:00
2019-05-30 11:26:32 -07:00
2019-10-21 02:05:21 +02:00
2019-08-26 10:02:01 +02:00
2019-08-26 10:02:01 +02:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:32 -07:00
2021-03-08 16:20:07 +05:30
2020-12-15 15:24:52 +01:00
2020-05-07 10:47:27 +05:30
2019-06-13 08:58:22 +05:30
2020-08-20 17:52:05 +02:00
2021-02-04 19:23:20 +01:00
2019-10-23 08:53:23 +05:30
2020-08-20 17:53:22 +02:00
2020-08-20 17:53:22 +02:00
2020-01-07 13:31:01 +05:30
2020-08-20 17:53:22 +02:00
2021-03-22 08:55:41 +05:30
2021-02-04 19:23:20 +01:00
2021-02-04 19:23:20 +01:00
2021-05-21 18:52:13 +02:00
2021-03-29 10:00:35 +01:00
2021-02-04 19:23:20 +01:00
2021-06-07 17:38:26 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2021-02-04 19:23:20 +01:00
2020-03-24 21:31:27 +01:00
2020-03-24 21:31:27 +01:00
2020-10-28 18:04:07 +01:00
2019-05-30 11:26:39 -07:00
2020-03-24 21:31:27 +01:00
2020-12-07 13:02:37 +05:30
2020-12-07 13:02:37 +05:30
2021-01-18 12:02:53 +05:30
2019-10-29 13:25:29 +01:00
2021-02-04 19:23:20 +01:00
2021-02-04 19:23:20 +01:00
2020-08-23 17:36:59 -05:00
2021-02-04 19:23:20 +01:00