Re: Remoteproc: Translating between host and device addresses.

2012-09-10 Thread Ohad Ben-Cohen
Hi Sjur, On Mon, Sep 10, 2012 at 4:07 PM, Sjur BRENDELAND wrote: > But the vring descriptor table will still contain the host's physical address > for the > buffers, right? > So how can the device then find the device-address of these buffers if we > don't > use an IOMMU and have no address tra

RE: Remoteproc: Translating between host and device addresses.

2012-09-10 Thread Sjur BRENDELAND
Hi Ohad, > > One way for the device to figure out the translation between > > host-physical and device-address is to peek into some CarveOut > > resource entry and compute this translation. Because a CarveOut > > resource entry contains both the host-physical-address and the > > device address for

Re: Remoteproc: Translating between host and device addresses.

2012-09-10 Thread Ohad Ben-Cohen
Hi Sjur, On Tue, Aug 14, 2012 at 8:06 PM, Sjur BRENDELAND wrote: > One way for the device to figure out the translation between > host-physical and device-address is to peek into some CarveOut > resource entry and compute this translation. Because a CarveOut > resource entry contains both the hos

Remoteproc: Translating between host and device addresses.

2012-08-14 Thread Sjur BRENDELAND
Hi Ohad, I have one question related to address translation between device address and host-physical address referencing the data-buffer transported in the virtio-rings. The address used in the virtio-ring is the host-physical-address, but the mapping between device-address and host-physical-addre