Skip to content

DT: consolidate bootmem support

Rob Herring linux-devicetree linux-metag linux-mips lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7of/fdt: use memblock_virt_alloc for early allocdrivers/of/fdt.c drivers/of/unittest.c include/linux/of_fdt.h+12 -160 replies
2/7cris: remove arch specific early DT functionsarch/cris/kernel/Makefile arch/cris/kernel/devicetree.c+0 -340 replies
3/7metag: remove arch specific early DT functionsarch/metag/kernel/devtree.c+0 -140 replies
4/7mips: remove arch specific early_init_dt_alloc_memory_archarch/mips/kernel/prom.c+0 -50 replies
5/7nios2: remove arch specific early_init_dt_alloc_memory_archarch/nios2/kernel/prom.c+0 -51 reply
6/7x86: remove arch specific early_init_dt_alloc_memory_archarch/x86/kernel/devicetree.c+0 -60 replies
7/7xtensa: remove arch specific early DT functionsarch/xtensa/kernel/setup.c+0 -121 reply

Reviews trailers per patch

2 of 7 patches have a Reviewed-by or Acked-by.

PatchMax FilippovTobias Klauser
1/7
2/7
3/7
4/7
5/7R-b
6/7
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] DT: consolidate bootmem support

This series adds support for bootmem to the DT core code and removes the remaining arch specific early_init_dt_alloc_memory_arch implementations.

Compile tested only on arm64, mips, x86, and xtensa.

Rob

Rob Herring (7):
of/fdt: use memblock_virt_alloc for early alloc
cris: remove arch specific early DT functions
metag: remove arch specific early DT functions
mips: remove arch specific early_init_dt_alloc_memory_arch
nios2: remove arch specific early_init_dt_alloc_memory_arch
x86: remove arch specific early_init_dt_alloc_memory_arch
xtensa: remove arch specific early DT functions

 arch/cris/kernel/Makefile     | 19 -------------------
 arch/cris/kernel/devicetree.c | 15 ---------------
 arch/metag/kernel/devtree.c   | 14 --------------
 arch/mips/kernel/prom.c       |  5 -----
 arch/nios2/kernel/prom.c      |  5 -----
 arch/x86/kernel/devicetree.c  |  6 ------
 arch/xtensa/kernel/setup.c    | 12 ------------
 drivers/of/fdt.c              | 16 ++++------------
 drivers/of/unittest.c         | 11 ++++++++---
 include/linux/of_fdt.h        |  1 -
 10 files changed, 12 insertions(+), 92 deletions(-)
 delete mode 100644 arch/cris/kernel/devicetree.c

--
2.14.1