Re: [PATCH] x86, efi: Don't recursively acquire rtc_lock

From: Matthew Garrett
Date: Thu Aug 04 2011 - 07:37:33 EST


On Thu, Aug 04, 2011 at 03:22:24AM -0700, john stultz wrote:

> Sorry if this should be obvious, but is there a reason your not using
> your own internal lock for serializing the efi bits rather then using
> the rtc_lock?

On x86 systems the EFI clock is almost certainly the AT RTC, so it's
necessary to serialise accesses between EFI and the traditional clock
interface.

--
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/