[RFC 14/23] mm/lib: Use memblock apis for early memory allocations

2013-10-12 Thread Santosh Shilimkar
Switch to memblock interfaces for early memory allocator Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Santosh Shilimkar --- lib/cpumask.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cpumask.c b/lib/cpumask.c index d327b87..e85ff94 100644

[RFC 11/23] mm/page_alloc: Use memblock apis for early memory allocations

2013-10-12 Thread Santosh Shilimkar
Switch to memblock interfaces for early memory allocator Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- mm/page_alloc.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a

[RFC 06/23] mm/memblock: Add memblock early memory allocation apis

2013-10-12 Thread Santosh Shilimkar
: Now the free_all_bootmem() function is used as is from NO_BOOTMEM allocator. Can be moved to memblock file once we remove the no-bootmem.c Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- include/linux/bootmem.h |

[RFC 04/23] mm/staging: remove unnecessary inclusion of bootmem.h

2013-10-12 Thread Santosh Shilimkar
From: Grygorii Strashko Clean-up to remove depedency with bootmem headers. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- drivers/staging/speakup/main.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers

[RFC 10/23] mm/printk: Use memblock apis for early memory allocations

2013-10-12 Thread Santosh Shilimkar
Switch to memblock interfaces for early memory allocator Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- kernel/printk/printk.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/kernel

[RFC 01/23] mm/bootmem: remove duplicated declaration of __free_pages_bootmem()

2013-10-12 Thread Santosh Shilimkar
From: Grygorii Strashko The __free_pages_bootmem is used internally by MM core and already defined in internal.h. So, remove duplicated declaration. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- include/linux

[RFC 23/23] mm/ARM: OMAP: Use memblock apis for early memory allocations

2013-10-12 Thread Santosh Shilimkar
Switch to memblock interfaces for early memory allocator Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Santosh Shilimkar --- arch/arm/mach-omap2/omap_hwmod.c |8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod.c b

[RFC 21/23] mm/ARM: kernel: Use memblock apis for early memory allocations

2013-10-12 Thread Santosh Shilimkar
Switch to memblock interfaces for early memory allocator Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Santosh Shilimkar --- arch/arm/kernel/devtree.c |2 +- arch/arm/kernel/setup.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm

[RFC 08/23] mm/memblock: debug: don't free reserved array if !ARCH_DISCARD_MEMBLOCK

2013-10-12 Thread Santosh Shilimkar
ghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- mm/memblock.c |4 1 file changed, 4 insertions(+) diff --git a/mm/memblock.c b/mm/memblock.c index d903138..1bb2cc0 100644 --- a/mm/memblock.c +++ b/mm/memblock.c

[RFC 22/23] mm/ARM: mm: Use memblock apis for early memory allocations

2013-10-12 Thread Santosh Shilimkar
Switch to memblock interfaces for early memory allocator Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Santosh Shilimkar --- arch/arm/mm/init.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index cef338d

[RFC 07/23] mm/memblock: debug: correct displaying of upper memory boundary

2013-10-12 Thread Santosh Shilimkar
ned-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- mm/memblock.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/memblock.c b/mm/memblock.c index c67f4bb..d903138 100644 --- a/mm/memblock.c +++ b/mm/memblock.c @@ -547,7 +547,7 @@ int __init_memblock mem

[RFC 19/23] mm/memory_hotplug: Use memblock apis for early memory allocations

2013-10-12 Thread Santosh Shilimkar
Correct ensure_zone_is_initialized() function description according to the introduced memblock APIs for early memory allocations. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- mm/memory_hotplug.c |2 +- 1 file

[RFC 16/23] mm/hugetlb: Use memblock apis for early memory allocations

2013-10-12 Thread Santosh Shilimkar
From: Grygorii Strashko Switch to memblock interfaces for early memory allocator Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- mm/hugetlb.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff

[RFC 00/23] mm: Use memblock interface instead of bootmem

2013-10-12 Thread Santosh Shilimkar
on of bootmem.h mm/memblock: debug: correct displaying of upper memory boundary mm/memblock: debug: don't free reserved array if !ARCH_DISCARD_MEMBLOCK mm/hugetlb: Use memblock apis for early memory allocations mm/page_cgroup: Use memblock apis for early memory allocations Santosh Shi

[RFC 18/23] mm/percpu: Use memblock apis for early memory allocations

2013-10-12 Thread Santosh Shilimkar
Switch to memblock interfaces for early memory allocator Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Santosh Shilimkar --- mm/percpu.c | 39 +++ 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/mm/percpu.c b/mm/percpu.c

[RFC 15/23] mm/sparse: Use memblock apis for early memory allocations

2013-10-12 Thread Santosh Shilimkar
Switch to memblock interfaces for early memory allocator Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Santosh Shilimkar --- mm/sparse-vmemmap.c |5 +++-- mm/sparse.c | 24 +--- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git

[RFC 20/23] mm/firmware: Use memblock apis for early memory allocations

2013-10-12 Thread Santosh Shilimkar
Switch to memblock interfaces for early memory allocator Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- drivers/firmware/memmap.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware

