Re: How to ensure that different peripherals getting different IOVA address in kernel?

From: Jiang Liu
Date: Tue Sep 22 2015 - 22:42:41 EST


On 2015/9/23 9:55, chenfeng wrote:
> Hi all,
>
> In IOMMU architecture , how to make two different peripherals share the same page table ?
>
> In other words , is there a mechanism or structure to make two peripherals get completely different address.
>
> eg:
>
> peri-Aãperi-B and peri-C share the same iova address 0-1G for some performance requests.
>
> So the A,B,C need to use the same IOVA generator to ensure this,but I don't find an architecture to make this.
>
> Any help will be appreciated.
Hi Chenfeng,
Seems IOMMU group may help you, please take a look at
Documentation/vfio.txt.
Thanks!
Gerry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/