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

From: Vikas Shivappa
Date: Tue Jul 28 2015 - 18:07:34 EST




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;
+
+ pr_info("Intel cache allocation enabled\n");

s/enabled/detected/ ? This hardly enables anything.

will fix. detected seems appropriate here.
Thanks,
Vikas

+
+ return 0;
+}

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/