[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1308843083-10442-1-git-send-email-joerg.roedel@amd.com>
Date:	Thu, 23 Jun 2011 17:31:21 +0200
From:	Joerg Roedel <joerg.roedel@....com>
To:	<iommu@...ts.linux-foundation.org>
CC:	<linux-kernel@...r.kernel.org>,
	David Woodhouse <dwmw2@...radead.org>,
	Ohad Ben-Cohen <ohad@...ery.com>,
	David Brown <davidb@...eaurora.org>, <kvm@...r.kernel.org>,
	Avi Kivity <avi@...hat.com>,
	Alex Williamson <alex.williamson@...hat.com>
Subject: [PATCH 0/2] Introduce iommu_commit() function
Hi,
this patch-set introduces a new function into the iommu-api:
	iommu_commit(domain);
It needs to be called whenever a some code changed a domain (either by
attaching/detaching devices or by mapping/unmapping pages in
the domain).
IOMMU drivers can implement the new commit-callback to coalesce any
cache flushing on the CPU and in the IOMMU hardware which is necessary
after changes have been made to a domain.
David, I think especially VT-d can benefit from such a callback. I will
implement support for it in the AMD IOMMU driver and post a patch-set
soon.
Any comments, thoughts?
Thanks,
	Joerg
--
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