lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 23 Sep 2015 13:08:28 +0100
From:	Robin Murphy <robin.murphy@....com>
To:	chenfeng <puck.chen@...ilicon.com>,
	"joro@...tes.org" <joro@...tes.org>,
	"iommu@...ts.linux-foundation.org" <iommu@...ts.linux-foundation.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"rcallicotte@...il.com" <rcallicotte@...il.com>,
	"jiang.liu@...ux.intel.com" <jiang.liu@...ux.intel.com>
Cc:	Dan zhao <dan.zhao@...ilicon.com>, qijiwen <qijiwen@...ilicon.com>,
	Peter Panshilin <peter.panshilin@...ilicon.com>,
	Suzhuangluan <suzhuangluan@...ilicon.com>,
	Yiping Xu <xuyiping@...ilicon.com>,
	"Wangfei (William, Euler)" <w.f@...wei.com>
Subject: Re: How to ensure that different peripherals getting different IOVA
 address in kernel?

On 23/09/15 02: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.

This is what IOMMU domains are all about: devices in one domain are 
isolated from devices in different domains, so all you need to do is 
make sure all devices that want to share buffers are attached to the 
same domain, then they will all share that domain's IOVA space.

Robin.

>
> Any help will be appreciated.
>
> Puck
>
>

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