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 m

[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

Re: [PATCH] iommu/arm-smmu: add a shortcut when the @dev_node is NULL

2016-01-20 Thread Huang Shijie
On Wed, Jan 20, 2016 at 02:46:34PM +, Robin Murphy wrote: > On 20/01/16 13:34, Huang Shijie wrote: > >On Wed, Jan 20, 2016 at 01:02:25PM +0100, Joerg Roedel wrote: > >>On Tue, Jan 12, 2016 at 10:15:05AM +0800, Huang Shijie wrote: > >>>This patch adds a

Re: [PATCH] iommu/arm-smmu: add a shortcut when the @dev_node is NULL

2016-01-20 Thread Huang Shijie
On Wed, Jan 20, 2016 at 01:02:25PM +0100, Joerg Roedel wrote: > On Tue, Jan 12, 2016 at 10:15:05AM +0800, Huang Shijie wrote: > > This patch adds a shortcut for the code when the @device_node is NULL. > > In my juno-r1 board, the boot time can be faster by 0.004014s. > > H

[PATCH] iommu/arm-smmu: add a shortcut when the @dev_node is NULL

2016-01-13 Thread Huang Shijie
patch adds a shortcut for the code when the @device_node is NULL. In my juno-r1 board, the boot time can be faster by 0.004014s. Signed-off-by: Huang Shijie --- drivers/iommu/arm-smmu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index