Thread (4 messages) flat view 4 messages, 3 authors, 2021-04-21

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

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