On 02/23/2016 08:56 PM, Paolo Bonzini wrote:
On 23/02/2016 10:00, Alexey Kardashevskiy wrote:
tce = tcet->table[addr >> tcet->page_shift];
-ret.iova = addr & page_mask;
+ret.iova = (addr + iommu->addr) & page_mask;
ret.translated_addr = tce & page_mask;
On Tue, Feb 23, 2016 at 10:56:57AM +0100, Paolo Bonzini wrote:
>
>
> On 23/02/2016 10:00, Alexey Kardashevskiy wrote:
> >>>
> >>> tce = tcet->table[addr >> tcet->page_shift];
> >>> -ret.iova = addr & page_mask;
> >>> +ret.iova = (addr + iommu->addr) & page_mask;
> >>>
On 23/02/2016 10:00, Alexey Kardashevskiy wrote:
>>>
>>> tce = tcet->table[addr >> tcet->page_shift];
>>> -ret.iova = addr & page_mask;
>>> +ret.iova = (addr + iommu->addr) & page_mask;
>>> ret.translated_addr = tce & page_mask;
>>
>> I wondered about that chan
On 02/23/2016 05:20 PM, David Gibson wrote:
On Tue, Feb 23, 2016 at 01:11:35PM +1100, Alexey Kardashevskiy wrote:
On 02/22/2016 11:12 PM, David Gibson wrote:
On Mon, Feb 22, 2016 at 10:36:19PM +1100, Alexey Kardashevskiy wrote:
On 02/22/2016 05:26 PM, David Gibson wrote:
On Mon, Feb 22, 2016
On Tue, Feb 23, 2016 at 01:11:35PM +1100, Alexey Kardashevskiy wrote:
> On 02/22/2016 11:12 PM, David Gibson wrote:
> >On Mon, Feb 22, 2016 at 10:36:19PM +1100, Alexey Kardashevskiy wrote:
> >>On 02/22/2016 05:26 PM, David Gibson wrote:
> >>>On Mon, Feb 22, 2016 at 05:09:39PM +1100, Alexey Kardashe
On 02/22/2016 11:12 PM, David Gibson wrote:
On Mon, Feb 22, 2016 at 10:36:19PM +1100, Alexey Kardashevskiy wrote:
On 02/22/2016 05:26 PM, David Gibson wrote:
On Mon, Feb 22, 2016 at 05:09:39PM +1100, Alexey Kardashevskiy wrote:
Since a788f227 "memory: Allow replay of IOMMU mapping notification
On Mon, Feb 22, 2016 at 10:36:19PM +1100, Alexey Kardashevskiy wrote:
> On 02/22/2016 05:26 PM, David Gibson wrote:
> >On Mon, Feb 22, 2016 at 05:09:39PM +1100, Alexey Kardashevskiy wrote:
> >>Since a788f227 "memory: Allow replay of IOMMU mapping notifications"
> >>when new VFIO listener is added,
On 02/22/2016 05:26 PM, David Gibson wrote:
On Mon, Feb 22, 2016 at 05:09:39PM +1100, Alexey Kardashevskiy wrote:
Since a788f227 "memory: Allow replay of IOMMU mapping notifications"
when new VFIO listener is added, all existing IOMMU mappings are replayed.
However there is a problem that the ba
On Mon, Feb 22, 2016 at 05:09:39PM +1100, Alexey Kardashevskiy wrote:
> Since a788f227 "memory: Allow replay of IOMMU mapping notifications"
> when new VFIO listener is added, all existing IOMMU mappings are replayed.
> However there is a problem that the base address of an IOMMU memory region
> (I
Since a788f227 "memory: Allow replay of IOMMU mapping notifications"
when new VFIO listener is added, all existing IOMMU mappings are replayed.
However there is a problem that the base address of an IOMMU memory region
(IOMMU MR) is ignored which is not a problem for the existing user (which is
pse
10 matches
Mail list logo