iommu/mediatek: Extend protect pa alignment value
authorChao Hao <chao.hao@mediatek.com>
Fri, 3 Jul 2020 04:41:25 +0000 (12:41 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 10 Jul 2020 14:13:11 +0000 (16:13 +0200)
commit829316b3bc897a3275a0354505fde3ccd0053936
treec7d300b8e2884adb1b2eaa1ad0b95f2acebfe1ed
parent35c1b48d27dac486835435e703749236b14dcd8f
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 <chao.hao@mediatek.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://lore.kernel.org/r/20200703044127.27438-9-chao.hao@mediatek.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/mtk_iommu.c