|
|
|
|
|
|
|
|
|
|
xen-bugs
[Xen-bugs] [Bug 915] VPCI crashes domU kernel with dedicated NIC when ch
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=915
------- Comment #1 from jan.oravec@xxxxxxx 2007-03-04 17:21 -------
Looking at the pci-dma-xen.c:342:
dma_addr_t
dma_map_single(struct device *dev, void *ptr, size_t size,
enum dma_data_direction direction)
{
dma_addr_t dma;
BUG_ON(!valid_dma_direction(direction));
WARN_ON(size == 0);
if (swiotlb) {
dma = swiotlb_map_single(dev, ptr, size, direction);
} else {
dma = virt_to_bus(ptr);
IOMMU_BUG_ON(range_straddles_page_boundary(ptr, size));
IOMMU_BUG_ON(address_needs_mapping(dev, dma));
}
flush_write_buffers();
return dma;
}
EXPORT_SYMBOL(dma_map_single);
Line 342 is IOMMU_BUG_ON(range_straddles_page_boundary) as expected...
--
Configure bugmail:
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs
|
|
|
|
|