Revision e5fc7345412d5e4758fcef55a74354c5cbefd61e authored by Stefano Stabellini on 01 December 2010, 14:51:44 UTC, committed by Stefano Stabellini on 02 December 2010, 14:28:22 UTC
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>
1 parent e8a7e48
File | Mode | Size |
---|---|---|
6pack.c | -rw-r--r-- | 24.6 KB |
Kconfig | -rw-r--r-- | 7.8 KB |
Makefile | -rw-r--r-- | 767 bytes |
baycom_epp.c | -rw-r--r-- | 34.2 KB |
baycom_par.c | -rw-r--r-- | 16.5 KB |
baycom_ser_fdx.c | -rw-r--r-- | 20.7 KB |
baycom_ser_hdx.c | -rw-r--r-- | 20.5 KB |
bpqether.c | -rw-r--r-- | 14.6 KB |
dmascc.c | -rw-r--r-- | 36.9 KB |
hdlcdrv.c | -rw-r--r-- | 20.6 KB |
mkiss.c | -rw-r--r-- | 24.3 KB |
scc.c | -rw-r--r-- | 54.2 KB |
yam.c | -rw-r--r-- | 32.2 KB |
z8530.h | -rw-r--r-- | 8.3 KB |
Computing file changes ...