Skip to content

Commit

Permalink
iommu/ipmmu-vmsa: Remove stage 2 PTE bits definitions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Laurent Pinchart authored and Joerg Roedel committed May 26, 2014
1 parent dda7c2e commit bec0ca0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/iommu/ipmmu-vmsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,6 @@ static LIST_HEAD(ipmmu_devices);
#define ARM_VMSA_PTE_ATTRINDX_SHIFT 2
#define ARM_VMSA_PTE_nG (((pteval_t)1) << 11)

/* Stage-2 PTE */
#define ARM_VMSA_PTE_HAP_FAULT (((pteval_t)0) << 6)
#define ARM_VMSA_PTE_HAP_READ (((pteval_t)1) << 6)
#define ARM_VMSA_PTE_HAP_WRITE (((pteval_t)2) << 6)
#define ARM_VMSA_PTE_MEMATTR_OIWB (((pteval_t)0xf) << 2)
#define ARM_VMSA_PTE_MEMATTR_NC (((pteval_t)0x5) << 2)
#define ARM_VMSA_PTE_MEMATTR_DEV (((pteval_t)0x1) << 2)

#define ARM_VMSA_PTE_CONT_ENTRIES 16
#define ARM_VMSA_PTE_CONT_SIZE (PAGE_SIZE * ARM_VMSA_PTE_CONT_ENTRIES)

Expand Down

0 comments on commit bec0ca0

Please sign in to comment.