Re: [PATCH v2] iommu/io-pgtable-arm: Fix table descriptor paddr formatting

2021-12-06 Thread Joerg Roedel
On Sat, Nov 20, 2021 at 12:13:43PM +0900, Hector Martin wrote: > drivers/iommu/io-pgtable-arm.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) Applied, thanks. ___ iommu mailing list iommu@lists.linux-foundation.org

[PATCH v2] iommu/io-pgtable-arm: Fix table descriptor paddr formatting

2021-11-19 Thread Hector Martin
Table descriptors were being installed without properly formatting the address using paddr_to_iopte, which does not match up with the iopte_deref in __arm_lpae_map. This is incorrect for the LPAE pte format, as it does not handle the high bits properly. This was found on Apple T6000 DARTs, which