From: Joerg Roedel <joerg.roedel@amd.com> To: <iommu@lists.linux-foundation.org> Cc: <linux-kernel@vger.kernel.org>, Joerg Roedel <joerg.roedel@amd.com> Subject: [PATCH 3/7] iommu/vt-d: Implement DOMAIN_ATTR_GEOMETRY attribute Date: Wed, 11 Jul 2012 12:49:19 +0200 [thread overview] Message-ID: <1342003763-8139-4-git-send-email-joerg.roedel@amd.com> (raw) In-Reply-To: <1342003763-8139-1-git-send-email-joerg.roedel@amd.com> Implement the attribute for the Intel IOMMU driver. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> --- drivers/iommu/intel-iommu.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index b12af2f..6cb0791 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c @@ -3932,6 +3932,10 @@ static int intel_iommu_domain_init(struct iommu_domain *domain) domain_update_iommu_cap(dmar_domain); domain->priv = dmar_domain; + domain->geometry.aperture_start = 0; + domain->geometry.aperture_end = __DOMAIN_MAX_ADDR(dmar_domain->gaw); + domain->geometry.force_aperture = true; + return 0; } -- 1.7.9.5
WARNING: multiple messages have this Message-ID (diff)
From: Joerg Roedel <joerg.roedel-5C7GfCeVMHo@public.gmane.org> To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Subject: [PATCH 3/7] iommu/vt-d: Implement DOMAIN_ATTR_GEOMETRY attribute Date: Wed, 11 Jul 2012 12:49:19 +0200 [thread overview] Message-ID: <1342003763-8139-4-git-send-email-joerg.roedel@amd.com> (raw) In-Reply-To: <1342003763-8139-1-git-send-email-joerg.roedel-5C7GfCeVMHo@public.gmane.org> Implement the attribute for the Intel IOMMU driver. Signed-off-by: Joerg Roedel <joerg.roedel-5C7GfCeVMHo@public.gmane.org> --- drivers/iommu/intel-iommu.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index b12af2f..6cb0791 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c @@ -3932,6 +3932,10 @@ static int intel_iommu_domain_init(struct iommu_domain *domain) domain_update_iommu_cap(dmar_domain); domain->priv = dmar_domain; + domain->geometry.aperture_start = 0; + domain->geometry.aperture_end = __DOMAIN_MAX_ADDR(dmar_domain->gaw); + domain->geometry.force_aperture = true; + return 0; } -- 1.7.9.5
next prev parent reply other threads:[~2012-07-11 10:51 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-07-11 10:49 [PATCH 0/7] Make IOMMU-API ready for GART-like hardware Joerg Roedel 2012-07-11 10:49 ` Joerg Roedel 2012-07-11 10:49 ` [PATCH 1/7] iommu: Add domain-attribute handlers Joerg Roedel 2012-07-11 10:49 ` Joerg Roedel 2012-07-11 10:49 ` [PATCH 2/7] iommu/amd: Implement DOMAIN_ATTR_GEOMETRY attribute Joerg Roedel 2012-07-11 10:49 ` Joerg Roedel 2012-07-11 11:47 ` Sethi Varun-B16395 2012-07-11 12:17 ` Joerg Roedel 2012-07-11 12:17 ` Joerg Roedel 2012-07-11 13:28 ` Sethi Varun-B16395 2012-07-11 10:49 ` Joerg Roedel [this message] 2012-07-11 10:49 ` [PATCH 3/7] iommu/vt-d: " Joerg Roedel 2012-07-11 10:49 ` [PATCH 4/7] iommu/omap: " Joerg Roedel 2012-07-11 10:49 ` Joerg Roedel 2012-07-11 10:49 ` [PATCH 5/7] iommu/msm: " Joerg Roedel 2012-07-11 10:49 ` Joerg Roedel 2012-07-11 10:49 ` [PATCH 6/7] iommu/tegra: " Joerg Roedel 2012-07-11 10:49 ` Joerg Roedel 2012-07-11 10:49 ` [PATCH 7/7] iommu/exynos: " Joerg Roedel 2012-07-11 10:49 ` Joerg Roedel
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1342003763-8139-4-git-send-email-joerg.roedel@amd.com \ --to=joerg.roedel@amd.com \ --cc=iommu@lists.linux-foundation.org \ --cc=linux-kernel@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.