Re: Request review of device tree documentation

2010-06-16 Thread Mike Rapoport
Mitch Bradley wrote: Mike Rapoport wrote: Mitch Bradley wrote: The second topic is the hypothetical use of OFW as a HAL. That will not happen for several reasons. The opposition to the idea is widespread and deeply held, and there are good arguments to support that opposition

Re: Request review of device tree documentation

2010-06-16 Thread Mike Rapoport
Mitch Bradley wrote: Mike Rapoport wrote: Mitch Bradley wrote: Mike Rapoport wrote: Mitch Bradley wrote: The second topic is the hypothetical use of OFW as a HAL. That will not happen for several reasons. The opposition to the idea is widespread and deeply held, and there are good

Re: Request review of device tree documentation

2010-06-16 Thread Mike Rapoport
Mitch Bradley wrote: The second topic is the hypothetical use of OFW as a HAL. That will not happen for several reasons. The opposition to the idea is widespread and deeply held, and there are good arguments to support that opposition. Furthermore, the economic conditions necessary for the

Re: Request review of device tree documentation

2010-06-16 Thread Mike Rapoport
Mitch Bradley wrote: Mike Rapoport wrote: Mitch Bradley wrote: Mike Rapoport wrote: Mitch Bradley wrote: Mike Rapoport wrote: Mitch Bradley wrote: The second topic is the hypothetical use of OFW as a HAL. That will not happen for several reasons. The opposition to the idea is widespread

Re: CPM2 USB host driver

2007-12-01 Thread Mike Rapoport
I tried to forward-port FHCI from Freescale 2.6.11 kernels. Twice. But these efforts always stumbled over more important tasks. Do you think I start from the FHCI driver provided by Freescale for 2.6.11, from the cpm2usb driver or from scratch ? The cmp2usb is old and crappy, and I had

[RFC PATCH 02/29] mm: remove CONFIG_NO_BOOTMEM

2018-09-05 Thread Mike Rapoport
All achitectures select NO_BOOTMEM which essentially becomes 'Y' for any kernel configuration and therefore it can be removed. Signed-off-by: Mike Rapoport --- arch/alpha/Kconfig | 1 - arch/arc/Kconfig| 1 - arch/arm/Kconfig| 1 - arch/arm64/Kconfig | 1 - arch

[RFC PATCH 00/29] mm: remove bootmem allocator

2018-09-05 Thread Mike Rapoport
, the series is in sufficient state to post and get the early feedback. The patches are build-tested with defconfig for most architectures (I couldn't find a compiler for nds32 and unicore32) and boot-tested on x86 VM. Mike Rapoport (29): mips: switch to NO_BOOTMEM mm: remove CONFIG_NO_BOOTMEM

[RFC PATCH 01/29] mips: switch to NO_BOOTMEM

2018-09-05 Thread Mike Rapoport
MIPS already has memblock support and all the memory is already registered with it. This patch replaces bootmem memory reservations with memblock ones and removes the bootmem initialization. Signed-off-by: Mike Rapoport --- arch/mips/Kconfig | 1 + arch/mips/kernel

Re: [PATCH] [RFC v2] Drop all 00-INDEX files from Documentation/

2018-09-04 Thread Mike Rapoport
, but I rather not > if we just want to delete them anyway. > > As a starting point, remove all index-files and references to 00-INDEX and > see where the discussion is going. For the Documentation/vm Acked-by: Mike Rapoport > Again, sorry for the insanely wide distribution. &

[RFC PATCH 05/29] mm: nobootmem: remove dead code

2018-09-05 Thread Mike Rapoport
Several bootmem functions and macros are not used. Remove them. Signed-off-by: Mike Rapoport --- include/linux/bootmem.h | 26 -- mm/nobootmem.c | 35 --- 2 files changed, 61 deletions(-) diff --git a/include/linux/bootmem.h b

[RFC PATCH 17/29] memblock: replace alloc_bootmem_node with memblock_alloc_node

2018-09-05 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- arch/alpha/kernel/pci_iommu.c | 4 ++-- arch/ia64/sn/kernel/io_common.c | 7 ++- arch/ia64/sn/kernel/setup.c | 4 ++-- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/arch/alpha/kernel/pci_iommu.c b/arch/alpha/kernel/pci_iommu.c index

[RFC PATCH 18/29] memblock: replace alloc_bootmem_low_pages with memblock_alloc_low

2018-09-05 Thread Mike Rapoport
The conversion is done using the following semantic patch: @@ expression e; @@ - alloc_bootmem_low_pages(e) + memblock_alloc_low(e, PAGE_SIZE) Signed-off-by: Mike Rapoport --- arch/arc/mm/highmem.c| 2 +- arch/m68k/atari/stram.c | 3 ++- arch/m68k/mm/motorola.c

[RFC PATCH 21/29] memblock: replace alloc_bootmem with memblock_alloc

2018-09-05 Thread Mike Rapoport
The conversion is done using the following semantic patch: @@ expression e; @@ - __alloc_bootmem(e) + memblock_alloc_from(e, 0) Signed-off-by: Mike Rapoport --- arch/alpha/kernel/core_marvel.c | 4 ++-- arch/alpha/kernel/pci-noop.c| 4 ++-- arch/alpha/kernel/pci.c | 4

[RFC PATCH 06/29] memblock: rename memblock_alloc{_nid, _try_nid} to memblock_phys_alloc*

2018-09-05 Thread Mike Rapoport
(e1, e2, e3) | - memblock_alloc_try_nid(e1, e2, e3) + memblock_phys_alloc_try_nid(e1, e2, e3) ) Signed-off-by: Mike Rapoport --- arch/arm/mm/mmu.c | 2 +- arch/arm64/mm/mmu.c | 2 +- arch/arm64/mm/numa.c | 2 +- arch/c6x/mm/dma-coherent.c

