lkml.org 
[lkml]   [2008]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 -mm 0/2] x86: per-device dma_mapping_ops
    On Thu, May 22, 2008 at 04:13:02PM +0530, Amit Shah wrote:

    > OK; this sounds helpful. the hook can make a hypercall and confirm
    > with the host kernel if the device in question is an assigned
    > physical device. If yes, we replace the dma_ops. Though, the
    > original intent of having stackable ops is that we might want to go
    > through the swiotlb in the guest even for an assigned device if the
    > guest dma addresses are not in the addressable range of the guest
    > chipset.
    >
    > > created (it works with hot plugging). It enables IOMMUs to set up an
    > > appropriate dma_mapping_ops per device.
    >
    > From what we've discussed so far, it looks like stackable dma ops will
    > definitely be needed. Does this patchset provide something that stacking
    > won't?

    Yes---this patchset let's you have a per-device dma-ops, whereas with
    stackable you only get global dma-ops. I think it's clear we need
    both, and I think per-device dma-ops are the first thing that's
    needed. Stacking can then be introduced on a per-device basis.

    Cheers,
    Muli



    \
     
     \ /
      Last update: 2008-05-25 09:23    [W:3.638 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site