]> git.baikalelectronics.ru Git - kernel.git/commit
x86/intel_rdt: Enable setting of exclusive mode
authorReinette Chatre <reinette.chatre@intel.com>
Fri, 22 Jun 2018 22:42:01 +0000 (15:42 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 23 Jun 2018 11:03:42 +0000 (13:03 +0200)
commit685e309ef33db118a0f7d796583c91d2f1930146
tree9202625469fc9ed029837da47e589918fa3a71e6
parent4c606c9807b015bebe2d06f1c98b7b58a3d7b1fb
x86/intel_rdt: Enable setting of exclusive mode

The new "mode" file now accepts "exclusive" that means that the
allocations of this resource group cannot be shared.

Enable users to modify a resource group's mode to "exclusive". To
succeed it is required that there is no overlap between resource group's
current schemata and that of all the other active resource groups as
well as cache regions potentially used by other hardware entities.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: fenghua.yu@intel.com
Cc: tony.luck@intel.com
Cc: vikas.shivappa@linux.intel.com
Cc: gavin.hindman@intel.com
Cc: jithu.joseph@intel.com
Cc: dave.hansen@intel.com
Cc: hpa@zytor.com
Link: https://lkml.kernel.org/r/83642cbba3c8c21db7fa6bb36fe7d385d3b275f2.1529706536.git.reinette.chatre@intel.com
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c