search for: domain_irq_to_vector

Displaying 3 results from an estimated 3 matches for "domain_irq_to_vector".

2008 Sep 26
2
RE: [Xen-changelog] [xen-unstable] x86: Properly synchronise updates to pirq-to-vector mapping.
...09a5e24cf xen/arch/x86/io_apic.c --- a/xen/arch/x86/io_apic.c Wed Sep 24 10:23:51 2008 +0100 +++ b/xen/arch/x86/io_apic.c Wed Sep 24 12:36:55 2008 +0100 @@ -45,16 +45,6 @@ int (*ioapic_renumber_irq)(int ioapic, i int (*ioapic_renumber_irq)(int ioapic, int irq); atomic_t irq_mis_count; -int domain_irq_to_vector(struct domain *d, int irq) -{ - return d->arch.pirq_vector[irq]; -} - -int domain_vector_to_irq(struct domain *d, int vector) -{ - return d->arch.vector_pirq[vector]; -} - /* Where if anywhere is the i8259 connect in external int mode */ static struct { int pin, apic; } ioapic_i8259 =...
2012 Feb 06
1
[PATCH] ia64: fix build (next instance)
...fn, mfn, 0); else rc = -ENOENT; --- a/xen/include/asm-ia64/linux-xen/asm/irq.h +++ b/xen/include/asm-ia64/linux-xen/asm/irq.h @@ -72,7 +72,7 @@ extern int request_irq_vector(unsigned i #define irq_complete_move(x) do {} \ while(!x) -#define domain_pirq_to_irq(d, irq) domain_irq_to_vector(d, irq) +#define domain_pirq_to_irq(d, irq) (irq) /* domain_irq_to_vector(d, irq) */ #define hvm_domain_use_pirq(d, info) 0 #endif --- a/xen/include/asm-ia64/linux-xen/asm/processor.h +++ b/xen/include/asm-ia64/linux-xen/asm/processor.h @@ -17,7 +17,12 @@ #include <asm/intrinsics.h> #...
2008 Sep 23
9
Xen crash on dom0 shutdown
There is a BUG_ON() at xen/arch/x86/physdev.c:169 which appears to be dependent upon guest behavior (should close event channel before un-mapping pirq), rather than on internal hypervisor state. In 2.6.18, this likely goes unnoticed because pci_device_shutdown() only calls all the driver shutdown routines. In newer kernels, however, it also calls pci_msi_shutdown() and pci_msix_shutdown(), which