x86/intel_rdt/cqm: Clear the default RMID during hotcpu
authorVikas Shivappa <vikas.shivappa@linux.intel.com>
Wed, 9 Aug 2017 18:46:33 +0000 (11:46 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 14 Aug 2017 09:47:46 +0000 (11:47 +0200)
commiteda61c265f3656be8345fdf0334b3a77829437fc
treed84279caa545545f9b64bd40bfafc3abb916da43
parent0dd2d7494cd818d06a2ae1cd840cd62124a2d25e
x86/intel_rdt/cqm: Clear the default RMID during hotcpu

The user configured per cpu default RMID is not cleared during cpu
hotplug. This may lead to incorrect RMID values after a cpu goes offline
and again comes back online. Clear the per cpu default RMID during cpu
offline and online handling.

Reported-by: Prakyha Sai Praneeth <sai.praneeth.prakhya@intel.com>
Signed-off-by: Vikas Shivappa <vikas.shivappa@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: ravi.v.shankar@intel.com
Cc: tony.luck@intel.com
Cc: fenghua.yu@intel.com
Cc: peterz@infradead.org
Cc: eranian@google.com
Cc: ak@linux.intel.com
Cc: davidcc@google.com
Link: http://lkml.kernel.org/r/1502304395-7166-2-git-send-email-vikas.shivappa@linux.intel.com
arch/x86/kernel/cpu/intel_rdt.c