search for: pci_conf_read16

Displaying 7 results from an estimated 7 matches for "pci_conf_read16".

2012 Sep 11
2
[PATCH 6/8] ns16550: PCI initialization adjustments
...tic int pci_uart_config (struct ns16550 *uart, int skip_amt, int bar_idx) { - uint16_t class; uint32_t bar, len; int b, d, f; @@ -479,9 +478,15 @@ pci_uart_config (struct ns16550 *uart, i { for ( f = 0; f < 0x8; f++ ) { - class = pci_conf_read16(0, b, d, f, PCI_CLASS_DEVICE); - if ( class != 0x700 ) + switch ( pci_conf_read16(0, b, d, f, PCI_CLASS_DEVICE) ) + { + case 0x0700: /* single port serial */ + case 0x0702: /* multi port serial */ + case 0x078...
2012 Nov 05
25
[PATCH] IOMMU: don't disable bus mastering on faults for devices used by Xen or Dom0
...( pdev && pdev->domain != dom_xen && + (!pdev->domain || !IS_PRIV(pdev->domain)) ) + pdev = NULL; + spin_unlock(&pcidevs_lock); + + if ( pdev ) + continue; + cword = pci_conf_read16(iommu->seg, PCI_BUS(bdf), PCI_SLOT(bdf), PCI_FUNC(bdf), PCI_COMMAND); --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c @@ -916,7 +916,8 @@ static void __do_iommu_page_fault(struct...
2008 Oct 08
6
pci pass-through failure on xen 3.3.0
...ne 424, in find_the_uppermost_pci_bridge dev_parent = PciDevice(dom, b, d, f) File "/usr/lib64/python2.5/xen/util/pci.py", line 382, in __init__ self.detect_dev_info() File "/usr/lib64/python2.5/xen/util/pci.py", line 604, in detect_dev_info class_dev = self.pci_conf_read16(PCI_CLASS_DEVICE) File "/usr/lib64/python2.5/xen/util/pci.py", line 567, in pci_conf_read16 fd = os.open(self.cfg_space_path, os.O_RDONLY) OSError: [Errno 2] No such file or directory: ''/sys/bus/pci/devices/0000:06:00.0/config'' I checked the above python scr...
2008 Oct 07
0
xend accesses wrong pci slot while enabling pci pass-through on xen3.3.0
..., line 423, in find_the_uppermost_pci_bridge dev_parent = PciDevice(dom, b, d, f) File "//usr/lib64/python/xen/util/pci.py", line 382, in __init__ self.detect_dev_info() File "//usr/lib64/python/xen/util/pci.py", line 603, in detect_dev_info class_dev = self.pci_conf_read16(PCI_CLASS_DEVICE) File "//usr/lib64/python/xen/util/pci.py", line 566, in pci_conf_read16 fd = os.open(self.cfg_space_path, os.O_RDONLY) OSError: [Errno 2] No such file or directory: \047/sys/bus/pci/devices/0000:06:00.0/config\047 Lspci -t is, linux-242:/home/xen-3.3.0 #...
2013 Sep 13
10
[PATCH RFC 0/8] xen/arm: initial cubieboard2 support.
See http://www.gossamer-threads.com/lists/xen/devel/297170 for some information on how to get this going. I''ve rebased and addressed the review comments. As before several of the patches are not to be applied because they can be done better using infrastructure from Julien''s "Allow Xen to boot with a raw Device Tree" patch. They are included for completeness. With
2013 Sep 20
20
[PATCH v3 0/7] support for cubieboard2 / sunxi processors
See http://www.gossamer-threads.com/lists/xen/devel/297170 for some information on how to get this going. I''ve rebased and addressed the review comments. With this rebase I''ve picked up some patches from Julien which were required to do things properly, so the gic v7 and device blacklisting patches have been changed to use the proper mechanisms. Previously I was able to boot
2010 Sep 17
27
Problem: Pattern with vertical colored lines on the dom0 screen
Hi list, I have a problem with a new laptop (reproducable on other machines too) and the xen hypervisor. When the hypervisor gets booted with VESA mode 800x600 I see some messages and then the screen contents is switched into a pattern of vertical colored lines and never comes back. In text mode all works well, but later the pattern appears when the X servers starts. I disabled VTd in the bios