]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
xen/irq: Add support to check if IRQ line is shared with other domains.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 8 Nov 2010 19:26:36 +0000 (14:26 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 14 Apr 2011 15:17:54 +0000 (11:17 -0400)
commitc7c2c3a28657cfdcef50c02b18ccca3761209e17
treefc2a2c0652a61d9b0f582c33cfa4c75b3bd8a654
parentbeafbdc1df02877612dc9039c1de0639921fddec
xen/irq: Add support to check if IRQ line is shared with other domains.

We do this via the PHYSDEVOP_irq_status_query support hypervisor call.
We will get a positive value if another domain has binded its
PIRQ to the specified GSI (IRQ line).

[v2: Deal with v2.6.37-rc1 rebase fallout]
[v3: Deal with stable/irq.cleanup fallout]
[v4: xen_ignore_irq->xen_test_irq_shared]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/events.c
include/xen/events.h