]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommu/io-pgtable-arm: Add self test for the last page in the IAS
authorMostafa Saleh <smostafa@google.com>
Thu, 24 Oct 2024 16:25:16 +0000 (16:25 +0000)
committerWill Deacon <will@kernel.org>
Tue, 29 Oct 2024 15:28:06 +0000 (15:28 +0000)
commitd64c8053378e0e9ab61331124798688043b0dbba
tree5efb694cfb78f016e26d38a76296dd4bc0460f62
parentd71fa842d33c48ac2809ae11d2379b5a788792cb
iommu/io-pgtable-arm: Add self test for the last page in the IAS

Add a case in the selftests that can detect some bugs with concatenated
page tables, where it maps the biggest supported page size at the end of
the IAS, this test would fail without the previous fix.

Signed-off-by: Mostafa Saleh <smostafa@google.com>
Link: https://lore.kernel.org/r/20241024162516.2005652-3-smostafa@google.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/io-pgtable-arm.c