James Morse
cdb9ebc917
x86/resctrl: Add a separate schema list for resctrl
...
Resctrl exposes schemata to user-space, which allow the control values
to be specified for a group of tasks.
User-visible properties of the interface, (such as the schemata names
and how the values are parsed) are rooted in a struct provided by the
architecture code. (struct rdt_hw_resource). Once a second architecture
uses resctrl, this would allow user-visible properties to diverge
between architectures.
These properties should come from the resctrl code that will be common
to all architectures. Resctrl has no per-schema structure, only struct
rdt_{hw_,}resource. Create a struct resctrl_schema to hold the
rdt_resource. Before a second architecture can be supported, this
structure will also need to hold the schema name visible to user-space
and the type of configuration values for resctrl.
Signed-off-by: James Morse <james.morse@arm.com >
Signed-off-by: Borislav Petkov <bp@suse.de >
Reviewed-by: Jamie Iles <jamie@nuviainc.com >
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com >
Tested-by: Babu Moger <babu.moger@amd.com >
Link: https://lkml.kernel.org/r/20210728170637.25610-4-james.morse@arm.com
2021-08-11 12:28:01 +02:00
..
2021-06-29 13:33:10 -07:00
2021-07-05 11:48:14 -07:00
2021-07-06 20:14:42 -04:00
2021-07-21 12:37:49 -07:00
2021-07-03 04:50:56 -04:00
2021-07-05 11:21:51 -07:00
2021-07-05 14:16:22 -07:00
2021-07-01 16:57:14 -07:00
2021-07-10 09:22:44 -07:00
2021-07-07 11:12:01 -07:00
2021-07-10 09:22:44 -07:00
2021-07-05 13:42:16 -07:00
2021-07-09 09:43:57 -07:00
2021-07-27 16:31:31 +02:00
2021-07-07 13:30:01 -07:00
2021-07-01 07:32:14 +05:30
2021-07-01 11:06:04 -07:00
2021-06-29 10:53:48 -07:00
2021-06-30 12:21:16 -07:00
2021-07-09 12:05:33 -07:00
2021-06-30 15:34:13 -06:00
2021-07-24 12:57:06 -07:00
2021-07-08 11:48:20 -07:00
2021-06-30 20:47:25 -07:00
2021-07-19 15:14:40 -07:00
2021-07-29 00:27:52 +02:00
2021-07-09 12:08:27 +02:00
2021-07-08 11:48:22 -07:00
2021-07-02 15:14:36 -07:00
2021-06-30 11:37:02 -07:00
2021-07-08 11:48:21 -07:00
2021-07-01 11:06:06 -07:00
2021-06-30 14:33:25 -07:00
2021-07-02 12:08:10 -07:00
2021-07-01 11:06:06 -07:00
2021-07-01 11:06:06 -07:00
2021-06-30 14:33:25 -07:00
2021-06-30 19:45:42 +02:00
2021-07-05 12:44:23 +02:00
2021-07-08 11:48:20 -07:00
2021-07-08 11:48:22 -07:00
2021-06-28 20:39:26 -07:00
2021-07-08 11:48:20 -07:00
2021-07-05 14:16:22 -07:00
2021-06-29 18:09:24 +02:00
2021-07-01 13:08:18 -07:00
2021-07-29 00:20:56 +02:00
2021-07-21 06:39:20 -10:00
2021-07-05 13:42:16 -07:00
2021-06-29 17:29:11 -07:00
2021-06-30 09:15:15 +02:00
2021-07-23 17:43:28 -07:00
2021-07-08 11:48:21 -07:00
2021-06-30 20:47:30 -07:00
2021-06-30 20:47:25 -07:00
2021-07-08 11:48:21 -07:00
2021-07-05 14:01:53 -07:00
2021-07-15 20:49:09 +02:00
2021-06-29 10:53:48 -07:00
2021-07-08 08:37:31 -04:00
2021-07-08 11:48:22 -07:00
2021-07-15 10:13:49 -07:00
2021-06-30 20:47:28 -07:00
2021-07-02 12:08:10 -07:00
2021-07-02 12:54:34 -07:00
2021-07-01 11:06:05 -07:00
2021-06-29 17:29:11 -07:00
2021-07-08 11:48:21 -07:00
2021-07-08 11:48:20 -07:00
2021-07-11 10:02:33 -07:00
2021-07-23 17:43:28 -07:00
2021-07-01 17:17:24 -07:00
2021-06-30 20:47:25 -07:00
2021-06-30 20:47:29 -07:00
2021-07-01 11:06:02 -07:00
2021-08-03 11:14:03 +01:00
2021-07-12 11:30:56 -07:00
2021-07-02 12:08:10 -07:00
2021-07-12 11:30:56 -07:00
2021-06-29 10:53:50 -07:00
2021-06-29 10:53:53 -07:00
2021-07-08 11:48:21 -07:00
2021-07-01 11:06:03 -07:00
2021-07-08 11:48:22 -07:00
2021-07-01 11:06:05 -07:00
2021-06-29 15:45:27 -07:00
2021-06-29 13:12:39 -04:00
2021-07-08 14:03:26 -04:00
2021-07-08 11:48:20 -07:00
2021-07-05 13:42:16 -07:00
2021-06-28 15:54:57 -07:00
2021-06-29 10:53:53 -07:00
2021-06-29 10:53:53 -07:00
2021-06-29 10:53:47 -07:00
2021-07-02 12:08:10 -07:00
2021-06-29 10:53:53 -07:00
2021-06-29 10:53:48 -07:00
2021-07-01 11:06:04 -07:00
2021-07-01 11:06:04 -07:00
2021-07-06 10:37:46 -05:00
2021-07-06 10:37:46 -05:00
2021-07-06 10:37:46 -05:00
2021-07-06 10:37:46 -05:00
2021-07-08 12:06:20 -07:00
2021-07-08 11:48:21 -07:00
2021-07-08 11:48:20 -07:00
2021-07-21 11:28:09 +01:00
2021-06-30 15:51:09 -07:00
2021-07-01 13:08:18 -07:00
2021-06-30 19:12:19 +02:00
2021-08-11 12:28:01 +02:00
2021-07-15 10:13:49 -07:00
2021-07-08 11:48:20 -07:00
2021-07-13 11:39:42 +01:00
2021-07-13 11:39:48 +01:00
2021-07-08 11:48:21 -07:00
2021-07-01 11:06:05 -07:00
2021-07-21 12:53:26 +02:00
2021-07-08 11:48:20 -07:00
2021-07-02 12:08:10 -07:00
2021-07-08 11:48:21 -07:00
2021-07-01 11:06:06 -07:00
2021-07-27 14:55:30 -07:00
2021-06-29 10:53:49 -07:00
2021-07-05 10:16:17 -07:00
2021-07-01 11:06:05 -07:00
2021-07-01 11:06:05 -07:00
2021-07-01 11:06:03 -07:00
2021-07-01 11:06:03 -07:00
2021-07-08 11:48:21 -07:00
2021-07-21 07:55:50 +02:00
2021-07-01 11:06:04 -07:00
2021-06-29 11:51:25 -04:00
2021-06-28 20:39:26 -07:00
2021-06-30 20:47:27 -07:00
2021-07-08 07:49:01 -04:00
2021-07-08 07:49:01 -04:00
2021-07-08 11:48:21 -07:00
2021-06-29 10:53:54 -07:00
2021-06-30 12:12:56 -07:00