Re: [PATCH kernel] powerpc/pseries/ddw: Extend upper limit for huge DMA window for persistent memory

2020-04-06 Thread Michael Ellerman
On Tue, 2020-03-31 at 01:23:38 UTC, Alexey Kardashevskiy wrote: > Unlike normal memory ("memory" compatible type in the FDT), > the persistent memory ("ibm,pmemory" in the FDT) can be mapped anywhere > in the guest physical space and it can be used for DMA. > > In order to maintain 1:1 mapping via

Re: [PATCH kernel] powerpc/pseries/ddw: Extend upper limit for huge DMA window for persistent memory

2020-04-03 Thread Vaibhav Jain
Alexey Kardashevskiy writes: > Unlike normal memory ("memory" compatible type in the FDT), > the persistent memory ("ibm,pmemory" in the FDT) can be mapped anywhere > in the guest physical space and it can be used for DMA. > > In order to maintain 1:1 mapping via the huge DMA window, we need to >

Re: [PATCH kernel] powerpc/pseries/ddw: Extend upper limit for huge DMA window for persistent memory

2020-04-03 Thread Alexey Kardashevskiy
Alexey Kardashevskiy > To: linuxppc-dev@lists.ozlabs.org > Cc: Alexey Kardashevskiy , David Gibson > , Michael Ellerman > , Oliver O'Halloran , "Aneesh > Kumar K . V" , Wen Xiong > , Brian J King > Subject: [EXTERNAL] [PATCH kernel] pow

Re: [PATCH kernel] powerpc/pseries/ddw: Extend upper limit for huge DMA window for persistent memory

2020-04-02 Thread Wen Xiong
I applied the patch on top of the latest upstream kernel. I ran HTX over pmem nodes for several hours and it works.   Tested-by: Wen Xiong   Thanks, Wendy - Original message -From: Alexey Kardashevskiy To: linuxppc-dev@lists.ozlabs.orgCc: Alexey Kardashevskiy , David Gibson , Michael Ellerm

[PATCH kernel] powerpc/pseries/ddw: Extend upper limit for huge DMA window for persistent memory

2020-03-30 Thread Alexey Kardashevskiy
Unlike normal memory ("memory" compatible type in the FDT), the persistent memory ("ibm,pmemory" in the FDT) can be mapped anywhere in the guest physical space and it can be used for DMA. In order to maintain 1:1 mapping via the huge DMA window, we need to know the maximum physical address at the