Tyler Hicks
db5ae6596a
cpu/speculation: Uninline and export CPU mitigations helpers
...
commit 731dc9df975a5da21237a18c3384f811a7a41cc6 upstream.
A kernel module may need to check the value of the "mitigations=" kernel
command line parameter as part of its setup when the module needs
to perform software mitigations for a CPU flaw.
Uninline and export the helper functions surrounding the cpu_mitigations
enum to allow for their usage from a module.
Lastly, privatize the enum and cpu_mitigations variable since the value of
cpu_mitigations can be checked with the exported helper functions.
Signed-off-by: Tyler Hicks <tyhicks@canonical.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2019-11-12 19:21:38 +01:00
..
2019-10-07 18:57:19 +02:00
2019-08-09 17:52:35 +02:00
2018-06-15 07:15:28 +09:00
2019-02-12 19:47:19 +01:00
2019-01-13 09:51:05 +01:00
2019-10-29 09:20:03 +01:00
2018-06-08 18:56:02 +09:00
2019-09-19 09:09:34 +02:00
2019-10-07 18:57:10 +02:00
2019-10-11 18:21:06 +02:00
2019-06-11 12:20:52 +02:00
2019-10-05 13:10:01 +02:00
2019-05-31 06:46:30 -07:00
2019-11-12 19:20:51 +01:00
2019-10-11 18:21:28 +02:00
2019-11-10 11:27:28 +01:00
2019-05-31 06:46:05 -07:00
2018-02-06 18:32:44 -08:00
2018-05-18 14:58:22 +02:00
2018-08-17 09:41:28 -07:00
2018-07-18 11:43:36 -04:00
2018-07-17 14:45:08 -04:00
2019-05-31 06:46:17 -07:00
2018-08-15 10:46:54 -07:00
2014-06-04 16:54:14 -07:00
2018-11-13 11:08:47 -08:00
2017-11-02 11:10:55 +01:00
2018-06-24 14:39:47 +02:00
2016-12-24 11:46:01 -08:00
2015-11-24 09:56:43 +01:00
2017-07-31 13:09:49 +02:00
2019-11-12 19:21:38 +01:00
2018-08-22 10:52:47 -07:00
2019-07-31 07:27:11 +02:00
2018-04-27 14:34:51 +02:00
2018-05-16 07:23:35 +02:00
2019-10-11 18:21:23 +02:00
2018-05-16 07:23:35 +02:00
2019-08-09 17:52:34 +02:00
2018-02-21 16:54:06 +01:00
2018-06-21 12:33:19 +02:00
2019-10-17 13:45:19 -07:00
2018-08-06 12:35:20 +02:00
2017-11-02 11:10:55 +01:00
2019-05-10 17:54:11 +02:00
2017-12-14 16:00:49 -08:00
2019-04-20 09:16:02 +02:00
2018-05-15 23:08:33 -07:00
2019-05-31 06:46:19 -07:00
2019-06-04 08:02:34 +02:00
2019-09-21 07:17:02 +02:00
2017-11-02 11:10:55 +01:00
2016-10-25 11:31:51 +02:00
2018-08-02 08:06:54 +09:00
2019-02-12 19:47:20 +01:00
2019-10-07 18:57:28 +02:00
2017-11-02 11:10:55 +01:00
2018-07-16 12:31:57 -07:00
2017-09-08 18:26:51 -07:00
2019-10-05 13:09:54 +02:00
2018-08-13 11:25:07 -07:00
2017-03-02 08:42:39 +01:00
2019-06-19 08:18:01 +02:00
2019-01-13 09:51:04 +01:00
2018-07-02 11:36:17 +02:00
2019-09-19 09:09:40 +02:00
2017-03-13 15:57:41 -03:00
2019-07-26 09:14:25 +02:00
2019-10-17 13:44:46 -07:00
2018-04-11 10:28:37 -07:00
2019-07-26 09:14:01 +02:00
2019-01-13 09:51:06 +01:00
2017-03-02 08:42:39 +01:00
2019-07-10 09:53:41 +02:00
2017-11-02 11:10:55 +01:00
2018-08-06 12:35:20 +02:00
2019-03-13 14:02:35 -07:00
2019-09-16 08:22:20 +02:00
2019-06-09 09:17:20 +02:00
2019-02-12 19:47:25 +01:00
2018-07-03 09:20:44 +02:00
2017-11-02 11:10:55 +01:00
2018-08-03 15:52:10 +02:00
2017-03-08 09:18:02 +01:00
2018-08-13 11:25:07 -07:00
2019-06-15 11:54:01 +02:00
2018-04-16 11:26:49 +02:00
2019-06-15 11:53:59 +02:00
2017-11-07 10:32:44 +01:00
2018-02-06 18:32:46 -08:00
2018-06-21 12:33:05 +02:00
2018-10-17 15:35:29 -04:00
2017-03-02 08:42:39 +01:00
2018-04-05 21:36:27 -07:00
2018-04-02 20:15:59 +02:00
2018-04-02 20:15:30 +02:00
2018-11-13 11:09:00 -08:00
2018-08-22 10:52:47 -07:00
2018-08-11 02:05:53 -05:00
2018-04-11 10:28:35 -07:00
2018-08-30 12:56:40 +02:00
2019-04-03 06:26:29 +02:00
2018-05-18 08:47:13 -07:00
2019-05-02 09:58:56 +02:00