lkml.org 
[lkml]   [2005]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Xen/i386 cleanups - AGP bus/phys cleanups
    On Wed, Mar 16, 2005 at 11:48:29AM +0000, Keir Fraser wrote:
    > This patch cleans up AGP driver treatment of bus/device memory. Every
    > use of virt_to_phys/phys_to_virt should properly be converting between
    > virtual and bus addresses: this distinction really matters for the Xen
    > hypervisor.

    It's bogus either way. You must never use virt_to_phys or virt_to_bus
    for bus address. For systems with an IOMMU there's no 1:1 mapping.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:11    [W:0.021 / U:0.232 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site