[PATCH 4/9] x86/intel_rdt: Add support for Cache Allocation detection

2015-08-06 Thread Vikas Shivappa
This patch includes CPUID enumeration routines for Cache allocation and new values to track resources to the cpuinfo_x86 structure. Cache allocation provides a way for the Software (OS/VMM) to restrict cache allocation to a defined 'subset' of cache which may be overlapping with other 'subsets'. T

Re: [PATCH 4/9] x86/intel_rdt: Add support for Cache Allocation detection

2015-07-28 Thread Vikas Shivappa
On Tue, 28 Jul 2015, Peter Zijlstra wrote: On Wed, Jul 01, 2015 at 03:21:05PM -0700, Vikas Shivappa wrote: +static int __init intel_rdt_late_init(void) +{ + struct cpuinfo_x86 *c = &boot_cpu_data; + + if (!cpu_has(c, X86_FEATURE_CAT_L3)) + return -ENODEV; + + p

Re: [PATCH 4/9] x86/intel_rdt: Add support for Cache Allocation detection

2015-07-28 Thread Peter Zijlstra
On Wed, Jul 01, 2015 at 03:21:05PM -0700, Vikas Shivappa wrote: > +static int __init intel_rdt_late_init(void) > +{ > + struct cpuinfo_x86 *c = &boot_cpu_data; > + > + if (!cpu_has(c, X86_FEATURE_CAT_L3)) > + return -ENODEV; > + > + pr_info("Intel cache allocation enabled\n"

[PATCH 4/9] x86/intel_rdt: Add support for Cache Allocation detection

2015-07-01 Thread Vikas Shivappa
This patch adds support for Cache Allocation Technology feature found in future Intel Xeon processors. Cache allocation is a sub-feature of Intel Resource Director Technology(RDT) which enables sharing of processor resources. This patch includes CPUID enumeration routines for Cache allocation and

[PATCH 4/9] x86/intel_rdt: Add support for Cache Allocation detection

2015-06-25 Thread Vikas Shivappa
This patch adds support for Cache Allocation Technology feature found in future Intel Xeon processors. Cache allocation is a sub-feature of Intel Resource Director Technology(RDT) which enables sharing of processor resources. This patch includes CPUID enumeration routines for Cache allocation and