[RFC PATCH 0/4] x86, mwaitt: introduce AMD mwaitt support

Huang Rui
2015-05-19T08:17:30Z

Hi,

This patch set introduces a new instruction support on AMD Carrizo (Family
15h, Model 60h-6fh). It adds mwaitx idle function with a configurable
timer. The user can configure the idle method and timer value via the idle
kernel parameter.

Some discussions of the background, please see:
http://marc.info/?l=linux-kernel&m=143202042530498&w=2
http://marc.info/?l=linux-kernel&m=143161327003541&w=2

They are rebased on tip/sched/core.

Thanks,
Rui

Huang Rui (4):
x86, mwaitt: add monitorx and mwaitx instruction
x86, mwaitt: introduce mwaitx idle with a configurable timer
x86, mwaitt: add document to describe mwaitx
x86, mwait: fix redundant comment

Documentation/kernel-parameters.txt | 10 ++++-
arch/x86/include/asm/cpufeature.h | 1 +
arch/x86/include/asm/mwait.h | 27 +++++++++++++
arch/x86/include/asm/processor.h | 2 +-
arch/x86/kernel/process.c | 81 ++++++++++++++++++++++++++++++++++++-
5 files changed, 118 insertions(+), 3 deletions(-)

--
2.1.0