Thread (2 messages) flat view 2 messages, 2 authors, 2022-07-29

Re: [PATCH kernel] powerpc/iommu: Fix iommu_table_in_use for a small default DMA window case

From: Michael Ellerman <hidden>
Date: 2022-07-29 13:12:21

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help