Keir Fraser wrote:
> On 25/10/08 21:05, "Michael Kapp" <tquarkk@xxxxxxxxxx> wrote:
>
>> ----------- [cut here ] --------- [please bite here ] ---------
>> Kernel BUG at arch/x86_64/kernel/../../i386/kernel/pci-dma-xen.c:377
>
> What's at line 377 in that source file in your kernel source tree?
See attachment of the specific part from pci-dma-xen.c.
> -- Keir
Regards,
Michael
362 dma_addr_t
363 dma_map_single(struct device *dev, void *ptr, size_t size,
364 enum dma_data_direction direction)
365 {
366 dma_addr_t dma;
367
368 if (direction == DMA_NONE)
369 BUG();
370 WARN_ON(size == 0);
371
372 if (swiotlb) {
373 dma = swiotlb_map_single(dev, ptr, size, direction);
374 } else {
375 dma = gnttab_dma_map_page(virt_to_page(ptr)) +
376 offset_in_page(ptr);
377 IOMMU_BUG_ON(range_straddles_page_boundary(__pa(ptr), size));
378 IOMMU_BUG_ON(address_needs_mapping(dev, dma));
379 }
380
381 flush_write_buffers();
382 return dma;
383 }
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|