Re: [PATCH] of: Add OF_DMA_DEFAULT_COHERENT & select it on powerpc

2020-01-26 Thread Ulf Hansson
On Sun, 26 Jan 2020 at 12:53, Michael Ellerman wrote: > > There's an OF helper called of_dma_is_coherent(), which checks if a > device has a "dma-coherent" property to see if the device is coherent > for DMA. > > But on some platforms devices are coherent by default, and on some > platforms it's n

Re: [PATCH v2 2/9] net: wireless: rtl818x: Constify ioreadX() iomem argument (as in generic implementation)

2020-01-26 Thread Kalle Valo
Krzysztof Kozlowski wrote: > The ioreadX() helpers have inconsistent interface. On some architectures > void *__iomem address argument is a pointer to const, on some not. > > Implementations of ioreadX() do not modify the memory under the address > so they can be converted to a "const" version

[powerpc:merge] BUILD INCOMPLETE b43d1d8a77b5d5d82f8930aa5b101378df00ccca

2020-01-26 Thread kbuild test robot
allnoconfig s390 allyesconfig s390 debug_defconfig s390defconfig s390 zfcpdump_defconfig configs tested: 120 configs skipped: 0 x86_64 randconfig-c003-20200126 alpha

[powerpc:next-test] BUILD SUCCESS 28f66938c6e709ebca86ac01a69080c81900bdfd

2020-01-26 Thread kbuild test robot
allnoconfig i386 allyesconfig i386defconfig x86_64 randconfig-g001-20200126 x86_64 randconfig-g002-20200126 x86_64 randconfig-g003-20200126 i386 randconfig-g001

[PATCH] of: Add OF_DMA_DEFAULT_COHERENT & select it on powerpc

2020-01-26 Thread Michael Ellerman
There's an OF helper called of_dma_is_coherent(), which checks if a device has a "dma-coherent" property to see if the device is coherent for DMA. But on some platforms devices are coherent by default, and on some platforms it's not possible to update existing device trees to add the "dma-coherent

Re: [PATCH v4 1/6] libnvdimm/namespace: Make namespace size validation arch dependent

2020-01-26 Thread Aneesh Kumar K.V
Dan Williams writes: > On Fri, Jan 24, 2020 at 9:07 AM Aneesh Kumar K.V > wrote: >> >> On 1/24/20 10:15 PM, Dan Williams wrote: >> > On Thu, Jan 23, 2020 at 11:34 PM Aneesh Kumar K.V >> > wrote: >> >> >> >> On 1/24/20 11:27 AM, Dan Williams wrote: >> >>> On Mon, Jan 20, 2020 at 6:08 AM Aneesh K