Re: [GIT PULL] dma-mapping updates for Linux 4.21

2018-12-28 Thread pr-tracker-bot
The pull request you sent on Fri, 21 Dec 2018 10:45:49 +0100: > git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-4.21 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/af7ddd8a627c62a835524b3f5b471edbbbcce025 Thank you! -- Deet-doot-dot, I am a bot. h

Re: [PATCH] lib/genalloc.c: rename addr_in_gen_pool to gen_pool_has_addr

2018-12-28 Thread Andrew Morton
On Fri, 28 Dec 2018 09:48:34 +0100 Christoph Hellwig wrote: > On Fri, Dec 28, 2018 at 04:39:50PM +0800, Huang Shijie wrote: > > Follow the kernel conventions, rename addr_in_gen_pool to > > gen_pool_has_addr. > > Which convention? That symbols from subsystem foo should be called foo_*. Not uni

Re: [PATCH dma-mapping tree] arm64: default to the direct mapping in get_arch_dma_ops

2018-12-28 Thread Liviu Dudau
On Fri, Dec 28, 2018 at 06:59:00PM +0100, Christoph Hellwig wrote: > On Fri, Dec 28, 2018 at 05:30:57PM +, Liviu Dudau wrote: > > On Wed, Dec 19, 2018 at 05:55:02PM +0100, Christoph Hellwig wrote: > > > As all maintainers seem to be off to their holidays already I've > > > applied this now give

Re: [PATCH dma-mapping tree] arm64: default to the direct mapping in get_arch_dma_ops

2018-12-28 Thread Christoph Hellwig
On Fri, Dec 28, 2018 at 05:30:57PM +, Liviu Dudau wrote: > On Wed, Dec 19, 2018 at 05:55:02PM +0100, Christoph Hellwig wrote: > > As all maintainers seem to be off to their holidays already I've > > applied this now given that I don't want to leave arm64 in broken > > state in linux-next any lo

Re: [PATCH dma-mapping tree] arm64: default to the direct mapping in get_arch_dma_ops

2018-12-28 Thread Liviu Dudau
On Wed, Dec 19, 2018 at 05:55:02PM +0100, Christoph Hellwig wrote: > As all maintainers seem to be off to their holidays already I've > applied this now given that I don't want to leave arm64 in broken > state in linux-next any longer. Hi Christoph, Talking about linux-next being broken, I found

Re: [PATCH] lib/genalloc.c: rename addr_in_gen_pool to gen_pool_has_addr

2018-12-28 Thread Huang Shijie via iommu
On Fri, Dec 28, 2018 at 09:48:34AM +0100, Christoph Hellwig wrote: > On Fri, Dec 28, 2018 at 04:39:50PM +0800, Huang Shijie wrote: > > Follow the kernel conventions, rename addr_in_gen_pool to > > gen_pool_has_addr. > > Which convention? The old name certainly looks more sensible to me. I submitt

[PATCH] lib/genalloc.c: rename addr_in_gen_pool to gen_pool_has_addr

2018-12-28 Thread Huang Shijie via iommu
Follow the kernel conventions, rename addr_in_gen_pool to gen_pool_has_addr. Signed-off-by: Huang Shijie --- arch/arm/mm/dma-mapping.c | 2 +- drivers/misc/sram-exec.c | 2 +- include/linux/genalloc.h | 2 +- kernel/dma/remap.c| 2 +- lib/genalloc.c| 6 +++--- 5 files chang

Re: [PATCH] lib/genalloc.c: rename addr_in_gen_pool to gen_pool_has_addr

2018-12-28 Thread Christoph Hellwig
On Fri, Dec 28, 2018 at 04:39:50PM +0800, Huang Shijie wrote: > Follow the kernel conventions, rename addr_in_gen_pool to > gen_pool_has_addr. Which convention? The old name certainly looks more sensible to me. If we really want to change anything about this function I'd suggest to drop the size