Re: [RFC PATCH 00/14] Support timezone of ACPI TAD and EFI TIME
From: H. Peter Anvin
Date: Fri Dec 20 2013 - 16:13:33 EST
On 12/20/2013 07:16 AM, Matthew Garrett wrote:
> On Thu, 2013-12-19 at 20:22 -0800, H. Peter Anvin wrote:
>> On 12/19/2013 08:05 PM, joeyli wrote:
>>> Can we use EFI time services on x86_64 after Borislav's patches accepted
>>> to mainline?
>>>
>>
>> No.
>
> We will want to use them to (at minimum) obtain the clock timezone.
> Using them for general RTC access is less attractive.
>
One option is to use the EFI runtime call to get and save the clock
timezone before we call ExitBootServices() in the EFI stub. This
doesn't obviate the need for proper handling of the TAD, though,
especially since it is likely that future hardware will not have a RTC
in the current form (it is a way more complex device than is needed,
which wouldn't normally be a problem, but the fact that it has to
operate in the Vbat well makes it a major one.)
-hpa
--
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/