lkml.org 
[lkml]   [2010]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] adding vrtc driver for x86/mrst platform
Date
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



\
 
 \ /
  Last update: 2010-07-15 10:07    [W:0.030 / U:0.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site