Re: [PATCH v2 0/4] DMA: PL330: Fix mem leaks and balance probe/remove

2012-10-16 Thread Inderpal Singh
On 13 October 2012 16:33, Jassi Brar  wrote:
> On Fri, Oct 5, 2012 at 3:47 PM, Inderpal Singh
>  wrote:
>> The first 2 patches of this series fix memory leaks because the memory
>> allocated for peripheral channels and DMA descriptors were not getting
>> freed.
>>
>> The last 2 patches balance the module's remove function.
>>
>> This series depends on "61c6e7531d3b66b3 DMA: PL330: Check the
>> pointer returned by kzalloc" which is on slave-dma's "fixes" branch.
>> Hence slave-dma tree's "next" branch was merged with "fixes" and
>> applied patch at [1] to fix the build error.
>>
>> [1] http://permalink.gmane.org/gmane.linux.kernel.next/24274
>>
>> Changes since v1:
>>  - Protect only list_add_tail with spin_locks
>>  - Return EBUSY from remove if channel is in use
>>  - unregister dma_device in remove
>>
>> Inderpal Singh (4):
>>   DMA: PL330: Free memory allocated for peripheral channels
>>   DMA: PL330: Change allocation method to properly free  DMA
>> descriptors
>>   DMA: PL330: Balance module remove function with probe
>>   DMA: PL330: unregister dma_device in module's remove function
>>
>>  drivers/dma/pl330.c |   53 
>> ---
>>  1 file changed, 38 insertions(+), 15 deletions(-)
>>
> All seem fine.
> Acked-by: Jassi Brar 
>
Thanks Jassi.

Vinod,
I have tested this series against your latest slave-dma ->fixes branch
which is based on 3.7-rc1.
The patchset applies cleanly and works fine.

Thanks,
Inder

> Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v2 0/4] DMA: PL330: Fix mem leaks and balance probe/remove

2012-10-16 Thread Inderpal Singh
On 13 October 2012 16:33, Jassi Brar jassisinghb...@gmail.com wrote:
 On Fri, Oct 5, 2012 at 3:47 PM, Inderpal Singh
 inderpal.si...@linaro.org wrote:
 The first 2 patches of this series fix memory leaks because the memory
 allocated for peripheral channels and DMA descriptors were not getting
 freed.

 The last 2 patches balance the module's remove function.

 This series depends on 61c6e7531d3b66b3 DMA: PL330: Check the
 pointer returned by kzalloc which is on slave-dma's fixes branch.
 Hence slave-dma tree's next branch was merged with fixes and
 applied patch at [1] to fix the build error.

 [1] http://permalink.gmane.org/gmane.linux.kernel.next/24274

 Changes since v1:
  - Protect only list_add_tail with spin_locks
  - Return EBUSY from remove if channel is in use
  - unregister dma_device in remove

 Inderpal Singh (4):
   DMA: PL330: Free memory allocated for peripheral channels
   DMA: PL330: Change allocation method to properly free  DMA
 descriptors
   DMA: PL330: Balance module remove function with probe
   DMA: PL330: unregister dma_device in module's remove function

  drivers/dma/pl330.c |   53 
 ---
  1 file changed, 38 insertions(+), 15 deletions(-)

 All seem fine.
 Acked-by: Jassi Brar jassisinghb...@gmail.com

Thanks Jassi.

Vinod,
I have tested this series against your latest slave-dma -fixes branch
which is based on 3.7-rc1.
The patchset applies cleanly and works fine.

Thanks,
Inder

 Thanks.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v2 0/4] DMA: PL330: Fix mem leaks and balance probe/remove

2012-10-13 Thread Jassi Brar
On Fri, Oct 5, 2012 at 3:47 PM, Inderpal Singh
 wrote:
> The first 2 patches of this series fix memory leaks because the memory
> allocated for peripheral channels and DMA descriptors were not getting
> freed.
>
> The last 2 patches balance the module's remove function.
>
> This series depends on "61c6e7531d3b66b3 DMA: PL330: Check the
> pointer returned by kzalloc" which is on slave-dma's "fixes" branch.
> Hence slave-dma tree's "next" branch was merged with "fixes" and
> applied patch at [1] to fix the build error.
>
> [1] http://permalink.gmane.org/gmane.linux.kernel.next/24274
>
> Changes since v1:
>  - Protect only list_add_tail with spin_locks
>  - Return EBUSY from remove if channel is in use
>  - unregister dma_device in remove
>
> Inderpal Singh (4):
>   DMA: PL330: Free memory allocated for peripheral channels
>   DMA: PL330: Change allocation method to properly free  DMA
> descriptors
>   DMA: PL330: Balance module remove function with probe
>   DMA: PL330: unregister dma_device in module's remove function
>
>  drivers/dma/pl330.c |   53 
> ---
>  1 file changed, 38 insertions(+), 15 deletions(-)
>
All seem fine.
Acked-by: Jassi Brar 

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v2 0/4] DMA: PL330: Fix mem leaks and balance probe/remove

