[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1413205579-6124-3-git-send-email-a.motakis@virtualopensystems.com>
Date: Mon, 13 Oct 2014 15:06:17 +0200
From: Antonios Motakis <a.motakis@...tualopensystems.com>
To: will.deacon@....com, kvmarm@...ts.cs.columbia.edu,
iommu@...ts.linux-foundation.org, jroedel@...e.de
Cc: alex.williamson@...hat.com, tech@...tualopensystems.com,
christoffer.dall@...aro.org, eric.auger@...aro.org,
kim.phillips@...escale.com, marc.zyngier@....com,
Antonios Motakis <a.motakis@...tualopensystems.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Thierry Reding <treding@...dia.com>,
Alexey Kardashevskiy <aik@...abs.ru>,
"Upinder Malhi (umalhi)" <umalhi@...co.com>,
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH 2/3] iommu: add capability IOMMU_CAP_NOEXEC
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>
Acked-by: Joerg Roedel <jroedel@...e.de>
---
include/linux/iommu.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index 5f6f71c..ba026f1 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -61,6 +61,7 @@ enum iommu_cap {
IOMMU_CAP_CACHE_COHERENCY, /* IOMMU can enforce cache coherent DMA
transactions */
IOMMU_CAP_INTR_REMAP, /* IOMMU supports interrupt isolation */
+ IOMMU_CAP_NOEXEC, /* IOMMU_NOEXEC flag */
};
/*
--
2.1.1
--
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