summaryrefslogtreecommitdiffstats
path: root/samples/Makefile
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2024-03-08 13:38:46 -0800
committerBorislav Petkov (AMD) <bp@alien8.de>2024-04-24 13:47:00 +0200
commitbd4955d4bc2182ccb660c9c30a4dd7f36feaf943 (patch)
treec8aa181b797c5d4090f1d3fce2123c475cce3375 /samples/Makefile
parente3ca96e479c91d6ee657d3caa5092a6a3a620f9f (diff)
downloadlinux-stable-bd4955d4bc2182ccb660c9c30a4dd7f36feaf943.tar.gz
linux-stable-bd4955d4bc2182ccb660c9c30a4dd7f36feaf943.tar.bz2
linux-stable-bd4955d4bc2182ccb660c9c30a4dd7f36feaf943.zip
x86/resctrl: Simplify call convention for MSR update functions
The per-resource MSR update functions cat_wrmsr(), mba_wrmsr_intel(), and mba_wrmsr_amd() all take three arguments: (struct rdt_domain *d, struct msr_param *m, struct rdt_resource *r) struct msr_param contains pointers to both struct rdt_resource and struct rdt_domain, thus only struct msr_param is necessary. Pass struct msr_param as a single parameter. Clean up formatting and fix some fir tree declaration ordering. No functional change. Suggested-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Reviewed-by: Babu Moger <babu.moger@amd.com> Tested-by: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com> Link: https://lore.kernel.org/r/20240308213846.77075-3-tony.luck@intel.com
Diffstat (limited to 'samples/Makefile')
0 files changed, 0 insertions, 0 deletions