[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rump pci drivers backend
From: |
Luca dariz |
Subject: |
Re: rump pci drivers backend |
Date: |
Tue, 9 Aug 2016 00:21:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.1.0 |
Il 30/07/2016 03:47, Olaf Buddenhagen ha scritto:
> On Fri, Jul 29, 2016 at 06:30:09PM +0000, Luca wrote:
>
>> I need a way to translate logical addresses to physical,
>
> Is this for DMA or something along these lines? If so, the interface for
> allocating "contiguous memory" that was added for the purpose of DDE
> should work here as well I'd presume.
>
> (I didn't like how the original interface was designed specifically, and
> I don't know whether in has been improved since -- but regardless, it
> should get the job done...)
>
> If it doesn't cut it, or this is about something else entirely, could
> you elaborate please?
>
The contiguous memory allocation interface is not enough. I mean, at
least in the virtio ld driver, there are some addresses that must be
translated which are not allocated with vm_allocate_contiguous. However
I did not investigate in detail why this is needed.
Luca
signature.asc
Description: OpenPGP digital signature