[PATCH v3 0/2] add support for new persistent memory instructions

From: Ross Zwisler
Date: Tue Jan 27 2015 - 11:54:36 EST


This patch set adds support for two new persistent memory instructions, pcommit
and clwb. These instructions were announced in the document "Intel
Architecture Instruction Set Extensions Programming Reference" with reference
number 319433-022.

https://software.intel.com/sites/default/files/managed/0d/53/319433-022.pdf

These patches apply cleanly to v3.19-rc6.

Changes from v2:

- Added instruction descriptions and flows to the patch descriptions.
- Added needed sfence to pcommit alternatives assembly. The inline function
is now called pcommit_sfence(). If pcommit is not supported on the platform
both the pcommit and the sfence will be nops.

Cc: H Peter Anvin <h.peter.anvin@xxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Borislav Petkov <bp@xxxxxxxxx>

Ross Zwisler (2):
x86: Add support for the pcommit instruction
x86: Add support for the clwb instruction

arch/x86/include/asm/cpufeature.h | 2 ++
arch/x86/include/asm/special_insns.h | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+)

--
1.9.3

--
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/