Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 290406 Details for
Bug 426793
CMCI is left disabled on hot-added processors
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Upstream patch ported to recent RHEL-5 kernel
linux-2.6-ia64-adjust-cmci-mask-on-cpu-hotplug.patch (text/plain), 1.84 KB, created by
Fabio Olive Leite
on 2007-12-26 13:17:44 UTC
(
hide
)
Description:
Upstream patch ported to recent RHEL-5 kernel
Filename:
MIME Type:
Creator:
Fabio Olive Leite
Created:
2007-12-26 13:17:44 UTC
Size:
1.84 KB
patch
obsolete
>commit ed5d4026ae6f51bec25e03a891a7d59c492577ab >Author: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> >Date: Wed Dec 19 11:42:02 2007 -0800 > > [IA64] Adjust CMCI mask on CPU hotplug > > Currently CMCI mask of hot-added CPU is always disabled after CPU hotplug. > We should adjust this mask depending on CMC polling state. > > Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> > Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com> > Signed-off-by: Tony Luck <tony.luck@intel.com> > >diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c >index 10b48cd..6dbf591 100644 >--- a/arch/ia64/kernel/mca.c >+++ b/arch/ia64/kernel/mca.c >@@ -72,6 +72,7 @@ > #include <linux/smp.h> > #include <linux/workqueue.h> > #include <linux/cpumask.h> >+#include <linux/cpu.h> > > #include <asm/delay.h> > #include <asm/kdebug.h> >@@ -1771,6 +1772,36 @@ ia64_mca_cpu_init(void *cpu_data) > PAGE_KERNEL)); > } > >+static void __cpuinit ia64_mca_cmc_vector_adjust(void *dummy) >+{ >+ unsigned long flags; >+ >+ local_irq_save(flags); >+ if (!cmc_polling_enabled) >+ ia64_mca_cmc_vector_enable(NULL); >+ local_irq_restore(flags); >+} >+ >+static int __cpuinit mca_cpu_callback(struct notifier_block *nfb, >+ unsigned long action, >+ void *hcpu) >+{ >+ int hotcpu = (unsigned long) hcpu; >+ >+ switch (action) { >+ case CPU_ONLINE: >+ case CPU_ONLINE_FROZEN: >+ smp_call_function_single(hotcpu, ia64_mca_cmc_vector_adjust, >+ NULL, 1, 0); >+ break; >+ } >+ return NOTIFY_OK; >+} >+ >+static struct notifier_block mca_cpu_notifier __cpuinitdata = { >+ .notifier_call = mca_cpu_callback >+}; >+ > /* > * ia64_mca_init > * >@@ -1954,6 +1985,8 @@ ia64_mca_late_init(void) > if (!mca_init) > return 0; > >+ register_hotcpu_notifier(&mca_cpu_notifier); >+ > /* Setup the CMCI/P vector and handler */ > init_timer(&cmc_poll_timer); > cmc_poll_timer.function = ia64_mca_cmc_poll;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 426793
: 290406 |
290407
|
292457