From: akpm@linux-foundation.org
To: jacob.jun.pan@linux.intel.com, hpa@zytor.com,
jaegerandi@gmail.com, mingo@elte.hu, tglx@linutronix.de,
mm-commits@vger.kernel.org
Subject: [merged] x86-apbt-conditionally-register-cpu-hp-notifier-for-apbt.patch removed from -mm tree
Date: Tue, 27 Apr 2010 11:01:51 -0400 [thread overview]
Message-ID: <201004271803.o3RI3OCn010988@imap1.linux-foundation.org> (raw)
The patch titled
x86/apbt: conditionally register cpu hp notifier for apbt
has been removed from the -mm tree. Its filename was
x86-apbt-conditionally-register-cpu-hp-notifier-for-apbt.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: x86/apbt: conditionally register cpu hp notifier for apbt
From: Jacob Pan <jacob.jun.pan@linux.intel.com>
APB timer is used on Moorestown platforms but not on a standard PC.
If APB timer code is compiled in but not initialized at run-time due
to lack of FW reported SFI table, kernel would panic when the non-boot
CPUs are offlined and notifier is called.
This patch ensures CPU hotplug notifier for APB timer is only registered
when the APBT timer block is initialized.
Addresses https://bugzilla.kernel.org/show_bug.cgi?id=15786
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Reported-by: Andreas Jaeger <jaegerandi@gmail.com>
Tested-by: Andreas Jaeger <jaegerandi@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
arch/x86/kernel/apb_timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN arch/x86/kernel/apb_timer.c~x86-apbt-conditionally-register-cpu-hp-notifier-for-apbt arch/x86/kernel/apb_timer.c
--- a/arch/x86/kernel/apb_timer.c~x86-apbt-conditionally-register-cpu-hp-notifier-for-apbt
+++ a/arch/x86/kernel/apb_timer.c
@@ -429,7 +429,7 @@ static int apbt_cpuhp_notify(struct noti
static __init int apbt_late_init(void)
{
- if (disable_apbt_percpu)
+ if (disable_apbt_percpu || !apb_timer_block_enabled)
return 0;
/* This notifier should be called after workqueue is ready */
hotcpu_notifier(apbt_cpuhp_notify, -20);
_
Patches currently in -mm which might be from jacob.jun.pan@linux.intel.com are
linux-next.patch
reply other threads:[~2010-04-27 18:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=201004271803.o3RI3OCn010988@imap1.linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=hpa@zytor.com \
--cc=jacob.jun.pan@linux.intel.com \
--cc=jaegerandi@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mm-commits@vger.kernel.org \
--cc=tglx@linutronix.de \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox