Skip to content

Commit 3ab21ad

Browse files
adamczyk-konradjoergroedel
authored andcommitted
iommu/mediatek: Add PGTABLE_PA_35_EN to mt8186 platform data
The MT8186 chip supports 35-bit physical addresses in page table [1]. Set this platform flag. [1] MT8186G_Application Processor Functional Specification_v1.0 Signed-off-by: Konrad Adamczyk <[email protected]> Reviewed-by: Yong Wu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent 8e929cb commit 3ab21ad

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
@@ -1599,7 +1599,7 @@ static const unsigned int mt8186_larb_region_msk[MT8192_MULTI_REGION_NR_MAX][MTK
15991599
static const struct mtk_iommu_plat_data mt8186_data_mm = {
16001600
.m4u_plat = M4U_MT8186,
16011601
.flags = HAS_BCLK | HAS_SUB_COMM_2BITS | OUT_ORDER_WR_EN |
1602-
WR_THROT_EN | IOVA_34_EN | MTK_IOMMU_TYPE_MM,
1602+
WR_THROT_EN | IOVA_34_EN | MTK_IOMMU_TYPE_MM | PGTABLE_PA_35_EN,
16031603
.larbid_remap = {{0}, {1, MTK_INVALID_LARBID, 8}, {4}, {7}, {2}, {9, 11, 19, 20},
16041604
{MTK_INVALID_LARBID, 14, 16},
16051605
{MTK_INVALID_LARBID, 13, MTK_INVALID_LARBID, 17}},

0 commit comments

Comments
 (0)