[PATCH kernel] powerpc/iommu: Fix iommu_table_in_use for a small default DMA window case
Michael Ellerman
patch-notifications at ellerman.id.au
Fri Jul 29 23:02:53 AEST 2022
On Thu, 14 Jul 2022 18:11:19 +1000, Alexey Kardashevskiy wrote:
> The existing iommu_table_in_use() helper checks if the kernel is using
> any of TCEs. There are some reserved TCEs:
> 1) the very first one if DMA window starts from 0 to avoid having a zero
> but still valid DMA handle;
> 2) it_reserved_start..it_reserved_end to exclude MMIO32 window in case
> the default window spans across that - this is the default for the first
> DMA window on PowerNV.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/iommu: Fix iommu_table_in_use for a small default DMA window case
https://git.kernel.org/powerpc/c/d80f6de9d601c30b53c17f00cb7cfe3169f2ddad
cheers
More information about the Linuxppc-dev
mailing list