The patch titled Fix RTC_AIE with CONFIG_HPET_EMULATE_RTC has been added to the -mm tree. Its filename is fix-rtc_aie-with-config_hpet_emulate_rtc.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: Fix RTC_AIE with CONFIG_HPET_EMULATE_RTC From: Bernhard Walle <bwalle@xxxxxxx> In the current code, RTC_AIE doesn't work if the RTC relies on CONFIG_HPET_EMULATE_RTC because the code sets the RTC_AIE flag in hpet_set_rtc_irq_bit(). The interrupt handles does accidentally check for RTC_PIE and not RTC_AIE when comparing the time which was set in hpet_set_alarm_time(). Signed-off-by: Bernhard Walle <bwalle@xxxxxxx> Cc: Robert Picco <Robert.Picco@xxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Andi Kleen <ak@xxxxxxx> Cc: john stultz <johnstul@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86/kernel/hpet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/x86/kernel/hpet.c~fix-rtc_aie-with-config_hpet_emulate_rtc arch/x86/kernel/hpet.c --- a/arch/x86/kernel/hpet.c~fix-rtc_aie-with-config_hpet_emulate_rtc +++ a/arch/x86/kernel/hpet.c @@ -657,7 +657,7 @@ irqreturn_t hpet_rtc_interrupt(int irq, hpet_pie_count = 0; } - if (hpet_rtc_flags & RTC_PIE && + if (hpet_rtc_flags & RTC_AIE && (curr_time.tm_sec == hpet_alarm_time.tm_sec) && (curr_time.tm_min == hpet_alarm_time.tm_min) && (curr_time.tm_hour == hpet_alarm_time.tm_hour)) _ Patches currently in -mm which might be from bwalle@xxxxxxx are git-x86.patch fix-rtc_aie-with-config_hpet_emulate_rtc.patch introduce-flags-for-reserve_bootmem.patch introduce-flags-for-reserve_bootmem-checkpatch-fixes.patch use-bootmem_exclusive-for-kdump.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html