2.6.30 dom0 Xen patches
Two replacements CONFIG_SPARSE_IRQ by CONFIG_GENERIC_HARDIRQS
60035_xen3-patch-2.6.29.patch1 line 11568
+#ifdef CONFIG_SPARSE_IRQ
+ irq_to_desc(irq)->kstat_irqs[cpu] = 0;
+#else
kstat_cpu(cpu).irqs[irq] = 0;
60036_xen3-patch-2.6.30.patch1 line 18283
+#ifdef CONFIG_SPARSE_IRQ
+int __init arch_probe_nr_irqs(void)
+{
+ int nr;
+
+ if (nr_irqs > (NR_VECTORS * nr_cpu_ids))
+ nr_irqs = NR_VECTORS * nr_cpu_ids;
in 2.6.30 Andy's patch set allows to build working xenified 2.6.30.1 kernel been tested on Q9550,C2D E8400 boxes.
Boris.
--- On Fri, 7/10/09, Jan Beulich <[email protected]> wrote:
From: Jan Beulich <[email protected]>
Subject: Re: [Xen-devel] 2.6.30 dom0 Xen patches
To: "Andrew Lyon" <[email protected]>, "Boris Derzhavets" <[email protected]>
Cc: "Xen-devel" <[email protected]>
Date: Friday, July 10, 2009, 8:52 AM
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Boris Derzhavets <[email protected]> 10.07.09 14:40 >>>
I still believe in 60035_xen3-patch-2.6.29.patch1 line 11568
(quoted diff) +3
-0+#ifdef CONFIG_SPARSE_IRQ + irq_to_desc(irq)->kstat_irqs[cpu] = 0; +#elsekstat_cpu(cpu).irqs[irq] = 0;
causes a problem.
Sure - that's what I keep telling you: This needs to be replaced by CONFIG_GENERIC_HARDIRQS in the .30 patch.
Oh, I think I now understand what you first did: You apparently replaced the *other* +#ifdef CONFIG_SPARSE_IRQ in the .30 patch - that's wrong. You need to make the .30 patch *additionally* make the change indicated above. (Of course, you could do that in the .29 patch right away, but then your .29 patch will no longer properly reflect what's needed for that version to build and/or work right.)
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel