Skip to content

Commit 829316b

Browse files
Chao Haojoergroedel
authored andcommitted
iommu/mediatek: Extend protect pa alignment value
Starting with mt6779, iommu needs to extend to 256 bytes from 128 bytes which can send the max number of data for memory protection pa alignment. So we can use a separate patch to modify it. Signed-off-by: Chao Hao <[email protected]> Reviewed-by: Matthias Brugger <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent 35c1b48 commit 829316b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iommu/mtk_iommu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
#define F_MMU_INT_ID_LARB_ID(a) (((a) >> 7) & 0x7)
9999
#define F_MMU_INT_ID_PORT_ID(a) (((a) >> 2) & 0x1f)
100100

101-
#define MTK_PROTECT_PA_ALIGN 128
101+
#define MTK_PROTECT_PA_ALIGN 256
102102

103103
/*
104104
* Get the local arbiter ID and the portid within the larb arbiter

0 commit comments

Comments
 (0)