adding vrtc driver for x86/mrst platform
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesNew
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | timekeeping: moving xtime's init to a later timekernel/ | +21 | 0 replies | |
| 2/3 | x86: unify current 3 similar ways of saving IRQ infoarch/ arch/ arch/ +1 more | +18 | 0 replies | |
| 3/3 | x86/mrst: add vrtc driver which serves as a wall clock devicearch/ arch/ arch/ +2 more | +189 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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