lkml.org 
[lkml]   [2012]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRemoteproc: Translating between host and device addresses.
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-address is
not necessarily known by the device. In my case.

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 the same memory location. But this feels
like a workaround, shouldn't we make a more explicit way of
communicating this mapping between host-physical and device
addresses?

Regards,
Sjur





\
 
 \ /
  Last update: 2012-08-14 19:42    [W:0.268 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site