x86: Add support for the clflushopt instruction
authorRoss Zwisler <ross.zwisler@linux.intel.com>
Wed, 26 Feb 2014 19:06:49 +0000 (12:06 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 27 Feb 2014 16:23:28 +0000 (08:23 -0800)
commit171699f7630c92d0a928f83e5fb3aeabe35398c0
treeeab1cdc0b44666d92f391d345b5f2d668e4138d0
parentc2bc11f10a39527cd1bb252097b5525664560956
x86: Add support for the clflushopt instruction

Add support for the new clflushopt instruction.  This instruction was
announced in the document "Intel Architecture Instruction Set Extensions
Programming Reference" with Ref # 319433-018.

http://download-software.intel.com/sites/default/files/managed/50/1a/319433-018.pdf

[ hpa: changed the feature flag to simply X86_FEATURE_CLFLUSHOPT - if
  that is what we want to report in /proc/cpuinfo anyway... ]

Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Link: http://lkml.kernel.org/r/1393441612-19729-2-git-send-email-ross.zwisler@linux.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/cpufeature.h
arch/x86/include/asm/special_insns.h