[RFC PATCH 03/29] mm: remove CONFIG_HAVE_MEMBLOCK

2018-09-05 Thread Mike Rapoport
All architecures use memblock for early memory management. There is no need for the CONFIG_HAVE_MEMBLOCK configuration option. Signed-off-by: Mike Rapoport --- arch/alpha/Kconfig | 1 - arch/arc/Kconfig| 1 - arch/arm/Kconfig| 1

[RFC PATCH 09/29] memblock: replace alloc_bootmem_low with memblock_alloc_low

2018-09-05 Thread Mike Rapoport
The functions are equivalent, just the later does not require nobootmem translation layer. Signed-off-by: Mike Rapoport --- arch/x86/kernel/tce_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/tce_64.c b/arch/x86/kernel/tce_64.c index f386bad..54c9b5a

[RFC PATCH 14/29] memblock: add align parameter to memblock_alloc_node()

2018-09-05 Thread Mike Rapoport
With the align parameter memblock_alloc_node() can be used as drop in replacement for alloc_bootmem_pages_node(). Signed-off-by: Mike Rapoport --- include/linux/bootmem.h | 4 ++-- mm/sparse.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux

[RFC PATCH 15/29] memblock: replace alloc_bootmem_pages_node with memblock_alloc_node

2018-09-05 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- arch/ia64/mm/init.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/ia64/mm/init.c b/arch/ia64/mm/init.c index 3b85c3e..ffcc358 100644 --- a/arch/ia64/mm/init.c +++ b/arch/ia64/mm/init.c @@ -447,19 +447,19 @@ int __init

[RFC PATCH 20/29] memblock: replace __alloc_bootmem with memblock_alloc_from

2018-09-05 Thread Mike Rapoport
The conversion is done using the following semantic patch: @@ expression e1, e2, e3; @@ - __alloc_bootmem(e1, e2, e3) + memblock_alloc(e1, e2, e3) Signed-off-by: Mike Rapoport --- arch/alpha/kernel/core_cia.c | 2 +- arch/alpha/kernel/pci_iommu.c | 4 ++-- arch/alpha/kernel/setup.c | 2

[RFC PATCH 25/29] memblock: rename free_all_bootmem to memblock_free_all

2018-09-05 Thread Mike Rapoport
The conversion is done using sed -i 's@free_all_bootmem@memblock_free_all@' \ $(git grep -l free_all_bootmem) Signed-off-by: Mike Rapoport --- arch/alpha/mm/init.c | 2 +- arch/arc/mm/init.c | 2 +- arch/arm/mm/init.c | 2 +- arch

[RFC PATCH 04/29] mm: remove bootmem allocator implementation.

2018-09-05 Thread Mike Rapoport
All architectures have been converted to use MEMBLOCK + NO_BOOTMEM. The bootmem allocator implementation can be removed. Signed-off-by: Mike Rapoport --- include/linux/bootmem.h | 16 - mm/bootmem.c| 811 2 files changed, 827

[RFC PATCH 11/29] memblock: replace alloc_bootmem_pages_nopanic with memblock_alloc_nopanic

2018-09-05 Thread Mike Rapoport
The alloc_bootmem_pages_nopanic(size) is a shortcut for __alloc_bootmem_nopanic(x, PAGE_SIZE, BOOTMEM_LOW_LIMIT) and can be replaced by memblock_alloc_nopanic(size, PAGE_SIZE) Signed-off-by: Mike Rapoport --- drivers/usb/early/xhci-dbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[RFC PATCH 26/29] memblock: rename __free_pages_bootmem to memblock_free_pages

2018-09-05 Thread Mike Rapoport
The conversion is done using sed -i 's@__free_pages_bootmem@memblock_free_pages@' \ $(git grep -l __free_pages_bootmem) Signed-off-by: Mike Rapoport --- mm/internal.h | 2 +- mm/memblock.c | 2 +- mm/nobootmem.c | 2 +- mm/page_alloc.c | 2 +- 4 files changed, 4 insertions(+), 4

[RFC PATCH 29/29] mm: remove include/linux/bootmem.h

