|
|
Log in / Subscribe / Register

x86, mwaitt: introduce AMD mwaitt support

From:  Huang Rui <ray.huang@amd.com>
To:  Borislav Petkov <bp@suse.de>, Len Brown <lenb@kernel.org>, "Rafael J. Wysocki" <rjw@rjwysocki.net>, Thomas Gleixner <tglx@linutronix.de>
Subject:  [RFC PATCH 0/4] x86, mwaitt: introduce AMD mwaitt support
Date:  Tue, 19 May 2015 16:01:08 +0800
Message-ID:  <1432022472-2224-1-git-send-email-ray.huang@amd.com>
Cc:  <x86@kernel.org>, <linux-kernel@vger.kernel.org>, Fengguang Wu <fengguang.wu@intel.com>, Aaron Lu <aaron.lu@intel.com>, Tony Li <tony.li@amd.com>, Huang Rui <ray.huang@amd.com>
Archive‑link:  Article

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&...
http://marc.info/?l=linux-kernel&m=143161327003541&...

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Copyright © 2015, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds