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] [thread-next>] [day] [month] [year] [list]
Message-ID: <55B75C69.30200@arm.com>
Date:	Tue, 28 Jul 2015 11:41:45 +0100
From:	Robin Murphy <robin.murphy@....com>
To:	Ashutosh Dixit <ashutosh.dixit@...el.com>
CC:	Joerg Roedel <joro@...tes.org>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	"iommu@...ts.linux-foundation.org" <iommu@...ts.linux-foundation.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	"David S. Miller" <davem@...emloft.net>,
	Sudeep Dutt <sudeep.dutt@...el.com>,
	Nikhil Rao <nikhil.rao@...el.com>,
	Anil S Keshavamurthy <anil.s.keshavamurthy@...el.com>,
	Harish Chegondi <harish.chegondi@...el.com>,
	"sakari.ailus@...ux.intel.com" <sakari.ailus@...ux.intel.com>
Subject: Re: [PATCH char-misc-next 10/19] lib: convert iova.c into a library

On 28/07/15 11:03, Joerg Roedel wrote:
> On Mon, Jul 27, 2015 at 04:57:32PM -0700, Ashutosh Dixit wrote:
>> From: Harish Chegondi <harish.chegondi@...el.com>
>>
>> This patch converts iova.c into a library, moving it from
>> drivers/iommu/ to lib/, and exports its virtual address allocation and
>> management functions so that other modules can reuse them.
>>
>> Cc: Joerg Roedel <joro@...tes.org>
>> Reviewed-by: Anil S Keshavamurthy <anil.s.keshavamurthy@...el.com>
>> Reviewed-by: Sudeep Dutt <sudeep.dutt@...el.com>
>> Signed-off-by: Harish Chegondi <harish.chegondi@...el.com>
>
> Where is this going to be used outside of the IOMMU world?
>

...and how does it relate to the patches from Sakari (+CC) doing much 
the same thing[1]?

Having gone and fished out the main LKML thread ([2], to help anyone 
else missing it), I don't see any obvious dependency on the Intel IOMMU 
driver - what happens here if that is compiled out and hasn't called 
iommu_iova_cache_init() first?

Robin.

[1]:http://thread.gmane.org/gmane.linux.kernel.iommu/10142
[2]:http://thread.gmane.org/gmane.linux.kernel/2005895

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