[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1326983405-319-1-git-send-email-joerg.roedel@amd.com>
Date: Thu, 19 Jan 2012 15:30:00 +0100
From: Joerg Roedel <joerg.roedel@....com>
To: <iommu@...ts.linux-foundation.org>
CC: <linux-kernel@...r.kernel.org>, Ohad Ben-Cohen <ohad@...ery.com>,
David Woodhouse <dwmw2@...radead.org>,
David Brown <davidb@...eaurora.org>,
Tony Lindgren <tony@...mide.com>,
Hiroshi DOYU <Hiroshi.DOYU@...ia.com>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Stuart Yoder <b08248@...il.com>,
Scott Wood <scottwood@...escale.com>,
Hiroshi Doyu <hdoyu@...dia.com>
Subject: [PATCH 0/5] IOMMU: Make IOMMU-API ready for GART-like hardware
Hi,
this patch-set adds two new functions the the IOMMU-API:
* iommu_domain_set_attr()
* iommu_domain_get_attr()
These are generic functions to set and change attributes of a domain.
The plan is to have a set of generic attributes implemented by more than
one IOMMU driver as well as driver specific ones. As an example for the
first type this patch-set also implements the DOMAIN_ATTR_GEOMETRY
attribute. It can be used to query information about the address space
window that can be remapped by the iommu hardware. With this attribute
is is very easy to support IOMMUs like GART and friends.
Any feedback appreciated.
Thanks,
Joerg
Diffstat:
drivers/iommu/amd_iommu.c | 4 ++++
drivers/iommu/intel-iommu.c | 4 ++++
drivers/iommu/iommu.c | 33 +++++++++++++++++++++++++++++++++
drivers/iommu/msm_iommu.c | 5 +++++
drivers/iommu/omap-iommu.c | 4 ++++
include/linux/iommu.h | 36 +++++++++++++++++++++++++++++++++++-
6 files changed, 85 insertions(+), 1 deletions(-)
--
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