Re: [PATCH, resend] x86: enable rtc-efi

From: Matthew Garrett
Date: Tue May 15 2012 - 09:40:21 EST


On Tue, May 15, 2012 at 02:36:18PM +0100, Jan Beulich wrote:
> >>> On 15.05.12 at 15:26, Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote:
> > On Tue, May 15, 2012 at 02:22:53PM +0100, Jan Beulich wrote:
> >
> >> I don't think so - the two drivers could end up manipulating the
> >> same piece of hardware, without synchronization. rtc-cmos
> >> really should bail when loaded on an EFI-enabled system.
> >
> > That's why we're taking the rtc lock.
>
> Which is completely bogus imo (i.e. it should be a goal to remove
> this).

Sure, once we've fixed the EFI clock and made sure that there's no
lingering accesses to the old nvram.

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