[RFC 09/23] mm/init: Use memblock apis for early memory allocations

2013-10-12 Thread Santosh Shilimkar
Switch to memblock interfaces for early memory allocator Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Santosh Shilimkar --- init/main.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init/main.c b/init/main.c index af310af..e8d382a 100644 --- a

[RFC 12/23] mm/power: Use memblock apis for early memory allocations

2013-10-12 Thread Santosh Shilimkar
Switch to memblock interfaces for early memory allocator Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Santosh Shilimkar --- kernel/power/snapshot.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c index

[RFC 02/23] mm/block: remove unnecessary inclusion of bootmem.h

2013-10-12 Thread Santosh Shilimkar
From: Grygorii Strashko Clean-up to remove depedency with bootmem headers. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- block/blk-ioc.c |1 - 1 file changed, 1 deletion(-) diff --git a/block/blk-ioc.c b/block

[RFC 13/23] mm/lib: Use memblock apis for early memory allocations

2013-10-12 Thread Santosh Shilimkar
Switch to memblock interfaces for early memory allocator Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Santosh Shilimkar --- lib/swiotlb.c | 30 -- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/lib/swiotlb.c b/lib/swiotlb.c

[RFC 17/23] mm/page_cgroup: Use memblock apis for early memory allocations

2013-10-12 Thread Santosh Shilimkar
From: Grygorii Strashko Switch to memblock interfaces for early memory allocator Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- mm/page_cgroup.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[RFC 03/23] mm/memory_hotplug: remove unnecessary inclusion of bootmem.h

2013-10-12 Thread Santosh Shilimkar
From: Grygorii Strashko Clean-up to remove depedency with bootmem headers. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- mm/memory_hotplug.c |1 - 1 file changed, 1 deletion(-) diff --git a/mm/memory_hotplug.c b

[RFC 05/23] mm/char: remove unnecessary inclusion of bootmem.h

2013-10-12 Thread Santosh Shilimkar
From: Grygorii Strashko Clean-up to remove depedency with bootmem headers. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- drivers/char/mem.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/mem.c b

Re: [RFC 06/23] mm/memblock: Add memblock early memory allocation apis

2013-10-14 Thread Santosh Shilimkar
On Sunday 13 October 2013 02:42 PM, Tejun Heo wrote: > On Sun, Oct 13, 2013 at 07:00:59PM +0100, Russell King - ARM Linux wrote: >> On Sun, Oct 13, 2013 at 01:56:48PM -0400, Tejun Heo wrote: >>> Hello, >>> >>> On Sat, Oct 12, 2013 at 05:58:49PM -0400, San

Re: [RFC 06/23] mm/memblock: Add memblock early memory allocation apis

2013-10-14 Thread Santosh Shilimkar
On Sunday 13 October 2013 01:56 PM, Tejun Heo wrote: > Hello, > > On Sat, Oct 12, 2013 at 05:58:49PM -0400, Santosh Shilimkar wrote: >> Introduce memblock early memory allocation APIs which allow to support >> LPAE extension on 32 bits archs. More over,

Re: [RFC 07/23] mm/memblock: debug: correct displaying of upper memory boundary

2013-10-14 Thread Santosh Shilimkar
On Sunday 13 October 2013 02:02 PM, Tejun Heo wrote: > On Sat, Oct 12, 2013 at 05:58:50PM -0400, Santosh Shilimkar wrote: >> From: Grygorii Strashko >> >> When debugging is enabled (cmdline has "memblock=debug") the memblock >> will display upper memory bou

Re: [RFC 08/23] mm/memblock: debug: don't free reserved array if !ARCH_DISCARD_MEMBLOCK

