[RFC v2] ARM VM System Specification

Peter Maydell peter.maydell at linaro.org
Tue Jun 10 11:08:39 PDT 2014


On 10 June 2014 18:04, Christopher Covington <cov at codeaurora.org> wrote:
> On 06/10/2014 10:42 AM, Peter Maydell wrote:
>> I just noticed that this doesn't mandate that the platform
>> provides an RTC. As I understand it, the UEFI spec mandates
>> that there's an RTC (could somebody more familiar with UEFI
>> than me confirm/deny that?) so we should probably put one here.
>
> Pardon my ignorance, but what exactly disqualifies Generic Timer
> implementations from being used as Real Time Clocks?

So my naive view was that an RTC actually had to have
support for dealing with real (wall) clock time, ie
knowing it's 2014 and not 1970. The generic timers are
just timers. Or am I wrong and UEFI doesn't really
require that?

It's also handy if you're booting Linux directly without
UEFI, since it means you can actually have a /dev/rtc0
(and QEMU's implementation at least will correctly give
you the time based on the host's RTC).

thanks
-- PMM



More information about the linux-arm-kernel mailing list