Re: [PATCH] arm64/mm: use phys_addr_t

2017-01-13 Thread Will Deacon
On Fri, Jan 13, 2017 at 11:45:54AM +, Mark Rutland wrote: > On Fri, Jan 13, 2017 at 11:27:48AM +, Ard Biesheuvel wrote: > > On 13 January 2017 at 11:22, Mark Rutland wrote: > > > On Fri, Jan 13, 2017 at 01:59:35PM +0800, miles.c...@mediatek.com wrote: > > >> From: Miles Chen > > >> > > >>

Re: [PATCH] arm64/mm: use phys_addr_t

2017-01-13 Thread Mark Rutland
On Fri, Jan 13, 2017 at 11:27:48AM +, Ard Biesheuvel wrote: > On 13 January 2017 at 11:22, Mark Rutland wrote: > > On Fri, Jan 13, 2017 at 01:59:35PM +0800, miles.c...@mediatek.com wrote: > >> From: Miles Chen > >> > >> Use phys_addr_t instead of unsigned long for the > >> return value of __p

Re: [PATCH] arm64/mm: use phys_addr_t

2017-01-13 Thread Ard Biesheuvel
On 13 January 2017 at 11:22, Mark Rutland wrote: > On Fri, Jan 13, 2017 at 01:59:35PM +0800, miles.c...@mediatek.com wrote: >> From: Miles Chen >> >> Use phys_addr_t instead of unsigned long for the >> return value of __pa(), make code easy to understand. >> >> Signed-off-by: Miles Chen > > This

Re: [PATCH] arm64/mm: use phys_addr_t

2017-01-13 Thread Mark Rutland
On Fri, Jan 13, 2017 at 01:59:35PM +0800, miles.c...@mediatek.com wrote: > From: Miles Chen > > Use phys_addr_t instead of unsigned long for the > return value of __pa(), make code easy to understand. > > Signed-off-by: Miles Chen This looks sensible to me. It's consistent with the types these

Re: [PATCH] arm64/mm: use phys_addr_t

2017-01-13 Thread Catalin Marinas
On Fri, Jan 13, 2017 at 01:59:35PM +0800, miles.c...@mediatek.com wrote: > From: Miles Chen > > Use phys_addr_t instead of unsigned long for the > return value of __pa(), make code easy to understand. > > Signed-off-by: Miles Chen > --- > arch/arm64/mm/mmu.c | 4 ++-- > 1 file changed, 2 inser