Re: [PATCH 1/1] powerpc/pseries/iommu: Fix window size for direct mapping with pmem

From
Michael Ellerman <hidden>
Date
2021-04-21 13:16:46
Also in
lkml
Reply to
Leonardo Bras, 2021-04-20
On Tue, 20 Apr 2021 01:54:04 -0300, Leonardo Bras wrote:
As of today, if the DDW is big enough to fit (1 << MAX_PHYSMEM_BITS) it's
possible to use direct DMA mapping even with pmem region.

But, if that happens, the window size (len) is set to
(MAX_PHYSMEM_BITS - page_shift) instead of MAX_PHYSMEM_BITS, causing a
pagesize times smaller DDW to be created, being insufficient for correct
usage.

[...]
Applied to powerpc/next.

[1/1] powerpc/pseries/iommu: Fix window size for direct mapping with pmem
      https://git.kernel.org/powerpc/c/a9d2f9bb225fd2a764aef57738ab6c7f38d782ae

cheers
Thread (4 messages) 4 messages, 3 authors, last reply 2021-04-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help