search for: hvm_irq_dpci

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

2011 Mar 31
7
use of struct hvm_mirq_dpci_mapping.gmsi vs. HVM_IRQ_DPCI_*_MSI flags
pt_irq_create_bind_vtd() initializes this substructure only when setting .flags to HVM_IRQ_DPCI_MACH_MSI|HVM_IRQ_DPCI_GUEST_MSI (the PT_IRQ_TYPE_MSI case), while the other path will not set HVM_IRQ_DPCI_GUEST_MSI but may also set HVM_IRQ_DPCI_MACH_MSI. Yet hvm_dpci_msi_eoi() and hvm_migrate_pirqs() check for HVM_IRQ_DPCI_MACH_MSI, i.e. may run into an uninitialized .gmsi.* field. What am I mi...
2011 Jan 26
9
[PATCH]vtd: Fix for irq bind failure after PCI attaching 32 times
...the redundant logic. Signed-off-by: Fengzhe Zhang <fengzhe.zhang@intel.com> diff -r 003acf02d416 xen/drivers/passthrough/io.c --- a/xen/drivers/passthrough/io.c Thu Jan 20 17:04:06 2011 +0000 +++ b/xen/drivers/passthrough/io.c Wed Jan 26 23:05:33 2011 +0800 @@ -375,7 +375,6 @@ hvm_irq_dpci->mirq[machine_gsi].dom = NULL; hvm_irq_dpci->mirq[machine_gsi].flags = 0; clear_bit(machine_gsi, hvm_irq_dpci->mapping); - unmap_domain_pirq_emuirq(d, machine_gsi); } } spin_unlock(&d->event_lock); _________________________...
2007 Oct 17
7
[VTD][RESEND]add a timer for the shared interrupt issue for vt-d
Keir, It''s a resending patch for the timeout mechanism to deal with the shared interrupt issue for vt-d enabled hvm guest. We modify the patch following your comments last time and make some other small fix: 1) We don''t touch the locking around the hvm_dpci_eoi(). 2) Remove the HZ from the TIME_OUT_PERIOD macro which may confuse others. 3) Add some