2012-10-13 Thread Jassi Brar
On Fri, Oct 5, 2012 at 3:47 PM, Inderpal Singh
inderpal.si...@linaro.org wrote:
 The first 2 patches of this series fix memory leaks because the memory
 allocated for peripheral channels and DMA descriptors were not getting
 freed.

 The last 2 patches balance the module's remove function.

 This series depends on 61c6e7531d3b66b3 DMA: PL330: Check the
 pointer returned by kzalloc which is on slave-dma's fixes branch.
 Hence slave-dma tree's next branch was merged with fixes and
 applied patch at [1] to fix the build error.

 [1] http://permalink.gmane.org/gmane.linux.kernel.next/24274

 Changes since v1:
  - Protect only list_add_tail with spin_locks
  - Return EBUSY from remove if channel is in use
  - unregister dma_device in remove

 Inderpal Singh (4):
   DMA: PL330: Free memory allocated for peripheral channels
   DMA: PL330: Change allocation method to properly free  DMA
 descriptors
   DMA: PL330: Balance module remove function with probe
   DMA: PL330: unregister dma_device in module's remove function

  drivers/dma/pl330.c |   53 
 ---
  1 file changed, 38 insertions(+), 15 deletions(-)

All seem fine.
Acked-by: Jassi Brar jassisinghb...@gmail.com

Thanks.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v2 0/4] DMA: PL330: Fix mem leaks and balance probe/remove

2012-10-11 Thread Inderpal Singh
Hello,

On 5 October 2012 06:17, Inderpal Singh  wrote:
> The first 2 patches of this series fix memory leaks because the memory
> allocated for peripheral channels and DMA descriptors were not getting
> freed.
>
> The last 2 patches balance the module's remove function.
>
> This series depends on "61c6e7531d3b66b3 DMA: PL330: Check the
> pointer returned by kzalloc" which is on slave-dma's "fixes" branch.
> Hence slave-dma tree's "next" branch was merged with "fixes" and
> applied patch at [1] to fix the build error.
>
> [1] http://permalink.gmane.org/gmane.linux.kernel.next/24274
>
> Changes since v1:
>  - Protect only list_add_tail with spin_locks
>  - Return EBUSY from remove if channel is in use
>  - unregister dma_device in remove
>
> Inderpal Singh (4):
>   DMA: PL330: Free memory allocated for peripheral channels
>   DMA: PL330: Change allocation method to properly free  DMA
> descriptors
>   DMA: PL330: Balance module remove function with probe
>   DMA: PL330: unregister dma_device in module's remove function
>
>  drivers/dma/pl330.c |   53 
> ---
>  1 file changed, 38 insertions(+), 15 deletions(-)
>

Any comments on this v2 version of the patchset?

Thanks,
Inder

> --
> 1.7.9.5
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v2 0/4] DMA: PL330: Fix mem leaks and balance probe/remove

2012-10-11 Thread Inderpal Singh
Hello,

On 5 October 2012 06:17, Inderpal Singh inderpal.si...@linaro.org wrote:
 The first 2 patches of this series fix memory leaks because the memory
 allocated for peripheral channels and DMA descriptors were not getting
 freed.

 The last 2 patches balance the module's remove function.

 This series depends on 61c6e7531d3b66b3 DMA: PL330: Check the
 pointer returned by kzalloc which is on slave-dma's fixes branch.
 Hence slave-dma tree's next branch was merged with fixes and
 applied patch at [1] to fix the build error.

 [1] http://permalink.gmane.org/gmane.linux.kernel.next/24274

 Changes since v1:
  - Protect only list_add_tail with spin_locks
  - Return EBUSY from remove if channel is in use
  - unregister dma_device in remove

 Inderpal Singh (4):
   DMA: PL330: Free memory allocated for peripheral channels
   DMA: PL330: Change allocation method to properly free  DMA
 descriptors
   DMA: PL330: Balance module remove function with probe
   DMA: PL330: unregister dma_device in module's remove function

  drivers/dma/pl330.c |   53 
 ---
  1 file changed, 38 insertions(+), 15 deletions(-)


Any comments on this v2 version of the patchset?

Thanks,
Inder

 --
 1.7.9.5

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/