Re: powerpc: Build fix for non SPARSEMEM_VMEMAP config

2017-07-27 Thread Michael Ellerman
On Wed, 2017-06-28 at 06:09:28 UTC, "Aneesh Kumar K.V" wrote: > We can use pfn_to_page in realmode for other configs. Hence remove the > CONFIG_FLATMEM ifdef > > Fixes: 8e0861fa3c4ed (powerpc: Prepare to support kernel handling of IOMMU > map/unmap) > > Cc: Alexey Kardashevskiy

Re: [PATCH] powerpc: Build fix for non SPARSEMEM_VMEMAP config

2017-07-24 Thread Aneesh Kumar K.V
Michael Ellerman writes: > "Aneesh Kumar K.V" writes: > >> On Wednesday 28 June 2017 12:48 PM, Alexey Kardashevskiy wrote: >>> On 28/06/17 16:09, Aneesh Kumar K.V wrote: We can use pfn_to_page in realmode for other configs. Hence remove

Re: [PATCH] powerpc: Build fix for non SPARSEMEM_VMEMAP config

2017-06-28 Thread Michael Ellerman
"Aneesh Kumar K.V" writes: > On Wednesday 28 June 2017 12:48 PM, Alexey Kardashevskiy wrote: >> On 28/06/17 16:09, Aneesh Kumar K.V wrote: >>> We can use pfn_to_page in realmode for other configs. Hence remove the >>> CONFIG_FLATMEM ifdef >> >> For

Re: [PATCH] powerpc: Build fix for non SPARSEMEM_VMEMAP config

2017-06-28 Thread Aneesh Kumar K.V
On Wednesday 28 June 2017 12:48 PM, Alexey Kardashevskiy wrote: On 28/06/17 16:09, Aneesh Kumar K.V wrote: We can use pfn_to_page in realmode for other configs. Hence remove the CONFIG_FLATMEM ifdef For CONFIG_SPARSEMEM and CONFIG_DISCONTIGMEM and others (I am struggling to find the full

Re: [PATCH] powerpc: Build fix for non SPARSEMEM_VMEMAP config

2017-06-28 Thread Alexey Kardashevskiy
On 28/06/17 16:09, Aneesh Kumar K.V wrote: > We can use pfn_to_page in realmode for other configs. Hence remove the > CONFIG_FLATMEM ifdef For CONFIG_SPARSEMEM and CONFIG_DISCONTIGMEM and others (I am struggling to find the full list :) )? Are you sure about that? If I recall correctly, at the

[PATCH] powerpc: Build fix for non SPARSEMEM_VMEMAP config

2017-06-28 Thread Aneesh Kumar K.V
We can use pfn_to_page in realmode for other configs. Hence remove the CONFIG_FLATMEM ifdef Fixes: 8e0861fa3c4ed (powerpc: Prepare to support kernel handling of IOMMU map/unmap) Cc: Alexey Kardashevskiy Signed-off-by: Aneesh Kumar K.V ---