Prev: trace-cmd: Add BUILDING and INSTALL instructions to README
Next: [PATCH 0/3] Fix ptrace debugctlmsr stomping and kill ptrace-bts
From: Konrad Rzeszutek Wilk on 25 Mar 2010 10:00 On Fri, Mar 19, 2010 at 11:04:17AM -0400, Konrad Rzeszutek Wilk wrote: > Fujita-san et al. > > Attached is a set of patches that separate the address translation > (virt_to_phys, virt_to_bus, etc) from the SWIOTLB library. > > Since the last posting I've: > - Made the exported functions/variables have the 'swiotlb_bk' prefix instead > of the 'do_[map|unmap]*' and 'io_tlb_*' combination. > - dropped the checkpatches/other reworks patches. - and testing, which warrants: Tested-by: Sander Eikelenboom <linux(a)eikelenboom.it> To my happy surprise, I've found that Mr. Sander Eikelenboom and Mr. Albert Herranz had been using these patches. I've asked whether Mr. Sander wouldn't mind chiming in and he said he would gladly add 'Tested-by: Sander Eikelenboom <linux(a)eikelenboom.it>' to the patches. I haven't asked Mr. Albert since he is busy making his set of patches for the Wii controller ready. Mr. Sander's long summary (a bit of explanation here: these five patches form the basis of a branch that has Xen PCI frontend driver allowing PCI passthrough, so his testing encompassed these five and many more): "If have placed the usb controller in another system now. So it's tested with: Intel system, usb 3.0 xhci PCIe host controller: - Xen-4.0.0rc6, dom0 xen-next, domU your 2.6.33 tree i mentioned - Baremetal on this system with the 2.6.33 from your tree AMD system (running now, no iommu in this system): passthrough of USB2.0 PCI host controller, USB2.0 PCIe hostcontroller, USB 3.0 +PCIe host controller, 1 usb videograbber per usb controller. - Xen-4.0.0rc6, dom0 2.6.31.12 pvops kernel from jeremy's tree, domU your 2.6.33 tree i mentioned All(with xen and baremetal) have been tested by grabbing raw or mpeg2 video streams to v4l usb capture devices. So a 'Tested-by' seems to be justified i would say" The git branch in question is pv/merge.2.6.33 from GIT tree: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: FUJITA Tomonori on 4 Apr 2010 22:20
On Fri, 19 Mar 2010 11:04:17 -0400 Konrad Rzeszutek Wilk <konrad.wilk(a)oracle.com> wrote: > Fujita-san et al. > > Attached is a set of patches that separate the address translation > (virt_to_phys, virt_to_bus, etc) from the SWIOTLB library. > > Since the last posting I've: > - Made the exported functions/variables have the 'swiotlb_bk' prefix instead > of the 'do_[map|unmap]*' and 'io_tlb_*' combination. Why can't we use more simpler names such as 'swiotlb_tbl_index'? Why do we need to add the prefix to static things like 'swiotlb_bk_list', 'swiotlb_bk_index', etc? Please let them alone. > - dropped the checkpatches/other reworks patches. > > I had not addressed the question of removing the 'overflow' buffer. There are over > ~300 instances of the the DMA operations not being checked which plan on addressing > in a seperate set of patches that will slowly roll out the checks and then > finally the removal of the 'overflow' buffer. Except for swiotlb, no IOMMU implementations has the mechanism of overflow buffer. So drivers that don't check a DMA mapping error are broken anyway. Also the size of the overflow is 32K by default. We often see larger request than that. Even with the overflow mechanism, we see data corruption anyway. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |