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:	Tue, 22 Nov 2011 23:00:19 +0000
From:	Alan Cox <alan@...ux.intel.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	Alessandro Rubini <ru@...dd.com>, fujita.tomonori@....ntt.co.jp,
	tglx@...utronix.de, mingo@...hat.com, hpa@...or.com,
	x86@...nel.org, linux-kernel@...r.kernel.org,
	giancarlo.asnaghi@...com, maddalena.brattoli@...com
Subject: Re: a question on DMA and remapping

> Generalising the existing code to cover more cases isn't a bad thing
> to do.  Others might be able to use it, and they surely won't be able
> to use any cloned-and-owned swiotlb.c.

If you look on the kernel list there has also been some discussion and
work recently towards removing a lot of the duplication between the
iommu devices.

I think really you need to be an actual iommu instance because in
reality you are. Trying to fudge it any other way breaks the moment
someone tries to do a device to device DMA transfer because your
bus/phys mapping seen from your device and the bus/phys mapping seen
from another device into your device do not match as I understand it.

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