]> xenbits.xensource.com Git - xen.git/commit
x86/irq: limit the maximum number of domain PIRQs
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 22 May 2015 08:13:04 +0000 (10:13 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 22 May 2015 08:13:04 +0000 (10:13 +0200)
commit75d28c917094b0e264874e92e8980b00a372b99f
treea8b81e4f9413d27ba69576cddcf35a6540b06029
parentfbeef5570cdf024c35bb04b9469101c256093780
x86/irq: limit the maximum number of domain PIRQs

c/s 7e73a6e "have architectures specify the number of PIRQs a hardware domain
gets" increased the default number of pirqs for dom0, as 256 was found to be
too low in some cases.

However, it didn't account for the upper bound presented by the domains EOI
bitmap, registered with the PHYSDEVOP_pirq_eoi_gmfn_v* hypercall.

On a server with 240 cpus, Xen was observed to be attempting to clear the EOI
bit for dom0's pirq 0xb40f, which hit a pagefault.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/io_apic.c
xen/arch/x86/irq.c