x86/mm/cpa: Unconditionally avoid WBINDV when we can
authorPeter Zijlstra <peterz@infradead.org>
Wed, 19 Sep 2018 08:50:19 +0000 (10:50 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 27 Sep 2018 18:39:41 +0000 (20:39 +0200)
commitddd07b750382adc2b78fdfbec47af8a6e0d8ef37
treee5df225ee34d8c37a493a358c0e5413764761533
parentc0a759abf5a686a37b9204c13b7e281fe516c8f0
x86/mm/cpa: Unconditionally avoid WBINDV when we can

CAT has happened, WBINDV is bad (even before CAT blowing away the
entire cache on a multi-core platform wasn't nice), try not to use it
ever.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Dave Hansen <dave.hansen@intel.com>
Cc: Bin Yang <bin.yang@intel.com>
Cc: Mark Gross <mark.gross@intel.com>
Link: https://lkml.kernel.org/r/20180919085947.933674526@infradead.org
arch/x86/mm/pageattr.c