Re: [PATCH] RTC: Restore alarm after resume

From: Andrew Morton
Date: Mon Jan 05 2015 - 17:41:50 EST


On Mon, 22 Dec 2014 19:19:39 +0000 Matthew Garrett <matthew.garrett@xxxxxxxxxx> wrote:

> Some platform firmware may interfere with the RTC alarm over suspend,
> resulting in the kernel and hardware having different ideas about system state
> but also potentially causing problems with firmware that assumes the OS will
> clean this case up. This patch saves the RTC alarm state on suspend and will
> restore it on resume if the alarm has not yet fired - if it has, it will clear
> the RTC alarm.

There's not really enough info here for me to decide which kernel
version(s) need the patch. Can we please expand on "some"? Any
suggestions regarding the importance/timing of the fix?


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