Re: [PATCH 7/8] x86/mrst: add vrtc driver which serves as a wall clock device

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Feng Tang
Date: Monday, May 17, 2010 - 11:27 pm

Hi Thomas,


On Mon, 17 May 2010 17:15:55 +0800
Thomas Gleixner <tglx@linutronix.de> wrote:


Yeah, good suggestion, if xtime init is moved to a later time in kernel
init flow, then vrtc's init function can be set a arch_initcall()


I just checked the code, when wall clock's get/set_time service is called,
it is always protected by rtc_lock(code in arch/x86/kernel/rtc.c), then
no need to add the lock for each individual register read/write operation.

I will submit a v2 vrtc patch.

Thanks,
Feng


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: RFD: Should we remove the HLT check? (was Re: [PATCH ..., Arjan van de Ven, (Fri May 7, 1:33 pm)
Re: RFD: Should we remove the HLT check? (was Re: [PATCH ..., Arjan van de Ven, (Fri May 7, 3:35 pm)
Re: [PATCH 7/8] x86/mrst: add vrtc driver which serves as ..., Feng Tang, (Mon May 17, 11:27 pm)
Re: [PATCH 7/8] x86/mrst: add vrtc driver which serves as ..., Thomas Gleixner, (Tue May 18, 12:38 am)