[PATCH v2 1/2] iommu/tegra: gart: Optionally check for overwriting of page mappings
Joerg Roedel
joro at 8bytes.org
Tue Oct 10 09:53:42 UTC 2017
On Wed, Oct 04, 2017 at 04:02:31AM +0300, Dmitry Osipenko wrote:
> Due to a bug in IOVA allocator, page mapping could accidentally overwritten.
> We can catch this case by checking 'VALID' bit of GART's page entry prior to
> mapping of a page. Since that check introduces a noticeable performance
> impact, it should be enabled explicitly by a new CONFIG_TEGRA_IOMMU_GART_DEBUG
> option.
Which bug in the IOVA allocator are you talking about?
Joerg
More information about the iommu
mailing list