Re: [PATCH/RFC] arm64: defconfig: Enlarge CMA alignment to 2 MiB

2017-02-13 Thread Geert Uytterhoeven
Hi Robin, On Wed, Feb 1, 2017 at 3:06 PM, Robin Murphy wrote: > On 01/02/17 13:45, Magnus Damm wrote: >> On Sat, Jan 28, 2017 at 1:03 AM, Geert Uytterhoeven >> wrote: >>> Some IOMMUs (e.g. Renesas IPMMU/VMSA) support only page sizes of 4 KiB, >>> 2

Re: [PATCH/RFC] arm64: defconfig: Enlarge CMA alignment to 2 MiB

2017-02-02 Thread Simon Horman
On Wed, Feb 01, 2017 at 02:06:45PM +, Robin Murphy wrote: > On 01/02/17 13:45, Magnus Damm wrote: > > Hi Geert, > > > > On Sat, Jan 28, 2017 at 1:03 AM, Geert Uytterhoeven > > wrote: > >> Some IOMMUs (e.g. Renesas IPMMU/VMSA) support only page sizes of 4 KiB, > >> 2

Re: [PATCH/RFC] arm64: defconfig: Enlarge CMA alignment to 2 MiB

2017-02-01 Thread Robin Murphy
On 01/02/17 13:45, Magnus Damm wrote: > Hi Geert, > > On Sat, Jan 28, 2017 at 1:03 AM, Geert Uytterhoeven > wrote: >> Some IOMMUs (e.g. Renesas IPMMU/VMSA) support only page sizes of 4 KiB, >> 2 MiB, and 1 GiB. >> >> With the default setting of CONFIG_CMA_ALIGNMENT = 8,

Re: [PATCH/RFC] arm64: defconfig: Enlarge CMA alignment to 2 MiB

2017-02-01 Thread Magnus Damm
Hi Geert, On Sat, Jan 28, 2017 at 1:03 AM, Geert Uytterhoeven wrote: > Some IOMMUs (e.g. Renesas IPMMU/VMSA) support only page sizes of 4 KiB, > 2 MiB, and 1 GiB. > > With the default setting of CONFIG_CMA_ALIGNMENT = 8, allocations larger > than 1 MiB are aligned to a 1