aboutsummaryrefslogtreecommitdiffstats
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorJames Morse <james.morse@arm.com>2021-07-28 17:06:37 +0000
committerBorislav Petkov <bp@suse.de>2021-08-11 18:39:42 +0200
commit5c3b63cdba441c6a530b974ff73b14161d96a0c3 (patch)
tree464801a2901ad0b692870ed811cc4708519b455c /.get_maintainer.ignore
parentx86/resctrl: Expand resctrl_arch_update_domains()'s msr_param range (diff)
downloadlinux-dev-5c3b63cdba441c6a530b974ff73b14161d96a0c3.tar.xz
linux-dev-5c3b63cdba441c6a530b974ff73b14161d96a0c3.zip
x86/resctrl: Merge the CDP resources
resctrl uses struct rdt_resource to describe the available hardware resources. The domains of the CDP aliases share a single ctrl_val[] array. The only differences between the struct rdt_hw_resource aliases is the name and conf_type. The name from struct rdt_hw_resource is visible to user-space. To support another architecture, as many user-visible details should be handled in the filesystem parts of the code that is common to all architectures. The name and conf_type go together. Remove conf_type and the CDP aliases. When CDP is supported and enabled, schemata_list_create() can create two schemata using the single resource, generating the CODE/DATA suffix to the schema name itself. This allows the alloc_ctrlval_array() and complications around free()ing the ctrl_val arrays to be removed. 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-25-james.morse@arm.com
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions