From: Kumar Gala <galak@kernel.crashing.org>
To: "<b16395@freescale.com>" <b16395@freescale.com>
Cc: <iommu@lists.linux-foundation.org>, <joerg.roedel@amd.com>,
<linux-kernel@vger.kernel.org>, <linuxppc-dev@lists.ozlabs.org>,
Varun Sethi <Varun.Sethi@freescale.com>
Subject: Re: [RFC][PATCH 1/3] iommu/fsl: Store iommu domain information pointer in archdata.
Date: Wed, 19 Sep 2012 08:50:14 -0500 [thread overview]
Message-ID: <5BDB4D18-CB0D-4EBA-B38F-A278B7C00A61@kernel.crashing.org> (raw)
In-Reply-To: <1348060632-12997-2-git-send-email-b16395@freescale.com>
On Sep 19, 2012, at 8:17 AM, <b16395@freescale.com> <b16395@freescale.com> wrote:
> From: Varun Sethi <Varun.Sethi@freescale.com>
>
> Add a new field in the device (powerpc) archdata structure for storing iommu domain
> information pointer. This pointer is stored when the device is attached to a particular
> domain.
>
> Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com>
> ---
> arch/powerpc/include/asm/device.h | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
Not too familiar, but what does the IBM Server IOMMU do for iommu_domain?
>
> diff --git a/arch/powerpc/include/asm/device.h b/arch/powerpc/include/asm/device.h
> index 77e97dd..6dc79fe 100644
> --- a/arch/powerpc/include/asm/device.h
> +++ b/arch/powerpc/include/asm/device.h
> @@ -28,6 +28,10 @@ struct dev_archdata {
> void *iommu_table_base;
> } dma_data;
>
> + /* IOMMU domain information pointer. This would be set
> + * when this device is attached to an iommu_domain.
> + */
> + void *iommu_domain;
> #ifdef CONFIG_SWIOTLB
> dma_addr_t max_direct_dma_addr;
> #endif
> --
> 1.7.4.1
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2012-09-19 14:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-19 13:17 [RFC][PATCH 0/3] iommu/fsl: Freescale PAMU driver and IOMMU API implementation b16395
2012-09-19 13:17 ` [RFC][PATCH 1/3] iommu/fsl: Store iommu domain information pointer in archdata b16395
2012-09-19 13:50 ` Kumar Gala [this message]
2012-10-04 16:30 ` Sethi Varun-B16395
2012-09-19 13:17 ` [RFC][PATCH 2/3] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver b16395
2012-09-19 13:52 ` Kumar Gala
2012-09-20 0:12 ` Scott Wood
2012-09-20 9:46 ` Sethi Varun-B16395
2012-09-20 13:19 ` Kumar Gala
2012-09-19 13:17 ` [RFC][PATCH 3/3] iommu/fsl: Freescale PAMU driver and IOMMU API implementation b16395
2012-09-19 14:18 ` Kumar Gala
2012-09-19 13:49 ` [RFC][PATCH 0/3] " Kumar Gala
2012-09-20 0:14 ` Scott Wood
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=5BDB4D18-CB0D-4EBA-B38F-A278B7C00A61@kernel.crashing.org \
--to=galak@kernel.crashing.org \
--cc=Varun.Sethi@freescale.com \
--cc=b16395@freescale.com \
--cc=iommu@lists.linux-foundation.org \
--cc=joerg.roedel@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®