2018-09-05 Thread Mike Rapoport
Move remaining definitions and declarations from include/linux/bootmem.h into include/linux/memblock.h and remove the redundant header. Signed-off-by: Mike Rapoport --- arch/alpha/kernel/core_cia.c| 2 +- arch/alpha/kernel/core_irongate.c | 1 - arch/alpha/kernel

[RFC PATCH 13/29] memblock: replace __alloc_bootmem_nopanic with memblock_alloc_from_nopanic

2018-09-05 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- arch/arc/kernel/unwind.c | 4 ++-- arch/x86/kernel/setup_percpu.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c index 183391d..2a01dd1 100644 --- a/arch/arc/kernel/unwind.c +++ b

[RFC PATCH 16/29] memblock: replace __alloc_bootmem_node with appropriate memblock_ API

2018-09-05 Thread Mike Rapoport
Use memblock_alloc_try_nid whenever goal (i.e. mininal address is specified) and memblock_alloc_node otherwise. Signed-off-by: Mike Rapoport --- arch/ia64/mm/discontig.c | 6 -- arch/ia64/mm/init.c| 2 +- arch/powerpc/kernel/setup_64.c | 6 -- arch/sparc/kernel

[RFC PATCH 24/29] memblock: replace free_bootmem_late with memblock_free_late

2018-09-05 Thread Mike Rapoport
The free_bootmem_late and memblock_free_late do exactly the same thing: they iterate over a range and give pages to the page allocator. Replace calls to free_bootmem_late with calls to memblock_free_late and remove the bootmem variant. Signed-off-by: Mike Rapoport --- arch/sparc/kernel/mdesc.c

[RFC PATCH 08/29] memblock: replace alloc_bootmem_align with memblock_alloc

2018-09-05 Thread Mike Rapoport
The functions are equivalent, just the later does not require nobootmem translation layer. Signed-off-by: Mike Rapoport --- arch/x86/xen/p2m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/xen/p2m.c b/arch/x86/xen/p2m.c index 159a897..68c0f14 100644 --- a/arch/x86

[RFC PATCH 07/29] memblock: remove _virt from APIs returning virtual address

2018-09-05 Thread Mike Rapoport
The conversion is done using sed -i 's@memblock_virt_alloc@memblock_alloc@g' \ $(git grep -l memblock_virt_alloc) Signed-off-by: Mike Rapoport --- arch/arm/kernel/setup.c | 4 ++-- arch/arm/mach-omap2/omap_hwmod.c | 2 +- arch/arm64/mm/kasan_init.c

[RFC PATCH 12/29] memblock: replace alloc_bootmem_low with memblock_alloc_low

2018-09-05 Thread Mike Rapoport
The alloc_bootmem_low(size) allocates low memory with default alignement and can be replcaed by memblock_alloc_low(size, 0) Signed-off-by: Mike Rapoport --- arch/arm64/kernel/setup.c | 2 +- arch/unicore32/kernel/setup.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[RFC PATCH 23/29] memblock: replace free_bootmem{_node} with memblock_free

2018-09-05 Thread Mike Rapoport
) ) Signed-off-by: Mike Rapoport --- arch/alpha/kernel/core_irongate.c | 3 +-- arch/arm64/mm/init.c | 2 +- arch/mips/kernel/setup.c | 2 +- arch/powerpc/kernel/setup_64.c| 2 +- arch/sparc/kernel/smp_64.c| 2 +- arch/um/kernel/mem.c | 3

[RFC PATCH 28/29] memblock: replace BOOTMEM_ALLOC_* with MEMBLOCK variants

2018-09-05 Thread Mike Rapoport
Drop BOOTMEM_ALLOC_ACCESSIBLE and BOOTMEM_ALLOC_ANYWHERE in favor of identical MEMBLOCK definitions. Signed-off-by: Mike Rapoport --- arch/ia64/mm/discontig.c | 2 +- arch/powerpc/kernel/setup_64.c | 2 +- arch/sparc/kernel/smp_64.c | 2 +- arch/x86/kernel/setup_percpu.c | 2 +- arch

[RFC PATCH 19/29] memblock: replace alloc_bootmem_pages with memblock_alloc

2018-09-05 Thread Mike Rapoport
The conversion is done using the following semantic patch: @@ expression e; @@ - alloc_bootmem_pages(e) + memblock_alloc(e, PAGE_SIZE) Signed-off-by: Mike Rapoport --- arch/c6x/mm/init.c | 3 ++- arch/h8300/mm/init.c | 2 +- arch/m68k/mm/init.c| 2 +- arch

Re: [RFC PATCH 07/29] memblock: remove _virt from APIs returning virtual address

