Re: [PATCH v5] iommu/mediatek: check 4GB mode by reading infracfg
From: Joerg Roedel <joro@8bytes.org>
Date: 2020-09-04 09:42:39
Also in:
linux-iommu, linux-mediatek, lkml
From: Joerg Roedel <joro@8bytes.org>
Date: 2020-09-04 09:42:39
Also in:
linux-iommu, linux-mediatek, lkml
On Mon, Aug 31, 2020 at 06:56:39PM +0800, Miles Chen wrote:
In previous discussion [1] and [2], we found that it is risky to use max_pfn or totalram_pages to tell if 4GB mode is enabled. Check 4GB mode by reading infracfg register, remove the usage of the un-exported symbol max_pfn. This is a step towards building mtk_iommu as a kernel module. [1] https://lore.kernel.org/lkml/20200603161132.2441-1-miles.chen@mediatek.com/ (local) [2] https://lore.kernel.org/lkml/20200604080120.2628-1-miles.chen@mediatek.com/ (local) [3] https://lore.kernel.org/lkml/20200715205120.GA778876@bogus/ (local) Cc: Mike Rapoport <redacted> Cc: David Hildenbrand <redacted> Cc: Yong Wu <yong.wu@mediatek.com> Cc: Yingjoe Chen <redacted> Cc: Christoph Hellwig <hch@lst.de> Cc: Rob Herring <robh@kernel.org> Cc: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Miles Chen <redacted>
You forgot to add the tags here from v4, at least Matthias' Reviewed-by is missing. Please add the missing tags and resend. Joerg _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel