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 304696 Details for
Bug 445221
BUG in slab.c on save/restore
[?]
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]
backport of http://xenbits.xensource.com/xen-unstable.hg?rev/63263d715d43
linux-2.6-xen-ia64-fix-vcpu-hotplug.patch (text/plain), 2.66 KB, created by
Aron Griffis
on 2008-05-06 23:01:24 UTC
(
hide
)
Description:
backport of http://xenbits.xensource.com/xen-unstable.hg?rev/63263d715d43
Filename:
MIME Type:
Creator:
Aron Griffis
Created:
2008-05-06 23:01:24 UTC
Size:
2.66 KB
patch
obsolete
>port of http://xenbits.xensource.com/xen-unstable.hg?rev/63263d715d43 > >--- linux-2.6.18.ia64.orig/arch/ia64/kernel/irq_ia64.c 2008-05-06 16:01:13.000000000 -0400 >+++ linux-2.6.18.ia64/arch/ia64/kernel/irq_ia64.c 2008-05-06 16:26:47.000000000 -0400 >@@ -319,9 +319,9 @@ > * required. > */ > static void >-xen_register_percpu_irq (unsigned int vec, struct irqaction *action, int save) >+xen_register_percpu_irq(unsigned int cpu, unsigned int vec, >+ struct irqaction *action, int save) > { >- unsigned int cpu = smp_processor_id(); > irq_desc_t *desc; > int irq = 0; > >@@ -423,7 +423,8 @@ > * BSP will face with such step shortly > */ > for (i = 0; i < late_irq_cnt; i++) >- xen_register_percpu_irq(saved_percpu_irqs[i].irq, >+ xen_register_percpu_irq(smp_processor_id(), >+ saved_percpu_irqs[i].irq, > saved_percpu_irqs[i].action, 0); > } > >@@ -479,11 +480,21 @@ > #endif > > DECLARE_PER_CPU(int, ipi_to_irq[NR_IPIS]); >+void xen_smp_intr_init_early(unsigned int cpu) >+{ >+#ifdef CONFIG_SMP >+ unsigned int i; >+ >+ for (i = 0; i < saved_irq_cnt; i++) >+ xen_register_percpu_irq(cpu, saved_percpu_irqs[i].irq, >+ saved_percpu_irqs[i].action, 0); >+#endif >+} >+ > void xen_smp_intr_init(void) > { > #ifdef CONFIG_SMP > unsigned int cpu = smp_processor_id(); >- unsigned int i = 0; > struct callback_register event = { > .type = CALLBACKTYPE_event, > .address = (unsigned long)&xen_event_callback, >@@ -500,12 +511,9 @@ > > /* This should be piggyback when setup vcpu guest context */ > BUG_ON(HYPERVISOR_callback_op(CALLBACKOP_register, &event)); >- >- for (i = 0; i < saved_irq_cnt; i++) >- xen_register_percpu_irq(saved_percpu_irqs[i].irq, >- saved_percpu_irqs[i].action, 0); > #endif /* CONFIG_SMP */ > } >+ > #endif /* CONFIG_XEN */ > > void >@@ -516,15 +524,12 @@ > > #ifdef CONFIG_XEN > if (is_running_on_xen()) >- return xen_register_percpu_irq(vec, action, 1); >+ return xen_register_percpu_irq(smp_processor_id(), >+ vec, action, 1); > #endif > > for (irq = 0; irq < NR_IRQS; ++irq) > if (irq_to_vector(irq) == vec) { >-#ifdef CONFIG_XEN >- if (is_running_on_xen()) >- return xen_register_percpu_irq(vec, action, 1); >-#endif > desc = irq_desc + irq; > desc->status |= IRQ_PER_CPU; > desc->chip = &irq_type_ia64_lsapic; >@@ -576,6 +581,14 @@ > /* TODO: we need to call vcpu_up here */ > if (unlikely(vector == ap_wakeup_vector)) { > extern void xen_send_ipi (int cpu, int vec); >+ >+ /* XXX >+ * This should be in __cpu_up(cpu) in ia64 smpboot.c >+ * like x86. But don't want to modify it, >+ * keep it untouched. >+ */ >+ xen_smp_intr_init_early(cpu); >+ > xen_send_ipi (cpu, vector); > //vcpu_prepare_and_up(cpu); > return;
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 445221
:
304696
|
329074