search for: pcidevs_lock

Displaying 5 results from an estimated 5 matches for "pcidevs_lock".

2011 Sep 21
0
[PATCH] x86: IO-APIC code has no dependency on PCI
The IRQ handling code requires pcidevs_lock to be held only for MSI interrupts. As the handling of which was now fully moved into msi.c (i.e. while applying fine without, the patch needs to be applied after the one titled "x86: split MSI IRQ chip"), io_apic.c now also doesn''t need to include PCI headers anymore. Signed-o...
2012 Nov 05
25
[PATCH] IOMMU: don't disable bus mastering on faults for devices used by Xen or Dom0
...mmu_init.c @@ -625,6 +625,18 @@ static void parse_event_log_entry(struct for ( bdf = 0; bdf < ivrs_bdf_entries; bdf++ ) if ( get_dma_requestor_id(iommu->seg, bdf) == device_id ) { + const struct pci_dev *pdev; + + spin_lock(&pcidevs_lock); + pdev = pci_get_pdev(iommu->seg, PCI_BUS(bdf), PCI_DEVFN2(bdf)); + if ( pdev && pdev->domain != dom_xen && + (!pdev->domain || !IS_PRIV(pdev->domain)) ) + pdev = NULL; + spin_unlock(&a...
2009 Jan 09
5
[PATCH] Enable PCI passthrough with stub domain.
...NR_VECTORS ) @@ -931,7 +931,7 @@ int unmap_domain_pirq(struct domain *d, if ( (pirq < 0) || (pirq >= NR_IRQS) ) return -EINVAL; - if ( !IS_PRIV(current->domain) ) + if ( !IS_PRIV_FOR(current->domain, d) ) return -EINVAL; ASSERT(spin_is_locked(&pcidevs_lock)); diff -r b9721b2766c1 xen/arch/x86/physdev.c --- a/xen/arch/x86/physdev.c Wed Jan 07 11:25:00 2009 +0000 +++ b/xen/arch/x86/physdev.c Thu Jan 08 18:58:36 2009 +0900 @@ -34,9 +34,6 @@ static int physdev_map_pirq(struct physd struct msi_info _msi; void *map_data = NULL; - if ( !IS_PR...
2011 Sep 23
0
[xen-unstable test] 9061: regressions - FAIL
...et checked (which could have resulted in a false warning). Signed-off-by: Jan Beulich <jbeulich@suse.com> changeset: 23867:571b6e90dfb4 user: Jan Beulich <jbeulich@suse.com> date: Thu Sep 22 18:31:44 2011 +0100 VT-d: eliminate a mis-use of pcidevs_lock dma_pte_clear_one() shouldn''t acquire this global lock for the purpose of processing a per-domain list. Furthermore the function a few lines earlier has a comment stating that acquiring pcidevs_lock isn''t necessary here (whether that''s really correct...
2011 Jan 22
53
Xen 4.1 rc1 test report
Hi, All Intel QA conducted a full validation for xen 4.1 rc1, it includes VT-x, VT-d, SRIOV, RAS, TXT and xl tools testing. 24 issues were exposed. Refer the bug list, please. We already assigned 14 bugs to Intel developers (which has an ''Intel'' tag in the bug title), most of the rest 10 bugs are related xl command. For the these bugs, need community''s help to fix