kernel-ark/include/xen/interface
Stefano Stabellini e5fc734541 xen: use PHYSDEVOP_get_free_pirq to implement find_unbound_pirq
Use the new hypercall PHYSDEVOP_get_free_pirq to ask Xen to allocate a
pirq. Remove the unsupported PHYSDEVOP_get_nr_pirqs hypercall to get the
amount of pirq available.

This fixes find_unbound_pirq that otherwise would return a number
starting from nr_irqs that might very well be out of range in Xen.

The symptom of this bug is that when you passthrough an MSI capable pci
device to a PV on HVM guest, Linux would fail to enable MSIs on the
device.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
2010-12-02 14:28:22 +00:00
..
hvm x86: Call HVMOP_pagetable_dying on exit_mmap. 2010-07-26 23:13:26 -07:00
io xen-pcifront: Xen PCI frontend driver. 2010-10-18 10:49:37 -04:00
callback.h xen64: define asm/xen/interface for 64-bit 2008-07-16 10:56:18 +02:00
elfnote.h xen: add new Xen elfnote types and use them appropriately 2008-06-02 13:25:51 +02:00
event_channel.h xen: clean up asm/xen/hypervisor.h 2008-12-16 21:50:31 +01:00
features.h xen: support GSI -> pirq remapping in PV on HVM guests 2010-10-22 21:25:42 +01:00
grant_table.h xen: Xen PCI platform device driver. 2010-07-22 16:46:09 -07:00
memory.h xen: implement XENMEM_machphys_mapping 2010-11-12 15:00:06 -08:00
physdev.h xen: use PHYSDEVOP_get_free_pirq to implement find_unbound_pirq 2010-12-02 14:28:22 +00:00
sched.h
vcpu.h xen: add missing definitions in include/xen/interface/vcpu.h which ia64/xen needs 2008-04-24 23:57:32 +02:00
version.h xen: add /sys/hypervisor support 2009-03-30 09:27:06 -07:00
xen.h xen: implement ptep_modify_prot_start/commit 2008-06-25 15:17:23 +02:00
xencomm.h xen: import arch generic part of xencomm 2008-04-24 23:57:32 +02:00