2018-09-05 Thread Mike Rapoport
On Wed, Sep 05, 2018 at 12:04:36PM -0500, Rob Herring wrote: > On Wed, Sep 5, 2018 at 11:00 AM Mike Rapoport wrote: > > > > The conversion is done using > > > > sed -i 's@memblock_virt_alloc@memblock_alloc@g' \ > > $(git grep -l memblock_virt_al

[RFC PATCH 22/29] mm: nobootmem: remove bootmem allocation APIs

2018-09-05 Thread Mike Rapoport
The bootmem compatibility APIs are not used and can be removed. Signed-off-by: Mike Rapoport --- include/linux/bootmem.h | 47 -- mm/nobootmem.c | 224 2 files changed, 271 deletions(-) diff --git a/include/linux/bootmem.h b

[RFC PATCH 27/29] mm: remove nobootmem

2018-09-05 Thread Mike Rapoport
Move a few remaining functions from nobootmem.c to memblock.c and remove nobootmem Signed-off-by: Mike Rapoport --- mm/Makefile| 1 - mm/memblock.c | 104 ++ mm/nobootmem.c | 128 - 3

[RFC PATCH 10/29] memblock: replace __alloc_bootmem_node_nopanic with memblock_alloc_try_nid_nopanic

2018-09-05 Thread Mike Rapoport
The __alloc_bootmem_node_nopanic() is used only once, there is no reason to add a wrapper for memblock_alloc_try_nid_nopanic for it. Signed-off-by: Mike Rapoport --- arch/x86/kernel/setup_percpu.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel

Re: [RFC PATCH 20/29] memblock: replace __alloc_bootmem with memblock_alloc_from

2018-09-06 Thread Mike Rapoport
On Thu, Sep 06, 2018 at 10:52:05AM +0200, Michal Hocko wrote: > On Wed 05-09-18 18:59:35, Mike Rapoport wrote: > > The conversion is done using the following semantic patch: > > > > @@ > > expression e1, e2, e3; > > @@ > > - __alloc_bootmem(e1,

Re: [RFC PATCH 00/29] mm: remove bootmem allocator

2018-09-06 Thread Mike Rapoport
On Thu, Sep 06, 2018 at 01:04:47PM +, Pasha Tatashin wrote: > > > On 9/6/18 5:15 AM, Michal Hocko wrote: > > On Wed 05-09-18 18:59:15, Mike Rapoport wrote: > > [...] > >> 325 files changed, 846 insertions(+), 2478 deletions(-) > >> delete mode 1006

Re: [RFC PATCH 13/29] memblock: replace __alloc_bootmem_nopanic with memblock_alloc_from_nopanic

2018-09-06 Thread Mike Rapoport
On Thu, Sep 06, 2018 at 09:57:21AM +0200, Michal Hocko wrote: > On Wed 05-09-18 18:59:28, Mike Rapoport wrote: > > Signed-off-by: Mike Rapoport > > The translation is simpler here but still a word or two would be nice. > Empty changelogs suck. This is one of the thing

Re: [RFC PATCH 21/29] memblock: replace alloc_bootmem with memblock_alloc

2018-09-06 Thread Mike Rapoport
On Thu, Sep 06, 2018 at 10:55:15AM +0200, Michal Hocko wrote: > On Wed 05-09-18 18:59:36, Mike Rapoport wrote: > > The conversion is done using the following semantic patch: > > > > @@ > > expression e; > > @@ > > - __alloc_bootmem(e) > > Did you m

Re: [RFC PATCH 00/29] mm: remove bootmem allocator

2018-09-06 Thread Mike Rapoport
On Thu, Sep 06, 2018 at 10:33:48AM +0800, Greentime Hu wrote: > Mike Rapoport 於 2018年9月6日 週四 上午12:04寫道: > > > > Hi, > > > > These patches switch early memory managment to use memblock directly > > without any bootmem compatibility wrappers. As the result both boot

Re: [RFC PATCH 07/29] memblock: remove _virt from APIs returning virtual address

2018-09-06 Thread Mike Rapoport
On Thu, Sep 06, 2018 at 03:01:02PM +0200, Michal Hocko wrote: > On Thu 06-09-18 15:43:21, Mike Rapoport wrote: > > On Thu, Sep 06, 2018 at 09:28:00AM +0200, Michal Hocko wrote: > > > On Wed 05-09-18 20:20:18, Mike Rapoport wrote: > > > > On Wed, Sep 05, 2018 at 12:04

Re: [RFC PATCH 14/29] memblock: add align parameter to memblock_alloc_node()

2018-09-06 Thread Mike Rapoport
On Thu, Sep 06, 2018 at 10:06:14AM +0200, Michal Hocko wrote: > On Wed 05-09-18 18:59:29, Mike Rapoport wrote: > > With the align parameter memblock_alloc_node() can be used as drop in > > replacement for alloc_bootmem_pages_node(). > > Why do we need an additional translati

Re: [RFC PATCH 07/29] memblock: remove _virt from APIs returning virtual address

2018-09-06 Thread Mike Rapoport
On Thu, Sep 06, 2018 at 09:28:00AM +0200, Michal Hocko wrote: > On Wed 05-09-18 20:20:18, Mike Rapoport wrote: > > On Wed, Sep 05, 2018 at 12:04:36PM -0500, Rob Herring wrote: > > > On Wed, Sep 5, 2018 at 11:00 AM Mike Rapoport > > > wrote: > > > &g

Re: [RFC PATCH 16/29] memblock: replace __alloc_bootmem_node with appropriate memblock_ API

2018-09-06 Thread Mike Rapoport
On Thu, Sep 06, 2018 at 10:38:41AM +0200, Michal Hocko wrote: > On Wed 05-09-18 18:59:31, Mike Rapoport wrote: > > Use memblock_alloc_try_nid whenever goal (i.e. mininal address is > > specified) and memblock_alloc_node otherwise. > > I suspect you wanted to say

Re: [RFC PATCH 00/29] mm: remove bootmem allocator

2018-09-06 Thread Mike Rapoport
On Thu, Sep 06, 2018 at 11:15:38AM +0200, Michal Hocko wrote: > On Wed 05-09-18 18:59:15, Mike Rapoport wrote: > [...] > > 325 files changed, 846 insertions(+), 2478 deletions(-) > > delete mode 100644 include/linux/bootmem.h > > delete mode 100644 mm/bootmem.c &g

Re: [RFC PATCH 07/29] memblock: remove _virt from APIs returning virtual address

2018-09-07 Thread Mike Rapoport
On Fri, Sep 07, 2018 at 10:47:56AM +0200, Michal Hocko wrote: > On Fri 07-09-18 11:42:12, Mike Rapoport wrote: > > On Thu, Sep 06, 2018 at 03:46:27PM +0200, Michal Hocko wrote: > > > On Thu 06-09-18 16:39:58, Mike Rapoport wrote: > > > > On Thu, Sep 06, 2018 at 03:01:

Re: [RFC PATCH 07/29] memblock: remove _virt from APIs returning virtual address

2018-09-07 Thread Mike Rapoport
On Thu, Sep 06, 2018 at 03:46:27PM +0200, Michal Hocko wrote: > On Thu 06-09-18 16:39:58, Mike Rapoport wrote: > > On Thu, Sep 06, 2018 at 03:01:02PM +0200, Michal Hocko wrote: > > > On Thu 06-09-18 15:43:21, Mike Rapoport wrote: > > > > On Thu, Sep 06, 2018 at 09:28:

Re: [PATCH 00/32] docs/vm: convert to ReST format

2018-04-10 Thread Mike Rapoport
Jon, Andrew, How do you suggest to continue with this? On Sun, Apr 01, 2018 at 09:38:58AM +0300, Mike Rapoport wrote: > (added akpm) > > On Thu, Mar 29, 2018 at 03:46:07PM -0600, Jonathan Corbet wrote: > > On Wed, 21 Mar 2018 21:22:16 +0200 > > Mike Rapoport <r...@l

Re: [PATCH 00/32] docs/vm: convert to ReST format

2018-04-15 Thread Mike Rapoport
On Fri, Apr 13, 2018 at 01:55:51PM -0600, Jonathan Corbet wrote: > Sorry for the silence, I'm pedaling as fast as I can, honest... > > On Sun, 1 Apr 2018 09:38:58 +0300 > Mike Rapoport <r...@linux.vnet.ibm.com> wrote: > > > My thinking was to start wit

Re: [PATCH 00/32] docs/vm: convert to ReST format

2018-04-15 Thread Mike Rapoport
On Fri, Apr 13, 2018 at 01:21:08PM -0700, Matthew Wilcox wrote: > On Fri, Apr 13, 2018 at 01:55:51PM -0600, Jonathan Corbet wrote: > > > I believe that keeping the mm docs together will give better visibility of > > > what (little) mm documentation we have and will make the updates easier. > > >

Re: [PATCH 00/32] docs/vm: convert to ReST format

2018-04-01 Thread Mike Rapoport
(added akpm) On Thu, Mar 29, 2018 at 03:46:07PM -0600, Jonathan Corbet wrote: > On Wed, 21 Mar 2018 21:22:16 +0200 > Mike Rapoport <r...@linux.vnet.ibm.com> wrote: > > > These patches convert files in Documentation/vm to ReST format, add an > > initial index a

[PATCH 01/32] docs/vm: active_mm.txt convert to ReST format

2018-03-21 Thread Mike Rapoport
Just add a label for cross-referencing and indent the text to make it ``literal`` Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/active_mm.txt | 174 + 1 file changed, 91 insertions(+), 83 deletions(-) diff

[PATCH 04/32] docs/vm: frontswap.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/frontswap.txt | 59 ++ 1 file changed, 37 insertions(+), 22 deletions(-) diff --git a/Documentation/vm/frontswap.txt b/Documentation/vm/frontswap.txt index c71a019..1979f43

[PATCH 11/32] docs/vm: ksm.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/ksm.txt | 215 --- 1 file changed, 110 insertions(+), 105 deletions(-) diff --git a/Documentation/vm/ksm.txt b/Documentation/vm/ksm.txt index 6686bd2..87e7eef

[PATCH 14/32] docs/vm: overcommit-accounting: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/overcommit-accounting | 107 ++--- 1 file changed, 57 insertions(+), 50 deletions(-) diff --git a/Documentation/vm/overcommit-accounting b/Documentation/vm/overcommit-accounting index c

[PATCH 16/32] docs/vm: numa: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/numa | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/vm/numa b/Documentation/vm/numa index a31b85b..c81e7c5 100644 --- a/Documentation/vm/numa +++ b/Documentation/vm/numa @@ -1,6 +1,10 @@ +..

[PATCH 24/32] docs/vm: swap_numa.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/swap_numa.txt | 55 +- 1 file changed, 33 insertions(+), 22 deletions(-) diff --git a/Documentation/vm/swap_numa.txt b/Documentation/vm/swap_numa.txt index d5960c9..e0466f2

[PATCH 06/32] docs/vm: hmm.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/hmm.txt | 66 1 file changed, 28 insertions(+), 38 deletions(-) diff --git a/Documentation/vm/hmm.txt b/Documentation/vm/hmm.txt index 4d3aac9..3fafa33

[PATCH 12/32] docs/vm: mmu_notifier.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/mmu_notifier.txt | 108 -- 1 file changed, 57 insertions(+), 51 deletions(-) diff --git a/Documentation/vm/mmu_notifier.txt b/Documentation/vm/mmu_notifier.txt index 23b4625..4

[PATCH 15/32] docs/vm: page_frags convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/page_frags | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/vm/page_frags b/Documentation/vm/page_frags index a671456..637cc49 100644 --- a/Documentation/vm/page_frags

[PATCH 20/32] docs/vm: remap_file_pages.txt: conert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/remap_file_pages.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/vm/remap_file_pages.txt b/Documentation/vm/remap_file_pages.txt index f609142..7bef671 100644 --- a/Documentat

[PATCH 03/32] docs/vm: cleancache.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/cleancache.txt | 105 1 file changed, 62 insertions(+), 43 deletions(-) diff --git a/Documentation/vm/cleancache.txt b/Documentation/vm/cleancache.txt index e4b49df..6

[PATCH 19/32] docs/vm: page_owner: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/page_owner.txt | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/Documentation/vm/page_owner.txt b/Documentation/vm/page_owner.txt index 143..0ed5ab8

[PATCH 21/32] docs/vm: slub.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/slub.txt | 357 -- 1 file changed, 188 insertions(+), 169 deletions(-) diff --git a/Documentation/vm/slub.txt b/Documentation/vm/slub.txt index 8465241..3a775fd

[PATCH 23/32] docs/vm: split_page_table_lock: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/split_page_table_lock | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/vm/split_page_table_lock b/Documentation/vm/split_page_table_lock index 62842a8..889b00b

[PATCH 26/32] docs/vm: unevictable-lru.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/unevictable-lru.txt | 117 +++ 1 file changed, 49 insertions(+), 68 deletions(-) diff --git a/Documentation/vm/unevictable-lru.txt b/Documentation/vm/unevictable-lru.txt index e

[PATCH 27/32] docs/vm: userfaultfd.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/userfaultfd.txt | 66 1 file changed, 39 insertions(+), 27 deletions(-) diff --git a/Documentation/vm/userfaultfd.txt b/Documentation/vm/userfaultfd.txt index bb2f945..5

[PATCH 00/32] docs/vm: convert to ReST format

2018-03-21 Thread Mike Rapoport
changes. I've tried to keep the formatting as consistent as possible, but I could miss some places that needed markup and add some markup where it was not necessary. Mike Rapoport (32): docs/vm: active_mm.txt convert to ReST format docs/vm: balance: convert to ReST format docs/vm

[PATCH 05/32] docs/vm: highmem.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/highmem.txt | 87 ++-- 1 file changed, 36 insertions(+), 51 deletions(-) diff --git a/Documentation/vm/highmem.txt b/Documentation/vm/highmem.txt index 4324d24..0f69a9f

[PATCH 08/32] docs/vm: hugetlbfs_reserv.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/hugetlbfs_reserv.txt | 212 ++ 1 file changed, 135 insertions(+), 77 deletions(-) diff --git a/Documentation/vm/hugetlbfs_reserv.txt b/Documentation/vm/hugetlbfs_reserv.txt index 9

[PATCH 10/32] docs/vm: idle_page_tracking.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/idle_page_tracking.txt | 55 + 1 file changed, 36 insertions(+), 19 deletions(-) diff --git a/Documentation/vm/idle_page_tracking.txt b/Documentation/vm/idle_page_tracking.txt

[PATCH 13/32] docs/vm: numa_memory_policy.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/numa_memory_policy.txt | 533 +--- 1 file changed, 283 insertions(+), 250 deletions(-) diff --git a/Documentation/vm/numa_memory_policy.txt b/Documentation/vm/numa_memory_policy.txt

[PATCH 18/32] docs/vm: page_migration: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/page_migration | 149 +--- 1 file changed, 77 insertions(+), 72 deletions(-) diff --git a/Documentation/vm/page_migration b/Documentation/vm/page_migration index 0478ae2..0

[PATCH 22/32] docs/vm: soft-dirty.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/soft-dirty.txt | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/Documentation/vm/soft-dirty.txt b/Documentation/vm/soft-dirty.txt index 55684d1..cb0cfd6 100644 --- a/Documen

[PATCH 02/32] docs/vm: balance: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/balance | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Documentation/vm/balance b/Documentation/vm/balance index 9645954..6a1fadf 100644 --- a/Documentation/vm/balance

[PATCH 07/32] docs/vm: hugetlbpage.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/hugetlbpage.txt | 243 ++- 1 file changed, 139 insertions(+), 104 deletions(-) diff --git a/Documentation/vm/hugetlbpage.txt b/Documentation/vm/hugetlbpage.txt index faf077d..3

[PATCH 09/32] docs/vm: hwpoison.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/hwpoison.txt | 141 +- 1 file changed, 70 insertions(+), 71 deletions(-) diff --git a/Documentation/vm/hwpoison.txt b/Documentation/vm/hwpoison.txt index e912d7e..b1a8c24

[PATCH 17/32] docs/vm: pagemap.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/pagemap.txt | 164 +++ 1 file changed, 89 insertions(+), 75 deletions(-) diff --git a/Documentation/vm/pagemap.txt b/Documentation/vm/pagemap.txt index eafcefa..bd6d717

[PATCH 25/32] docs/vm: transhuge.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/transhuge.txt | 286 - 1 file changed, 166 insertions(+), 120 deletions(-) diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt index 4dde03b..5

[PATCH 32/32] docs/vm: add index.rst and link MM documentation to top level index

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/index.rst| 3 ++- Documentation/vm/conf.py | 10 + Documentation/vm/index.rst | 56 ++ 3 files changed, 68 insertions(+), 1 deletion(-) create mode

[PATCH 28/32] docs/vm: z3fold.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/z3fold.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/vm/z3fold.txt b/Documentation/vm/z3fold.txt index 38e4dac..224e3c6 100644 --- a/Documentation/vm/z3fold.txt

[PATCH 31/32] docs/vm: rename documentation files to .rst

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/ABI/stable/sysfs-devices-node| 2 +- .../ABI/testing/sysfs-kernel-mm-hugepages | 2 +- Documentation/ABI/testing/sysfs-kernel-mm-ksm | 2 +- Documentation/ABI/testing/sysfs-kernel-slab

[PATCH 29/32] docs/vm: zsmalloc.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/zsmalloc.txt | 60 ++- 1 file changed, 36 insertions(+), 24 deletions(-) diff --git a/Documentation/vm/zsmalloc.txt b/Documentation/vm/zsmalloc.txt index 64ed63c..6e79893

[PATCH 30/32] docs/vm: zswap.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <r...@linux.vnet.ibm.com> --- Documentation/vm/zswap.txt | 71 +++--- 1 file changed, 42 insertions(+), 29 deletions(-) diff --git a/Documentation/vm/zswap.txt b/Documentation/vm/zswap.txt index 0b3a114..1444ecd

Re: [PATCH] memblock: stop using implicit alignement to SMP_CACHE_BYTES

2018-10-05 Thread Mike Rapoport
On October 5, 2018 6:25:38 AM GMT+03:00, Benjamin Herrenschmidt wrote: >On Fri, 2018-10-05 at 00:07 +0300, Mike Rapoport wrote: >> When a memblock allocation APIs are called with align = 0, the >alignment is >> implicitly set to SMP_CACHE_BYTES. >> >> Replace

Re: linux-next: Tree for Oct 15

2018-10-16 Thread Mike Rapoport
HE_BYTES" > > > > missed some places ... > > To be expected, I guess. I'm pretty relaxed about this ;) Let's do > another sweep in a week or so, after which we'll have a couple of > months to mop up any leftovers. After some more grepping and spatching I've found the

Re: [PATCH v2 0/2] arm64: Cut rebuild time when changing CONFIG_BLK_DEV_INITRD

2018-10-25 Thread Mike Rapoport
On Thu, Oct 25, 2018 at 08:15:15AM -0500, Rob Herring wrote: > +Ard > > On Thu, Oct 25, 2018 at 4:38 AM Mike Rapoport wrote: > > > > On Wed, Oct 24, 2018 at 02:55:17PM -0500, Rob Herring wrote: > > > On Wed, Oct 24, 2018 at 2:33 PM Florian Fainelli >

Re: [PATCH v2 0/2] arm64: Cut rebuild time when changing CONFIG_BLK_DEV_INITRD

2018-10-26 Thread Mike Rapoport
On Thu, Oct 25, 2018 at 04:13:10PM -0500, Rob Herring wrote: > On Thu, Oct 25, 2018 at 12:30 PM Mike Rapoport wrote: > > > > On Thu, Oct 25, 2018 at 08:15:15AM -0500, Rob Herring wrote: > > > +Ard > > > > > > On Thu, Oct 25, 2018 at 4:38 AM Mike Rapop

Re: [PATCH v2 0/2] arm64: Cut rebuild time when changing CONFIG_BLK_DEV_INITRD

2018-10-25 Thread Mike Rapoport
On Wed, Oct 24, 2018 at 02:55:17PM -0500, Rob Herring wrote: > On Wed, Oct 24, 2018 at 2:33 PM Florian Fainelli wrote: > > > > Hi all, > > > > While investigating why ARM64 required a ton of objects to be rebuilt > > when toggling CONFIG_DEV_BLK_INITRD, it became clear that this was > > because

Re: [PATCH v2 0/2] arm64: Cut rebuild time when changing CONFIG_BLK_DEV_INITRD

2018-10-26 Thread Mike Rapoport
On Thu, Oct 25, 2018 at 04:07:13PM -0700, Florian Fainelli wrote: > On 10/25/18 2:13 PM, Rob Herring wrote: > > On Thu, Oct 25, 2018 at 12:30 PM Mike Rapoport wrote: > >> > >> On Thu, Oct 25, 2018 at 08:15:15AM -0500, Rob Herring wrote: > >>> +Ard > >

[PATCH] memblock: stop using implicit alignement to SMP_CACHE_BYTES

2018-10-04 Thread Mike Rapoport
Hocko Signed-off-by: Mike Rapoport --- arch/alpha/kernel/core_apecs.c| 3 ++- arch/alpha/kernel/core_lca.c | 3 ++- arch/alpha/kernel/core_marvel.c | 4 ++-- arch/alpha/kernel/core_mcpcia.c | 6 +++-- arch/alpha/kernel/core_t2.c | 2

Re: [PATCH] memblock: stop using implicit alignement to SMP_CACHE_BYTES

2018-10-11 Thread Mike Rapoport
On Fri, Oct 05, 2018 at 03:19:34PM -0700, Andrew Morton wrote: > On Fri, 5 Oct 2018 00:07:04 +0300 Mike Rapoport > wrote: > > > When a memblock allocation APIs are called with align = 0, the alignment is > > implicitly set to SMP_CACHE_BYTES. > > > > Repla

Re: [PATCH 03/30] mm: remove CONFIG_HAVE_MEMBLOCK

2018-09-26 Thread Mike Rapoport
On Wed, Sep 26, 2018 at 11:24:04AM +0200, Michal Hocko wrote: > On Fri 14-09-18 15:10:18, Mike Rapoport wrote: > > All architecures use memblock for early memory management. There is no need > > for the CONFIG_HAVE_MEMBLOCK configuration option. > > git grep says > ar

Re: [PATCH 14/30] memblock: add align parameter to memblock_alloc_node()

2018-09-26 Thread Mike Rapoport
On Wed, Sep 26, 2018 at 11:36:48AM +0200, Michal Hocko wrote: > On Wed 26-09-18 11:31:27, Michal Hocko wrote: > > On Fri 14-09-18 15:10:29, Mike Rapoport wrote: > > > With the align parameter memblock_alloc_node() can be used as drop in > > > replacement f

Re: [PATCH 02/30] mm: remove CONFIG_NO_BOOTMEM

2018-09-26 Thread Mike Rapoport
On Wed, Sep 26, 2018 at 11:22:39AM +0200, Michal Hocko wrote: > On Fri 14-09-18 15:10:17, Mike Rapoport wrote: > > All achitectures select NO_BOOTMEM which essentially becomes 'Y' for any > > kernel configuration and therefore it can be removed. > &

Re: [PATCH 03/30] mm: remove CONFIG_HAVE_MEMBLOCK

2018-09-26 Thread Mike Rapoport
On Wed, Sep 26, 2018 at 09:58:41AM -0700, Alexander Duyck wrote: > On Fri, Sep 14, 2018 at 5:11 AM Mike Rapoport wrote: > > > > All architecures use memblock for early memory management. There is no need > > for the CONFIG_HAVE_MEMBLOCK configuration option. > > >

Re: [PATCH 03/30] mm: remove CONFIG_HAVE_MEMBLOCK

2018-09-26 Thread Mike Rapoport
On Wed, Sep 26, 2018 at 05:34:32PM -0700, Alexander Duyck wrote: > On Wed, Sep 26, 2018 at 11:32 AM Mike Rapoport > wrote: > > > > On Wed, Sep 26, 2018 at 09:58:41AM -0700, Alexander Duyck wrote: > > > On Fri, Sep 14, 2018 at 5:11 AM Mike Rapoport > > > wro

[PATCH 03/21] memblock: replace memblock_alloc_base(ANYWHERE) with memblock_phys_alloc

2019-01-16 Thread Mike Rapoport
patch: @@ expression size, align; @@ - memblock_alloc_base(size, align, MEMBLOCK_ALLOC_ANYWHERE) + memblock_phys_alloc(size, align) Signed-off-by: Mike Rapoport --- arch/arm/mm/init.c | 2 +- arch/sh/boards/mach-ap325rxa/setup.c | 2 +- arch/sh/boards/mach-ecovec24/setup.c | 4

  1   2   3   4   5   6   7   8   9   10   >