linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: feng.tang@intel.com
To: linux-kernel@vger.kernel.org
Cc: Feng Tang <feng.tang@intel.com>
Subject: [PATCH v2 0/3] adding vrtc driver for x86/mrst platform
Date: Thu, 15 Jul 2010 16:23:28 +0800	[thread overview]
Message-ID: <1279182211-25264-1-git-send-email-feng.tang@intel.com> (raw)

From: Feng Tang <feng.tang@intel.com>

Hi all,

Moorestown platform doesn't have a m146818 RTC device like traditional
x86 PC, but a firmware emulated virtual RTC device(vrtc), which provides
some basic RTC functions like get/set time. vrtc serves as the only
wall clock device on Moorestown platform.

Currently, vrtc init func need be called before xtime's init, thus move
xtime's init into a subsys_initcall: timekeeping_late_init() as suggested
by Thomas

Please review these patches.

Thanks,
Feng

Changelog:
	v2:
	    * add IPC cmd for setting time

---------------
Feng Tang (3):
  timekeeping: moving xtime's init to a later time
  x86: unify current 3 similar ways of saving IRQ info
  x86/mrst: add vrtc driver which serves as a wall clock device

 arch/x86/include/asm/mpspec.h |    6 ++
 arch/x86/include/asm/mrst.h   |    2 -
 arch/x86/include/asm/vrtc.h   |   24 ++++++
 arch/x86/kernel/Makefile      |    2 +-
 arch/x86/kernel/acpi/boot.c   |   32 +-------
 arch/x86/kernel/mpparse.c     |   14 ++--
 arch/x86/kernel/mrst.c        |   72 +------------------
 arch/x86/kernel/vrtc.c        |  164 +++++++++++++++++++++++++++++++++++++++++
 kernel/time/timekeeping.c     |   28 +++++--
 9 files changed, 227 insertions(+), 117 deletions(-)
 create mode 100644 arch/x86/include/asm/vrtc.h
 create mode 100644 arch/x86/kernel/vrtc.c


             reply	other threads:[~2010-07-15  8:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-15  8:23 feng.tang [this message]
2010-07-15  8:23 ` [PATCH v2 1/3] timekeeping: moving xtime's init to a later time feng.tang
2010-07-15  8:23 ` [PATCH v2 2/3] x86: unify current 3 similar ways of saving IRQ info feng.tang
2010-07-15  8:23 ` [PATCH v2 3/3] x86/mrst: add vrtc driver which serves as a wall clock device feng.tang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1279182211-25264-1-git-send-email-feng.tang@intel.com \
    --to=feng.tang@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).