x86/intel_rdt: Move special case code for Haswell to a quirk function
authorTony Luck <tony.luck@intel.com>
Thu, 24 Aug 2017 16:26:50 +0000 (09:26 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 25 Aug 2017 20:00:44 +0000 (22:00 +0200)
commit0576113a387e0c8a5d9e24b4cd62605d1c9c0db8
treec3552fe9277d26d15a2dea6e370f992e5339d029
parent5707b46a4206be2068444eb6b514a1ee070651c8
x86/intel_rdt: Move special case code for Haswell to a quirk function

No functional change, but lay the ground work for other per-model
quirks.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Fenghua" <fenghua.yu@intel.com>
Cc: Ravi V" <ravi.v.shankar@intel.com>
Cc: "Peter Zijlstra" <peterz@infradead.org>
Cc: "Stephane Eranian" <eranian@google.com>
Cc: "Andi Kleen" <ak@linux.intel.com>
Cc: "David Carrillo-Cisneros" <davidcc@google.com>
Cc: Vikas Shivappa <vikas.shivappa@linux.intel.com>
Link: http://lkml.kernel.org/r/f195a83751b5f8b1d8a78bd3c1914300c8fa3142.1503512900.git.tony.luck@intel.com
arch/x86/kernel/cpu/intel_rdt.c