projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e929cb
)
iommu/mediatek: Add PGTABLE_PA_35_EN to mt8186 platform data
author
Konrad Adamczyk
<konrada@google.com>
Thu, 17 Oct 2024 11:20:36 +0000
(11:20 +0000)
committer
Joerg Roedel
<jroedel@suse.de>
Tue, 29 Oct 2024 08:49:11 +0000
(09:49 +0100)
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 <konrada@google.com>
Reviewed-by: Yong Wu <yong.wu@mediatek.com>
Link:
https://lore.kernel.org/r/20241017112036.368772-1-konrada@google.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/mtk_iommu.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/mtk_iommu.c
b/drivers/iommu/mtk_iommu.c
index
6a2707f
..
c45313c
100644
(file)
--- a/
drivers/iommu/mtk_iommu.c
+++ b/
drivers/iommu/mtk_iommu.c
@@
-1599,7
+1599,7
@@
static const unsigned int mt8186_larb_region_msk[MT8192_MULTI_REGION_NR_MAX][MTK
static const struct mtk_iommu_plat_data mt8186_data_mm = {
.m4u_plat = M4U_MT8186,
.flags = HAS_BCLK | HAS_SUB_COMM_2BITS | OUT_ORDER_WR_EN |
- WR_THROT_EN | IOVA_34_EN | MTK_IOMMU_TYPE_MM,
+ WR_THROT_EN | IOVA_34_EN | MTK_IOMMU_TYPE_MM
| PGTABLE_PA_35_EN
,
.larbid_remap = {{0}, {1, MTK_INVALID_LARBID, 8}, {4}, {7}, {2}, {9, 11, 19, 20},
{MTK_INVALID_LARBID, 14, 16},
{MTK_INVALID_LARBID, 13, MTK_INVALID_LARBID, 17}},