2013-10-14 Thread Santosh Shilimkar
On Sunday 13 October 2013 03:51 PM, Tejun Heo wrote: > On Sat, Oct 12, 2013 at 05:58:51PM -0400, Santosh Shilimkar wrote: >> From: Grygorii Strashko >> >> Now the Nobootmem allocator will always try to free memory allocated for >> reserved memory regions (free_low_m

Re: [RFC 09/23] mm/init: Use memblock apis for early memory allocations

2013-10-14 Thread Santosh Shilimkar
On Sunday 13 October 2013 03:54 PM, Tejun Heo wrote: > On Sat, Oct 12, 2013 at 05:58:52PM -0400, Santosh Shilimkar wrote: >> Switch to memblock interfaces for early memory allocator > > When posting actual (non-RFC) patches later, please cc the maintainers > of the target sub

Re: [RFC 06/23] mm/memblock: Add memblock early memory allocation apis

2013-10-14 Thread Santosh Shilimkar
On Monday 14 October 2013 10:58 AM, Tejun Heo wrote: > Hello, > > On Mon, Oct 14, 2013 at 10:39:54AM -0400, Santosh Shilimkar wrote: >>>> +void __memblock_free_early(phys_addr_t base, phys_addr_t size); >>>> +void __memblock_free_late(phys_addr_t base, phys_

Re: [PATCH 00/24] mm: Use memblock interface instead of bootmem

2013-12-02 Thread Santosh Shilimkar
On Monday 02 December 2013 07:32 PM, Andrew Morton wrote: > On Fri, 29 Nov 2013 11:50:10 -0500 Santosh Shilimkar > wrote: > >> Tejun, Andrew, >> >> On Friday 08 November 2013 06:41 PM, Santosh Shilimkar wrote: >>> Tejun and others, >>> >>> F

Re: [PATCH 09/24] mm/memblock: Add memblock memory allocation apis

2013-12-02 Thread Santosh Shilimkar
On Monday 02 December 2013 07:31 PM, Andrew Morton wrote: > On Fri, 8 Nov 2013 18:41:45 -0500 Santosh Shilimkar > wrote: > >> Introduce memblock memory allocation APIs which allow to support >> PAE or LPAE extension on 32 bits archs where the physical memory start >>

[PATCH v2 04/23] mm/memory_hotplug: remove unnecessary inclusion of bootmem.h

2013-12-02 Thread Santosh Shilimkar
From: Grygorii Strashko Clean-up to remove depedency with bootmem headers. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- mm/memory_hotplug.c |1 - 1 file changed, 1 deletion(-) diff --git a/mm/memory_hotplug.c b

[PATCH v2 02/23] mm/memblock: debug: don't free reserved array if !ARCH_DISCARD_MEMBLOCK

2013-12-02 Thread Santosh Shilimkar
ghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- mm/memblock.c | 13 + 1 file changed, 13 insertions(+) diff --git a/mm/memblock.c b/mm/memblock.c index aab5669..53da534 100644 --- a/mm/memblock.c +++ b/mm/memblock.c

[PATCH v2 09/23] mm/init: Use memblock apis for early memory allocations

2013-12-02 Thread Santosh Shilimkar
on top of memblock. And the archs which still uses bootmem, these new apis just fallback to exiting bootmem APIs. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Santosh Shilimkar --- init/main.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init

[PATCH v2 08/23] mm/memblock: Add memblock memory allocation apis

2013-12-02 Thread Santosh Shilimkar
same. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- include/linux/bootmem.h | 88 + mm/memblock.c | 195 +++ 2 files changed, 283 insertions(+) di

[PATCH v2 23/23] mm/ARM: OMAP: Use memblock apis for early memory allocations

2013-12-02 Thread Santosh Shilimkar
on top of memblock. And the archs which still uses bootmem, these new apis just fallback to exiting bootmem APIs. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Cc: Paul Walmsley Cc: Tony Lindgren Signed-off-by: Santosh Shilimkar --- arch/arm/mach-omap2/omap_hwmod.c |8 ++-- 1 file

[PATCH v2 03/23] mm/bootmem: remove duplicated declaration of __free_pages_bootmem()

2013-12-02 Thread Santosh Shilimkar
From: Grygorii Strashko The __free_pages_bootmem is used internally by MM core and already defined in internal.h. So, remove duplicated declaration. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- include/linux/bootmem.h

[PATCH v2 22/23] mm/ARM: mm: Use memblock apis for early memory allocations

2013-12-02 Thread Santosh Shilimkar
on top of memblock. And the archs which still uses bootmem, these new apis just fallback to exiting bootmem APIs. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Santosh Shilimkar --- arch/arm/mm/init.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch

[PATCH v2 17/23] mm/page_cgroup: Use memblock apis for early memory allocations

2013-12-02 Thread Santosh Shilimkar
: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- mm/page_cgroup.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mm/page_cgroup.c b/mm/page_cgroup.c index 6d757e3a..d8bd2c5 100644 --- a/mm/page_cgroup.c +++ b/mm/page_cgroup.c @@ -54,8 +54,9 @@ static int __init

[PATCH v2 21/23] mm/ARM: kernel: Use memblock apis for early memory allocations

2013-12-02 Thread Santosh Shilimkar
on top of memblock. And the archs which still uses bootmem, these new apis just fallback to exiting bootmem APIs. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Santosh Shilimkar --- arch/arm/kernel/devtree.c |2 +- arch/arm/kernel/setup.c |2 +- 2 files changed, 2

[PATCH v2 12/23] mm/power: Use memblock apis for early memory allocations

2013-12-02 Thread Santosh Shilimkar
on top of memblock. And the archs which still uses bootmem, these new apis just fallback to exiting bootmem APIs. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Cc: Pavel Machek Acked-by: "Rafael J. Wysocki" Signed-off-by: Santosh Shilimkar --- kernel/power/snapshot.c |2

[PATCH v2 14/23] mm/lib/cpumask: Use memblock apis for early memory allocations

2013-12-02 Thread Santosh Shilimkar
on top of memblock. And the archs which still uses bootmem, these new apis just fallback to exiting bootmem APIs. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Santosh Shilimkar --- lib/cpumask.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib

[PATCH v2 05/23] mm/staging: remove unnecessary inclusion of bootmem.h

2013-12-02 Thread Santosh Shilimkar
From: Grygorii Strashko Clean-up to remove depedency with bootmem headers. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Cc: William Hubbs Cc: Chris Brannon Cc: Kirk Reiser Cc: Greg Kroah-Hartman Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- drivers/staging

[PATCH v2 19/23] mm/memory_hotplug: Use memblock apis for early memory allocations

2013-12-02 Thread Santosh Shilimkar
Correct ensure_zone_is_initialized() function description according to the introduced memblock APIs for early memory allocations. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- mm/memory_hotplug.c |2 +- 1 file

[PATCH v2 20/23] mm/firmware: Use memblock apis for early memory allocations

2013-12-02 Thread Santosh Shilimkar
on top of memblock. And the archs which still uses bootmem, these new apis just fallback to exiting bootmem APIs. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- drivers/firmware/memmap.c |2 +- 1 file changed, 1

[PATCH v2 15/23] mm/sparse: Use memblock apis for early memory allocations

2013-12-02 Thread Santosh Shilimkar
on top of memblock. And the archs which still uses bootmem, these new apis just fallback to exiting bootmem APIs. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Santosh Shilimkar --- mm/sparse-vmemmap.c |6 -- mm/sparse.c | 27 +++ 2

[PATCH v2 16/23] mm/hugetlb: Use memblock apis for early memory allocations

2013-12-02 Thread Santosh Shilimkar
of bootmem wrappers build on top of memblock. And the archs which still uses bootmem, these new apis just fallback to exiting bootmem APIs. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- mm/hugetlb.c | 10 +- 1

[PATCH v2 11/23] mm/page_alloc: Use memblock apis for early memory allocations

2013-12-02 Thread Santosh Shilimkar
on top of memblock. And the archs which still uses bootmem, these new apis just fallback to exiting bootmem APIs. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- mm/page_alloc.c | 27 +++ 1 file

[PATCH v2 13/23] mm/lib/swiotlb: Use memblock apis for early memory allocations

2013-12-02 Thread Santosh Shilimkar
on top of memblock. And the archs which still uses bootmem, these new apis just fallback to exiting bootmem APIs. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Cc: Konrad Rzeszutek Wilk Signed-off-by: Santosh Shilimkar --- lib/swiotlb.c | 36 +--- 1 file

[PATCH v2 10/23] mm/printk: Use memblock apis for early memory allocations

2013-12-02 Thread Santosh Shilimkar
on top of memblock. And the archs which still uses bootmem, these new apis just fallback to exiting bootmem APIs. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- kernel/printk/printk.c | 10 +++--- 1 file changed, 3

[PATCH v2 18/23] mm/percpu: Use memblock apis for early memory allocations

2013-12-02 Thread Santosh Shilimkar
on top of memblock. And the archs which still uses bootmem, these new apis just fallback to exiting bootmem APIs. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Cc: Christoph Lameter Signed-off-by: Santosh Shilimkar --- mm/percpu.c | 41 + 1 file

[PATCH v2 06/23] mm/char: remove unnecessary inclusion of bootmem.h

2013-12-02 Thread Santosh Shilimkar
From: Grygorii Strashko Clean-up to remove depedency with bootmem headers. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- drivers/char/mem.c |1 - 1 file changed, 1

[PATCH v2 07/23] mm/memblock: drop WARN and use SMP_CACHE_BYTES as a default alignment

2013-12-02 Thread Santosh Shilimkar
From: Grygorii Strashko drop WARN and use SMP_CACHE_BYTES as a default alignment in memblock_alloc_base_nid() as recommended by Tejun Heo in https://lkml.org/lkml/2013/10/13/117. Cc: Yinghai Lu Cc: Tejun Heo Cc: Andrew Morton Signed-off-by: Grygorii Strashko --- mm/memblock.c |4 ++-- 1

[PATCH v2 01/23] mm/memblock: debug: correct displaying of upper memory boundary

2013-12-02 Thread Santosh Shilimkar
ned-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- mm/memblock.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/memblock.c b/mm/memblock.c index 53e477b..aab5669 100644 --- a/mm/memblock.c +++ b/mm/memblock.c @@ -643,7 +643,7 @@ int __ini

[PATCH v2 00/23] mm: Use memblock interface instead of bootmem

2013-12-02 Thread Santosh Shilimkar
block: drop WARN and use SMP_CACHE_BYTES as a default alignment mm/hugetlb: Use memblock apis for early memory allocations mm/page_cgroup: Use memblock apis for early memory allocations Santosh Shilimkar (14): mm/memblock: Add memblock memory allocation apis mm/init: Use memblock a

Re: [PATCH v2 00/23] mm: Use memblock interface instead of bootmem

2013-12-04 Thread Santosh Shilimkar
On Tuesday 03 December 2013 05:48 PM, Tejun Heo wrote: > FYI, the series is missing the first patch. > Patch at least made it to the list [1]. Not sure why you didn't get it but it has your ack ;) Regards, Santosh [1] https://lkml.org/lkml/2013/12/2/999 -- To unsubscribe from this list: send th

Re: [PATCH v2 06/23] mm/char: remove unnecessary inclusion of bootmem.h

2013-12-04 Thread Santosh Shilimkar
On Tuesday 03 December 2013 05:55 PM, Tejun Heo wrote: > On Mon, Dec 02, 2013 at 09:27:21PM -0500, Santosh Shilimkar wrote: >> From: Grygorii Strashko >> >> Clean-up to remove depedency with bootmem headers. >> >> Cc: Yinghai Lu >> Cc: Tejun Heo >> C

Re: [PATCH v2 02/23] mm/memblock: debug: don't free reserved array if !ARCH_DISCARD_MEMBLOCK

2013-12-04 Thread Santosh Shilimkar
On Tuesday 03 December 2013 05:52 PM, Tejun Heo wrote: > On Mon, Dec 02, 2013 at 09:27:17PM -0500, Santosh Shilimkar wrote: > ... >> Cc: Yinghai Lu >> Cc: Tejun Heo >> Cc: Andrew Morton >> Signed-off-by: Grygorii Strashko >> Signed-off-by: Santosh Sh

Re: [PATCH v2 08/23] mm/memblock: Add memblock memory allocation apis

2013-12-04 Thread Santosh Shilimkar
On Tuesday 03 December 2013 06:24 PM, Tejun Heo wrote: > Hello, > > On Mon, Dec 02, 2013 at 09:27:23PM -0500, Santosh Shilimkar wrote: >> So we add equivalent APIs so that we can replace usage of bootmem >> with memblock interfaces. Architectures already converted to NO_BOO

[PATCH] usb: host: xhci: Move suspend ops under PM_SLEEP to avoid warning

2013-12-12 Thread Santosh Shilimkar
Signed-off-by: Santosh Shilimkar --- drivers/usb/host/xhci-plat.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index d9c169f..4875be5 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci

Re: [PATCH v3 13/23] mm/lib/swiotlb: Use memblock apis for early memory allocations

2013-12-12 Thread Santosh Shilimkar
On Thursday 12 December 2013 08:08 PM, Andrew Morton wrote: > On Mon, 9 Dec 2013 16:50:46 -0500 Santosh Shilimkar > wrote: > >> Switch to memblock interfaces for early memory allocator instead of >> bootmem allocator. No functional change in beahvior than what it is &g

Re: [PATCH] usb: host: xhci: Move suspend ops under PM_SLEEP to avoid warning

2013-12-12 Thread Santosh Shilimkar
On Thursday 12 December 2013 08:51 PM, David Cohen wrote: > On Thu, Dec 12, 2013 at 08:06:24PM -0500, Santosh Shilimkar wrote: >> Otherwise you get below build warnings >> >> drivers/usb/host/xhci-plat.c:201:12: warning: ‘xhci_plat_suspend’ defined >> but not used [-W

Re: [PATCH] usb: host: xhci: Move suspend ops under PM_SLEEP to avoid warning

2013-12-13 Thread Santosh Shilimkar
On Friday 13 December 2013 12:23 AM, David Cohen wrote: > On Thu, Dec 12, 2013 at 07:25:55PM -0800, David Cohen wrote: >> On Thu, Dec 12, 2013 at 09:01:04PM -0500, Santosh Shilimkar wrote: >>> On Thursday 12 December 2013 08:51 PM, David Cohen wrote: >>>> On Thu, De

[PATCH] mm/ARM: fix ARMs __ffs() to conform to avoid warning with NO_BOOTMEM

2013-12-13 Thread Santosh Shilimkar
es in that it ends up being an int, whereas almost everyone else is unsigned long. So fix ARMs __ffs() to conform to other architectures. Suggested by Russell King Some more details in below thread - https://lkml.org/lkml/2013/12/9/807 Cc: Andrew Morton Cc: Russell King Signed-off-by: Sa

Re: [PATCH v3 07/23] mm/memblock: switch to use NUMA_NO_NODE instead of MAX_NUMNODES

2013-12-13 Thread Santosh Shilimkar
On Friday 13 December 2013 04:29 PM, Tejun Heo wrote: > On Mon, Dec 09, 2013 at 04:50:40PM -0500, Santosh Shilimkar wrote: >> +if (nid == MAX_NUMNODES) >> +pr_warn_once("%s: Usage of MAX_NUMNODES is depricated. Use >> NUMA_NO_NODE instead\n", >&g

Re: [PATCH v3 08/23] mm/memblock: Add memblock memory allocation apis

2013-12-13 Thread Santosh Shilimkar
On Friday 13 December 2013 04:37 PM, Tejun Heo wrote: > On Mon, Dec 09, 2013 at 04:50:41PM -0500, Santosh Shilimkar wrote: >> Introduce memblock memory allocation APIs which allow to support >> PAE or LPAE extension on 32 bits archs where the physical memory >> start address

Re: [PATCH 0/2] gpio: davinci: reuse for keystone arch

2013-12-14 Thread Santosh Shilimkar
Linus, Sekhar, On Thursday 12 December 2013 01:12 PM, Grygorii Strashko wrote: > This series is intended to update Davinci GPIO driver and reuse > it for Keystone SoCs, because Keystone uses the similar GPIO IP like Davinci. > Keystone GPIO IP: supports: > - up to 32 GPIO lines; > - only unbanked

Re: [PATCH v3 1/2] memory: ti-aemif: introduce AEMIF driver

2013-12-14 Thread Santosh Shilimkar
one2 > > Signed-off-by: [initial author] Murali Karicheri > Signed-off-by: Ivan Khoronzhuk > --- Acked-by: Santosh Shilimkar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo inf

Re: [PATCH v3 2/2] memory: ti-aemif: add bindings for AEMIF driver

2013-12-14 Thread Santosh Shilimkar
Kumar, On Wednesday 11 December 2013 05:59 AM, Ivan Khoronzhuk wrote: > Add bindings for TI Async External Memory Interface (AEMIF) controller. > > The Async External Memory Interface (EMIF16/AEMIF) controller is intended to > provide a glue-less interface to a variety of asynchronous memory devi

Re: [PATCH v5 0/5] Update Davinci watchdog driver

2013-12-14 Thread Santosh Shilimkar
Wim, On Monday 09 December 2013 11:27 AM, Santosh Shilimkar wrote: > Wim, > > On Wednesday 04 December 2013 02:39 PM, Ivan Khoronzhuk wrote: >> These patches are intended to update Davinci watchdog to use WDT core >> and reuse driver for keystone arch, because Keystone u

Re: [PATCH v3 0/9] Reuse davinci-nand driver for Keystone arch

2013-12-14 Thread Santosh Shilimkar
On Monday 09 December 2013 11:44 AM, Santosh Shilimkar wrote: > David, > > On Thursday 05 December 2013 12:25 PM, Ivan Khoronzhuk wrote: >> This series contains fixes and updates of Davinci nand driver in >> order to reuse it for Keystone platform. >> >> v2..v3: &

Re: [PATCH v3 08/23] mm/memblock: Add memblock memory allocation apis

2013-12-14 Thread Santosh Shilimkar
On Saturday 14 December 2013 06:08 AM, Tejun Heo wrote: > Hello, Santosh. > > On Fri, Dec 13, 2013 at 07:52:42PM -0500, Santosh Shilimkar wrote: >>>> +static void * __init memblock_virt_alloc_internal( >>>> + ph

Re: [PATCH] cpufreq: omap: clk_round_rate() can return a zero upon error

2013-12-16 Thread Santosh Shilimkar
pt to preserve the correct behavior in the meantime. > > This patch also removes a bogus usage of IS_ERR_VALUE(), which is intended to > be used only on combination pointer/error code return values; a side-benefit. > > Signed-off-by: Paul Walmsley > Cc: Santosh Shilimkar

Re: [PATCH 0/2] gpio: davinci: reuse for keystone arch

2013-12-16 Thread Santosh Shilimkar
On Sunday 15 December 2013 08:50 AM, Sekhar Nori wrote: > On Sunday 15 December 2013 12:41 AM, Santosh Shilimkar wrote: >> Linus, Sekhar, >> >> On Thursday 12 December 2013 01:12 PM, Grygorii Strashko wrote: >>> This series is intended to update Davinci GPIO driver

Re: [PATCH 1/2] gpio: davinci: don't create irq_domain in case of unbanked irqs

2013-12-16 Thread Santosh Shilimkar
are enabled > and correct gpio_to_irq_banked() to handle this properly. > > CC: Linus Walleij > CC: Sekhar Nori > CC: Santosh Shilimkar > > Signed-off-by: Grygorii Strashko > --- Acked-by: Santosh Shilimkar -- To unsubscribe from this list: send the line "unsubs

Re: [PATCH 2/2] gpio: davinci: reuse for Keystone SoC

2013-12-16 Thread Santosh Shilimkar
using IRQ Chip. > > Documentation: > http://www.ti.com/lit/ug/sprugv1/sprugv1.pdf > > CC: Linus Walleij > CC: Sekhar Nori > CC: Santosh Shilimkar > CC: devicet...@vger.kernel.org > > Signed-off-by: Grygorii Strashko > --- > .../devicetree/bindings/gpio/g

Re: [PATCH 0/2] gpio: davinci: reuse for keystone arch

2013-12-16 Thread Santosh Shilimkar
On Monday 16 December 2013 10:09 AM, Santosh Shilimkar wrote: > On Sunday 15 December 2013 08:50 AM, Sekhar Nori wrote: >> On Sunday 15 December 2013 12:41 AM, Santosh Shilimkar wrote: >>> Linus, Sekhar, >>> >>> On Thursday 12 December 2013 01:12 PM, Grygorii

Re: [PATCH] irqchip: add keystone irq controller ip driver

2014-07-18 Thread Santosh Shilimkar
Hi Jason, On Friday 18 July 2014 08:59 AM, Jason Cooper wrote: > Grygorii, > > On Mon, Jul 14, 2014 at 06:27:57PM +0300, Grygorii Strashko wrote: >> On Keystone SOCs, DSP cores can send interrupts to ARM >> host using the IRQ controller IP. It provides 28 IRQ >> signals to ARM. The IRQ handler ru

Re: [PATCH v2 0/7] of: setup dma parameters using dma-ranges and dma-coherent

2014-04-22 Thread Santosh Shilimkar
On Tuesday 22 April 2014 11:02 AM, Arnd Bergmann wrote: > On Saturday 19 April 2014, Thomas Petazzoni wrote: >> >> I am not sure whether there is an intersection or not, but I wanted to >> mention that the mvebu platform (in mach-mvebu) supports hardware I/O >> coherency, which makes it a coherent

Re: [PATCH] ARM: OMAP5: Switch to THUMB mode if needed on secondary CPU

2014-04-22 Thread Santosh Shilimkar
ontrol to > the kernel. Switch to THUMB mode if required once the kernel is control of > secondary CPU. On OMAP4 on the other hand, it appears to be in THUMB mode on > entry so this is not required and SMP boot works as is. > > Cc: Santosh Shilimkar > Cc: Russell King >

[PATCH 0/2] net: Add Keystone NetCP ethernet driver support

2014-04-22 Thread Santosh Shilimkar
Couple of patches to add Keystone NetCP ethernet driver support. The network coprocessor (NetCP) is a hardware accelerator that processes Ethernet packets. NetCP has a gigabit Ethernet (GbE) subsystem with a ethernet switch sub-module to send and receive packets. NetCP also includes a packet accel

[PATCH 1/2] Documentation: dt: net: Add binding doc for Keystone NetCP ethernet driver

2014-04-22 Thread Santosh Shilimkar
|-> Ethernet Port 3 Common driver supports GBE as well XGBE network processors. Cc: Rob Herring Cc: Grant Likely Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: David Miller Signed-off-by: Sandeep Nair Signed-off-by: Santosh Shilimkar ---

Re: [PATCH 0/2] net: Add Keystone NetCP ethernet driver support

2014-04-22 Thread Santosh Shilimkar
On Tuesday 22 April 2014 06:02 PM, Stephen Hemminger wrote: > On Tue, 22 Apr 2014 17:21:13 -0400 > Santosh Shilimkar wrote: > >> NetCP driver has a plug-in module architecture where each of the NetCP >> sub-modules exist as a loadable kernel module which plug in to the net

[PATCH v2 3/6] Documentation: dt: soc: add Keystone Navigator QMSS bindings

2014-04-23 Thread Santosh Shilimkar
Rutland Signed-off-by: Sandeep Nair Signed-off-by: Santosh Shilimkar --- .../bindings/soc/keystone-navigator-qmss.txt | 232 1 file changed, 232 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/keystone-navigator-qmss.txt diff --git a

[PATCH v2 5/6] Documentation: dt: soc: add Keystone Navigator DMA bindings

2014-04-23 Thread Santosh Shilimkar
rring Cc: Mark Rutland Signed-off-by: Sandeep Nair Signed-off-by: Santosh Shilimkar --- .../bindings/soc/keystone-navigator-dma.txt| 101 1 file changed, 101 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/keystone-navigator-dma.txt diff

[PATCH v2 6/6] soc: ti: add Keystone Navigator DMA support

2014-04-23 Thread Santosh Shilimkar
rring Cc: Mark Rutland Signed-off-by: Sandeep Nair Signed-off-by: Santosh Shilimkar --- drivers/soc/ti/Kconfig | 10 + drivers/soc/ti/Makefile |1 + drivers/soc/ti/knav_dma.c | 776 +++ include/linux/soc/ti/knav_dma.h |

[PATCH v2 2/6] firmware: add Keystone QMSS PDSP accumulator firmware blob

2014-04-23 Thread Santosh Shilimkar
Bergmann Signed-off-by: Sandeep Nair Signed-off-by: Santosh Shilimkar --- firmware/Makefile |1 + .../keystone/qmss_pdsp_acc48_k2_le_1_0_0_8.fw.ihex | 110 2 files changed, 111 insertions(+) create mode 100644 firmware/keystone

[PATCH v2 1/6] soc: Introduce drivers/soc place-holder for SOC specific drivers

2014-04-23 Thread Santosh Shilimkar
e: http://lwn.net/Articles/588942/ Cc: Greg Kroah-Hartman Cc: Kumar Gala Cc: Paul Walmsley Cc: Olof Johansson Cc: Arnd Bergmann Signed-off-by: Sandeep Nair Signed-off-by: Santosh Shilimkar --- drivers/Kconfig |2 ++ drivers/Makefile|3 +++ drivers/soc/Kconfig |

[PATCH v2 0/6] soc: ti: Add Keystone Navigator drivers

2014-04-23 Thread Santosh Shilimkar
mware blob Documentation: dt: soc: add Keystone Navigator QMSS bindings soc: ti: add Keystone Navigator QMSS driver Santosh Shilimkar (3): soc: Introduce drivers/soc place-holder for SOC specific drivers Documentation: dt: soc: add Keystone Navigator DMA bindings soc: ti: add Keystone Navi

Re: [PATCH v2 4/6] soc: ti: add Keystone Navigator QMSS driver

2014-04-24 Thread Santosh Shilimkar
On Wednesday 23 April 2014 09:30 PM, Felipe Balbi wrote: > Hi, > > On Wed, Apr 23, 2014 at 07:46:20PM -0400, Santosh Shilimkar wrote: >> From: Sandeep Nair >> >> The QMSS (Queue Manager Sub System) found on Keystone SOCs is one of >> the main hardware sub syste

[PATCH v3 7/7] ARM: dma: use phys_addr_t in __dma_page_[cpu_to_dev/dev_to_cpu]

2014-04-24 Thread Santosh Shilimkar
On a 32 bit ARM architecture with LPAE extension physical addresses cannot fit into unsigned long variable. So fix it by using phys_addr_t instead of unsigned long. Cc: Nicolas Pitre Cc: Russell King - ARM Linux Cc: Catalin Marinas Cc: Will Deacon Signed-off-by: Santosh Shilimkar --- arch

[PATCH v3 0/7] of: setup dma parameters using dma-ranges and dma-coherent

2014-04-24 Thread Santosh Shilimkar
Cc: Greg Kroah-Hartman Cc: Russell King Cc: Arnd Bergmann Cc: Olof Johansson Cc: Grant Likely Cc: Rob Herring Cc: Catalin Marinas Cc: Linus Walleij Cc: Grygorii Strashko Grygorii Strashko (2): of: introduce of_dma_get_range() helper ARM: dma: Use dma_pfn_offset for dma address translatio

[PATCH v3 6/7] ARM: dma: implement set_arch_dma_coherent_ops()

2014-04-24 Thread Santosh Shilimkar
Implement the set_arch_dma_coherent_ops() for ARM architecture. Cc: Greg Kroah-Hartman Cc: Russell King Cc: Arnd Bergmann Cc: Olof Johansson Cc: Grant Likely Cc: Rob Herring Cc: Catalin Marinas Cc: Linus Walleij Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- arch

[PATCH v3 3/7] of: introduce of_dma_is_coherent() helper

2014-04-24 Thread Santosh Shilimkar
artman Cc: Russell King Cc: Arnd Bergmann Cc: Olof Johansson Cc: Grant Likely Cc: Rob Herring Cc: Catalin Marinas Cc: Linus Walleij Signed-off-by: Santosh Shilimkar Signed-off-by: Grygorii Strashko --- drivers/of/platform.c | 23 +++ include/linux/of_platfor

[PATCH v3 5/7] ARM: dma: Use dma_pfn_offset for dma address translation

2014-04-24 Thread Santosh Shilimkar
artman Cc: Russell King Cc: Arnd Bergmann Cc: Olof Johansson Cc: Grant Likely Cc: Rob Herring Cc: Catalin Marinas Cc: Linus Walleij Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- arch/arm/include/asm/dma-mapping.h | 21 + 1 file changed, 17 inse

[PATCH v3 4/7] of: configure the platform device dma parameters

2014-04-24 Thread Santosh Shilimkar
ely Cc: Rob Herring Cc: Catalin Marinas Cc: Linus Walleij Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- drivers/of/platform.c | 48 --- include/linux/dma-mapping.h |7 +++ 2 files changed, 52 insertions(+), 3 delet

[PATCH v3 1/7] device: introduce per device dma_pfn_offset

2014-04-24 Thread Santosh Shilimkar
e init code while creating the devices. Cc: Greg Kroah-Hartman Cc: Russell King Cc: Arnd Bergmann Cc: Olof Johansson Cc: Grant Likely Cc: Rob Herring Cc: Catalin Marinas Cc: Linus Walleij Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- include/linux/device.h |2

[PATCH v3 2/7] of: introduce of_dma_get_range() helper

2014-04-24 Thread Santosh Shilimkar
Greg Kroah-Hartman Cc: Russell King Cc: Arnd Bergmann Cc: Olof Johansson Cc: Grant Likely Cc: Rob Herring Cc: Catalin Marinas Cc: Linus Walleij Signed-off-by: Grygorii Strashko Signed-off-by: Santosh Shilimkar --- drivers/of/address.c | 87 +++

Re: [Patch v2 1/4] soc: Placeholder files for drivers/soc

2014-04-24 Thread Santosh Shilimkar
On Thursday 24 April 2014 12:31 PM, Andy Gross wrote: > Add placeholder Kconfig and linkage for driver/soc. > > The first patch set that implemented this was authored by Santosh Shilimkar: > https://lkml.org/lkml/2014/2/28/567 > > Signed-off-by: Andy Gross > --- Good to see

<    1   2   3   4   5   6   7   8   9   10   >