diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2014-05-15 06:40:50 -0400 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2014-05-26 05:22:25 -0400 |
commit | bec0ca0333d7030ef5b9afa7e4fd95b25d3ec338 (patch) | |
tree | 7b71de512bbb7a8bd77df0cb597456cd1e88891d /drivers/iommu | |
parent | dda7c2e4d3f160aecf21ca56d73ceb0ff6ede587 (diff) |
iommu/ipmmu-vmsa: Remove stage 2 PTE bits definitions
We don't support stage 2 translation yet.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/ipmmu-vmsa.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c index 7f0522048c6b..76f2550a7226 100644 --- a/drivers/iommu/ipmmu-vmsa.c +++ b/drivers/iommu/ipmmu-vmsa.c | |||
@@ -201,14 +201,6 @@ static LIST_HEAD(ipmmu_devices); | |||
201 | #define ARM_VMSA_PTE_ATTRINDX_SHIFT 2 | 201 | #define ARM_VMSA_PTE_ATTRINDX_SHIFT 2 |
202 | #define ARM_VMSA_PTE_nG (((pteval_t)1) << 11) | 202 | #define ARM_VMSA_PTE_nG (((pteval_t)1) << 11) |
203 | 203 | ||
204 | /* Stage-2 PTE */ | ||
205 | #define ARM_VMSA_PTE_HAP_FAULT (((pteval_t)0) << 6) | ||
206 | #define ARM_VMSA_PTE_HAP_READ (((pteval_t)1) << 6) | ||
207 | #define ARM_VMSA_PTE_HAP_WRITE (((pteval_t)2) << 6) | ||
208 | #define ARM_VMSA_PTE_MEMATTR_OIWB (((pteval_t)0xf) << 2) | ||
209 | #define ARM_VMSA_PTE_MEMATTR_NC (((pteval_t)0x5) << 2) | ||
210 | #define ARM_VMSA_PTE_MEMATTR_DEV (((pteval_t)0x1) << 2) | ||
211 | |||
212 | #define ARM_VMSA_PTE_CONT_ENTRIES 16 | 204 | #define ARM_VMSA_PTE_CONT_ENTRIES 16 |
213 | #define ARM_VMSA_PTE_CONT_SIZE (PAGE_SIZE * ARM_VMSA_PTE_CONT_ENTRIES) | 205 | #define ARM_VMSA_PTE_CONT_SIZE (PAGE_SIZE * ARM_VMSA_PTE_CONT_ENTRIES) |
214 | 206 | ||