summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/intel_rdt.h
diff options
context:
space:
mode:
authorVikas Shivappa2017-04-08 02:33:57 +0200
committerThomas Gleixner2017-04-14 16:10:09 +0200
commit64e8ed3d4a6dcd6139a869a3e760e625cb0d3022 (patch)
treeb5b23d1788dc97344b32215fa801a2615ddd9498 /arch/x86/include/asm/intel_rdt.h
parentx86/intel_rdt: Make schemata file parsers resource specific (diff)
downloadkernel-qcow2-linux-64e8ed3d4a6dcd6139a869a3e760e625cb0d3022.tar.gz
kernel-qcow2-linux-64e8ed3d4a6dcd6139a869a3e760e625cb0d3022.tar.xz
kernel-qcow2-linux-64e8ed3d4a6dcd6139a869a3e760e625cb0d3022.zip
x86/intel_rdt/mba: Add schemata file support for MBA
Add support to update the MBA bandwidth values for the domains via the schemata file. - Verify that the bandwidth value is valid - Round to the next control step depending on the bandwidth granularity of the hardware - Convert the bandwidth to delay values and write the delay values to the corresponding domain PQOS_MSRs. [ tglx: Massaged changelog ] Signed-off-by: Vikas Shivappa <vikas.shivappa@linux.intel.com> Cc: ravi.v.shankar@intel.com Cc: tony.luck@intel.com Cc: fenghua.yu@intel.com Cc: vikas.shivappa@intel.com Link: http://lkml.kernel.org/r/1491611637-20417-9-git-send-email-vikas.shivappa@linux.intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/include/asm/intel_rdt.h')
-rw-r--r--arch/x86/include/asm/intel_rdt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/intel_rdt.h b/arch/x86/include/asm/intel_rdt.h
index 4a9005766d96..bd184e1fd207 100644
--- a/arch/x86/include/asm/intel_rdt.h
+++ b/arch/x86/include/asm/intel_rdt.h
@@ -181,6 +181,7 @@ struct rdt_resource {
void rdt_get_cache_infofile(struct rdt_resource *r);
void rdt_get_mba_infofile(struct rdt_resource *r);
int parse_cbm(char *buf, struct rdt_resource *r, struct rdt_domain *d);
+int parse_bw(char *buf, struct rdt_resource *r, struct rdt_domain *d);
extern struct mutex rdtgroup_mutex;