public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/4] iommu/mediatek: Improve safety from dts
@ 2022-05-11  6:49 Yong Wu
  2022-05-11  6:49 ` [PATCH 1/4] iommu/mediatek: Use dev_err_probe to mute probe_defer err log Yong Wu
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Yong Wu @ 2022-05-11  6:49 UTC (permalink / raw)
  To: Joerg Roedel, Will Deacon, Matthias Brugger
  Cc: iommu, linux-mediatek, linux-arm-kernel, linux-kernel, Yong Wu,
	AngeloGioacchino Del Regno, mingyuan.ma, yf.wang, libo.kang,
	chengci.xu, youlin.pei, anan.sun, xueqi.zhang, Guenter Roeck,
	Dan Carpenter

This patchset contains several improved patches:
[1/4] When mt8195 v7, I added a error log for dts parse fail, but it
doesn't ignore probe_defer case.(v6 doesn't have this err log.)
[2/4] Add a error path for MM dts parse.

[3/4][4/4] To improve safety from dts. Base on this:
https://lore.kernel.org/linux-mediatek/20211210205704.1664928-1-linux@roeck-us.net/

Base on linux-next-20220510.

Guenter Roeck (1):
  iommu/mediatek: Validate number of phandles associated with
    "mediatek,larbs"

Yong Wu (3):
  iommu/mediatek: Use dev_err_probe to mute probe_defer err log
  iommu/mediatek: Add error path for loop of mm_dts_parse
  iommu/mediatek: Improve safety for mediatek,smi property in larb nodes

 drivers/iommu/mtk_iommu.c | 83 ++++++++++++++++++++++++++++-----------
 1 file changed, 61 insertions(+), 22 deletions(-)

-- 
2.18.0



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-05-11 15:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-11  6:49 [PATCH 0/4] iommu/mediatek: Improve safety from dts Yong Wu
2022-05-11  6:49 ` [PATCH 1/4] iommu/mediatek: Use dev_err_probe to mute probe_defer err log Yong Wu
2022-05-11  8:42   ` Dan Carpenter
2022-05-11 14:53   ` AngeloGioacchino Del Regno
2022-05-11 15:24   ` Guenter Roeck
2022-05-11  6:49 ` [PATCH 2/4] iommu/mediatek: Add error path for loop of mm_dts_parse Yong Wu
2022-05-11  6:49 ` [PATCH 3/4] iommu/mediatek: Validate number of phandles associated with "mediatek, larbs" Yong Wu
2022-05-11 14:53   ` [PATCH 3/4] iommu/mediatek: Validate number of phandles associated with "mediatek,larbs" AngeloGioacchino Del Regno
2022-05-11  6:49 ` [PATCH 4/4] iommu/mediatek: Improve safety for mediatek, smi property in larb nodes Yong Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox