]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86/intel_rdt/mba: Add info directory files for Memory Bandwidth Allocation
authorVikas Shivappa <vikas.shivappa@linux.intel.com>
Sat, 8 Apr 2017 00:33:55 +0000 (17:33 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 14 Apr 2017 14:10:08 +0000 (16:10 +0200)
commitdb69ef65636e6da135680d75d8646bd7e76136bc
treef5fc06fe16b83ee28d2e7b6ab2bdc6652e4ddd17
parent6a507a6ad8a6955a7d57255377edcef576823749
x86/intel_rdt/mba: Add info directory files for Memory Bandwidth Allocation

The files in the info directory for MBA are as follows:

 num_closids
  The maximum number of CLOSids available for MBA

 min_bandwidth
  The minimum memory bandwidth percentage value

 bandwidth_gran
  The granularity of the bandwidth control in percent for the
particular CPU SKU. Intermediate values entered are rounded off
to the previous control step available. Available bandwidth
control steps are minimum_bandwidth + N * bandwidth_gran.

 delay_linear
  When set, the OS writes a linear percentage based value to the
control MSRs ranging from minimum_bandwidth to 100 percent.

This value is informational and has no influence on the values
written to the schemata files. The values written to the
schemata are always bandwidth percentage that is requested.

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-7-git-send-email-vikas.shivappa@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/intel_rdt.h
arch/x86/kernel/cpu/intel_rdt.c
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c