public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Introduce iommu_commit() function
@ 2011-06-23 15:31 Joerg Roedel
  2011-06-23 15:31 ` [PATCH 1/2] iommu-api: Introduce iommu_comit function Joerg Roedel
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Joerg Roedel @ 2011-06-23 15:31 UTC (permalink / raw)
  To: iommu
  Cc: linux-kernel, David Woodhouse, Ohad Ben-Cohen, David Brown, kvm,
	Avi Kivity, Alex Williamson

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




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-11-16 12:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-23 15:31 [PATCH 0/2] Introduce iommu_commit() function Joerg Roedel
2011-06-23 15:31 ` [PATCH 1/2] iommu-api: Introduce iommu_comit function Joerg Roedel
2011-06-23 15:31 ` [PATCH 2/2] KVM: IOMMU: Use iommu_commit() in device-passthrough code Joerg Roedel
2011-06-23 15:38 ` [PATCH 0/2] Introduce iommu_commit() function David Woodhouse
2011-06-23 16:21   ` Roedel, Joerg
2011-06-23 17:20   ` Chris Wright
2011-06-24  8:08     ` Roedel, Joerg
2011-11-16  9:40   ` Avi Kivity
2011-06-29  5:02 ` KyongHo Cho
2011-06-29  5:51   ` Joerg Roedel
2011-11-16  2:00     ` KyongHo Cho
2011-11-16 12:58       ` Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox