From: "Jan Beulich" <JBeulich@suse.com>
To: Julien Grall <julien.grall@linaro.org>
Cc: xen-devel@lists.xenproject.org, stefano.stabellini@citrix.com,
ian.campbell@citrix.com, Xiantao Zhang <xiantao.zhang@intel.com>,
tim@xen.org
Subject: Re: [PATCH v6 1/4] xen/arm: p2m: Clean cache PT when the IOMMU doesn't support coherent walk
Date: Thu, 15 May 2014 14:18:38 +0100 [thread overview]
Message-ID: <5374DACE0200007800012AD1@mail.emea.novell.com> (raw)
In-Reply-To: <1400158608-9617-2-git-send-email-julien.grall@linaro.org>
>>> On 15.05.14 at 14:56, <julien.grall@linaro.org> wrote:
> --- a/xen/include/xen/hvm/iommu.h
> +++ b/xen/include/xen/hvm/iommu.h
> @@ -34,6 +34,12 @@ struct hvm_iommu {
> /* List of DT devices assigned to this domain */
> struct list_head dt_devices;
> #endif
> +
> + /* Features supported by the IOMMU */
> + unsigned long features;
This wants to be DECLARE_BITMAP(features, IOMMU_FEAT_count)
or some such, with ...
> --- a/xen/include/xen/iommu.h
> +++ b/xen/include/xen/iommu.h
> @@ -67,6 +67,14 @@ int iommu_map_page(struct domain *d, unsigned long gfn, unsigned long mfn,
> unsigned int flags);
> int iommu_unmap_page(struct domain *d, unsigned long gfn);
>
> +enum iommu_feature
> +{
> + IOMMU_FEAT_COHERENT_WALK,
... IOMMU_FEAT_count added here.
> +};
Jan
next prev parent reply other threads:[~2014-05-15 13:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-15 12:56 [PATCH v6 0/4] IOMMU support for ARM Julien Grall
2014-05-15 12:56 ` [PATCH v6 1/4] xen/arm: p2m: Clean cache PT when the IOMMU doesn't support coherent walk Julien Grall
2014-05-15 13:18 ` Jan Beulich [this message]
2014-05-15 12:56 ` [PATCH v6 2/4] xen/arm: grant: Add another entry to map MFN 1:1 in dom0 p2m Julien Grall
2014-05-15 12:56 ` [PATCH v6 3/4] xen: iommu: Define PAGE_{SHIFT, SIZE, ALIGN, MASK)_64K Julien Grall
2014-05-15 13:20 ` Jan Beulich
2014-05-15 12:56 ` [PATCH v6 4/4] drivers/passthrough: arm: Add support for SMMU drivers Julien Grall
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=5374DACE0200007800012AD1@mail.emea.novell.com \
--to=jbeulich@suse.com \
--cc=ian.campbell@citrix.com \
--cc=julien.grall@linaro.org \
--cc=stefano.stabellini@citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.org \
--cc=xiantao.zhang@intel.com \
/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;
as well as URLs for NNTP newsgroup(s).