Gautham R. Shenoy
4badf2eb1e
cpufreq: amd-pstate: Add ->fast_switch() callback
...
Schedutil normally calls the adjust_perf callback for drivers with
adjust_perf callback available and fast_switch_possible flag set.
However, when frequency invariance is disabled and schedutil tries to
invoke fast_switch. So, there is a chance of kernel crash if this
function pointer is not set. To protect against this scenario add
fast_switch callback to amd_pstate driver.
Fixes: 1d215f0319c2 ("cpufreq: amd-pstate: Add fast switch function for AMD P-State")
Signed-off-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Signed-off-by: Wyes Karny <wyes.karny@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2023-05-24 19:39:16 +02:00
..
2023-05-15 19:59:29 +02:00
2022-11-30 19:50:04 +01:00
2021-12-30 18:51:39 +01:00
2022-03-09 19:53:01 +01:00
2022-11-16 08:38:19 -07:00
2023-05-24 19:39:16 +02:00
2023-03-01 19:34:54 +01:00
2020-12-07 13:02:37 +05:30
2023-01-10 09:32:03 +05:30
2022-08-30 13:49:23 +05:30
2023-02-09 20:19:18 +01:00
2022-12-27 08:27:14 +05:30
2022-03-10 19:55:05 +01:00
2022-02-04 19:22:34 +01:00
2022-04-13 15:22:41 +02:00
2022-04-13 15:22:41 +02:00
2022-07-25 20:38:01 +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
2022-12-06 12:20:07 +01:00
2020-07-02 13:03:30 +02:00
2023-04-27 10:09:05 -07:00
2022-10-18 16:22:25 +05:30
2020-03-12 15:43:52 +05:30
2020-01-27 10:33:33 +01:00
2023-04-27 11:53:57 -07:00
2023-02-09 20:26:42 +01:00
2020-10-27 18:42:54 +01:00
2020-03-24 21:31:27 +01:00
2023-04-20 19:30:01 +02:00
2020-01-27 10:33:33 +01:00
2022-09-26 11:15:04 +05:30
2021-03-19 17:26:20 +01:00
2023-03-13 09:58:11 +05:30
2023-03-13 09:58:11 +05:30
2023-04-27 11:53:57 -07:00
2023-02-21 12:13:58 -08:00
2023-03-22 20:14:37 +01:00
2019-11-29 11:52:02 +01:00
2022-11-22 19:57:15 +01:00
2023-04-13 17:46:35 -05:00
2022-11-03 19:13:34 +01:00
2019-05-30 11:26:39 -07:00
2020-03-24 21:31:27 +01:00
2021-06-07 17:43:52 +02:00
2023-02-21 12:13:58 -08:00
2023-04-13 17:46:35 -05:00
2023-02-14 15:25:07 +01:00
2023-03-30 09:20:02 +05:30
2022-06-10 14:51:35 +02:00
2023-02-09 20:19:18 +01:00
2020-08-23 17:36:59 -05:00
2022-04-13 17:18:45 +02:00
2023-05-15 19:59:29 +02:00
2023-04-27 10:09:05 -07:00
2023-04-13 17:46:35 -05: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
2022-03-17 14:54:11 +01:00
2019-06-05 17:37:08 +02:00
2021-10-05 16:33:05 +02:00
2019-05-30 11:26:32 -07:00
2022-04-13 17:18:45 +02:00
2022-04-13 17:18:45 +02:00
2019-08-26 10:02:01 +02:00
2022-05-07 22:55:49 +02:00
2022-05-07 22:55:49 +02:00
2023-04-27 10:09:05 -07:00
2022-10-18 16:22:26 +05:30
2022-06-28 13:34:45 +05:30
2019-06-13 08:58:22 +05:30
2019-10-23 08:53:23 +05:30
2021-10-05 16:33:05 +02:00
2023-01-12 10:53:12 +01:00
2021-05-21 18:52:13 +02:00
2023-03-13 09:58:11 +05:30
2022-06-10 14:51:36 +02:00
2021-09-02 18:04:17 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2023-04-13 17:46:35 -05: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
2022-09-26 11:15:04 +05:30
2023-04-13 17:46:35 -05:00
2023-04-27 10:09:05 -07:00
2023-04-27 10:09:05 -07:00
2022-12-01 14:49:50 +05:30
2023-04-18 16:07:50 +05:30
2022-11-07 15:30:11 +05:30
2021-10-04 11:25:21 +05:30