From: feng.tang on
From: Feng Tang <feng.tang(a)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

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