From: Pratyush Anand <panand@redhat.com> To: mingo@kernel.org, alexandre.belloni@free-electrons.com, tglx@linutronix.de, hpa@zytor.com, x86@kernel.org Cc: rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, prarit@redhat.com, dzickus@redhat.com, dyoung@redhat.com, a.zummo@towertech.it, Pratyush Anand <panand@redhat.com> Subject: [PATCH V3 0/2] rtc-cmos: Workaround unwanted interrupt generation Date: Tue, 16 Aug 2016 08:55:42 +0530 [thread overview] Message-ID: <cover.1470985727.git.panand@redhat.com> (raw) We have observed on few machines with rtc-cmos devices that it generates an interrupt before the hpet_rtc_timer_init() call is finished. This leads to hpet_rtc_interrupt() being called before it is fully initialized. Therefore the while-loop of hpet_cnt_ahead() in hpet_rtc_timer_reinit() never completes. This leads to "NMI watchdog: Watchdog detected hard LOCKUP on cpu 0". This patch set initializes hpet_default_delta and hpet_t1_cmp before interrupt can be raised. Changes since V2: - Improved commit log further Changes since RFC: - Commit log of patches has been improved. Pratyush Anand (2): rtc/hpet: Factorize hpet_rtc_timer_init() rtc/rtc-cmos: Initialize software counters before irq is registered arch/x86/include/asm/hpet.h | 2 ++ arch/x86/kernel/hpet.c | 41 +++++++++++++++++++++++++++++++++++------ drivers/rtc/rtc-cmos.c | 13 ++++++++++++- 3 files changed, 49 insertions(+), 7 deletions(-) -- 2.5.5
WARNING: multiple messages have this Message-ID (diff)
From: Pratyush Anand <panand@redhat.com> To: mingo@kernel.org, alexandre.belloni@free-electrons.com, tglx@linutronix.de, hpa@zytor.com, x86@kernel.org Cc: rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, prarit@redhat.com, dzickus@redhat.com, dyoung@redhat.com, a.zummo@towertech.it, Pratyush Anand <panand@redhat.com> Subject: [rtc-linux] [PATCH V3 0/2] rtc-cmos: Workaround unwanted interrupt generation Date: Tue, 16 Aug 2016 08:55:42 +0530 [thread overview] Message-ID: <cover.1470985727.git.panand@redhat.com> (raw) We have observed on few machines with rtc-cmos devices that it generates an interrupt before the hpet_rtc_timer_init() call is finished. This leads to hpet_rtc_interrupt() being called before it is fully initialized. Therefore the while-loop of hpet_cnt_ahead() in hpet_rtc_timer_reinit() never completes. This leads to "NMI watchdog: Watchdog detected hard LOCKUP on cpu 0". This patch set initializes hpet_default_delta and hpet_t1_cmp before interrupt can be raised. Changes since V2: - Improved commit log further Changes since RFC: - Commit log of patches has been improved. Pratyush Anand (2): rtc/hpet: Factorize hpet_rtc_timer_init() rtc/rtc-cmos: Initialize software counters before irq is registered arch/x86/include/asm/hpet.h | 2 ++ arch/x86/kernel/hpet.c | 41 +++++++++++++++++++++++++++++++++++------ drivers/rtc/rtc-cmos.c | 13 ++++++++++++- 3 files changed, 49 insertions(+), 7 deletions(-) -- 2.5.5 -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
next reply other threads:[~2016-08-16 3:26 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-08-16 3:25 Pratyush Anand [this message] 2016-08-16 3:25 ` [rtc-linux] [PATCH V3 0/2] rtc-cmos: Workaround unwanted interrupt generation Pratyush Anand 2016-08-16 3:25 ` [PATCH V3 1/2] rtc/hpet: Factorize hpet_rtc_timer_init() Pratyush Anand 2016-08-16 3:25 ` [rtc-linux] " Pratyush Anand 2016-08-16 3:25 ` [PATCH V3 2/2] rtc/rtc-cmos: Initialize software counters before irq is registered Pratyush Anand 2016-08-16 3:25 ` [rtc-linux] " Pratyush Anand 2016-08-30 8:22 ` Dave Young 2016-08-30 8:22 ` [rtc-linux] " Dave Young 2016-08-30 8:38 ` Dave Young 2016-08-30 8:38 ` [rtc-linux] " Dave Young 2016-08-30 9:10 ` Dave Young 2016-08-30 9:10 ` [rtc-linux] " Dave Young 2016-08-30 9:54 ` Pratyush Anand 2016-08-30 9:54 ` [rtc-linux] " Pratyush Anand 2016-08-31 4:56 ` Dave Young 2016-08-31 4:56 ` [rtc-linux] " Dave Young 2016-08-31 6:44 ` Alexandre Belloni 2016-08-31 6:44 ` [rtc-linux] " Alexandre Belloni 2016-09-06 9:58 ` Thomas Gleixner 2016-09-06 9:58 ` [rtc-linux] " Thomas Gleixner 2016-09-06 10:40 ` Pratyush Anand 2016-09-06 10:40 ` [rtc-linux] " Pratyush Anand
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=cover.1470985727.git.panand@redhat.com \ --to=panand@redhat.com \ --cc=a.zummo@towertech.it \ --cc=alexandre.belloni@free-electrons.com \ --cc=dyoung@redhat.com \ --cc=dzickus@redhat.com \ --cc=hpa@zytor.com \ --cc=linux-kernel@vger.kernel.org \ --cc=mingo@kernel.org \ --cc=prarit@redhat.com \ --cc=rtc-linux@googlegroups.com \ --cc=tglx@linutronix.de \ --cc=x86@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.