Skip to content

adding vrtc driver for x86/mrst platform

[email protected] lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 0 repliesSuperseded

Changelog from the cover letter

	v2:
	    * add IPC cmd for setting time

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3timekeeping: moving xtime's init to a later timekernel/time/timekeeping.c+21 -70 replies
2/3x86: unify current 3 similar ways of saving IRQ infoarch/x86/include/asm/mpspec.h arch/x86/kernel/acpi/boot.c arch/x86/kernel/mpparse.c +1 more+18 -640 replies
3/3x86/mrst: add vrtc driver which serves as a wall clock devicearch/x86/include/asm/mrst.h arch/x86/include/asm/vrtc.h arch/x86/kernel/Makefile +2 more+189 -470 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] adding vrtc driver for x86/mrst platform

From: Feng Tang <[email protected]>

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