Re: [PATCH] x86-64: use EFI to deal with platform wall clock

From: Matthew Garrett
Date: Fri May 25 2012 - 11:34:21 EST


On Fri, May 25, 2012 at 04:30:11PM +0100, Jan Beulich wrote:
> >>> On 25.05.12 at 17:24, Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote:
> > Looks good, but should we also be changing get_time to return in UTC?
>
> Imo that would be a separate change though.

Sure, but probably a useful one. I've had complaints from firmware
vendors that we're not handling the timezone properly here.

> > What are the expected semantics for get_wallclock?
>
> Not sure - I think both are permitted (just like for the legacy RTC),
> with the expectation that early user mode would tell the kernel.

Yeah. I think get_time and set_time should probably both be paying
attention to sys_tz and converting appropriately.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/