[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <81C3A93C17462B4BBD7E272753C1057923B924C92D@EXDCVYMBSTM005.EQ1STM.local>
Date: Tue, 14 Aug 2012 19:06:05 +0200
From: Sjur BRENDELAND <sjur.brandeland@...ricsson.com>
To: Ohad Ben-Cohen <ohad@...ery.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Sjur Brændeland <sjurbren@...il.com>
Subject: Remoteproc: 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists