Thread (36 messages) 36 messages, 3 authors, 2019-03-13

Re: [PATCH v6 09/22] iommu/mediatek: Refine protect memory definition

From: Evan Green <hidden>
Date: 2019-02-19 23:31:11
Also in: linux-devicetree, linux-iommu, linux-mediatek, lkml

On Sun, Feb 17, 2019 at 1:08 AM Yong Wu [off-list ref] wrote:
The protect memory setting is a little different in the different SoCs.
In the register REG_MMU_CTRL_REG(0x110), the TF_PROT(translation fault
protect) shift bit is normally 4 while it shift 5 bits only in the
mt8173. This patch delete the complex MACRO and use a common if-else
instead.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: Evan Green <redacted>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help