提交 bec0ca03 编写于 作者: L Laurent Pinchart 提交者: Joerg Roedel

iommu/ipmmu-vmsa: Remove stage 2 PTE bits definitions

We don't support stage 2 translation yet.
Signed-off-by: NLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: NJoerg Roedel <jroedel@suse.de>
上级 dda7c2e4
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册