[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140926094827.GE28786@8bytes.org>
Date: Fri, 26 Sep 2014 11:48:27 +0200
From: Joerg Roedel <joro@...tes.org>
To: Antonios Motakis <a.motakis@...tualopensystems.com>
Cc: alex.williamson@...hat.com, kvmarm@...ts.cs.columbia.edu,
iommu@...ts.linux-foundation.org, tech@...tualopensystems.com,
kvm@...r.kernel.org, christoffer.dall@...aro.org,
will.deacon@....com, kim.phillips@...escale.com,
eric.auger@...aro.org, marc.zyngier@....com,
Joerg Roedel <jroedel@...e.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Shuah Khan <shuah.kh@...sung.com>,
Thierry Reding <treding@...dia.com>,
Alexey Kardashevskiy <aik@...abs.ru>,
"Upinder Malhi (umalhi)" <umalhi@...co.com>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCHv7 02/26] iommu: add capability IOMMU_CAP_NOEXEC
On Tue, Sep 23, 2014 at 04:46:01PM +0200, Antonios Motakis wrote:
> Some IOMMUs accept an IOMMU_NOEXEC protection flag in addition to
> IOMMU_READ and IOMMU_WRITE. Expose this as an IOMMU capability.
>
> Signed-off-by: Antonios Motakis <a.motakis@...tualopensystems.com>
> ---
> include/linux/iommu.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/linux/iommu.h b/include/linux/iommu.h
> index e1a644c..0433553 100644
> --- a/include/linux/iommu.h
> +++ b/include/linux/iommu.h
> @@ -59,6 +59,7 @@ struct iommu_domain {
>
> #define IOMMU_CAP_CACHE_COHERENCY 0x1
> #define IOMMU_CAP_INTR_REMAP 0x2 /* isolates device intrs */
> +#define IOMMU_CAP_NOEXEC 0x3 /* IOMMU_NOEXEC flag */
This changed recently to an enum, please rebase to latest iommu/next
branch.
With that change:
Acked-by: Joerg Roedel <jroedel@...e.de>
for patches 1 and 2.
--
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