Re: [PATCH 0/5] Small cleanup for mm/init.c and address conversion macros

From: Palmer Dabbelt
Date: Thu Aug 12 2021 - 03:18:36 EST


On Fri, 23 Jul 2021 06:01:23 PDT (-0700), alex@xxxxxxxx wrote:
The first patch allows to have only one definition of the address
conversion macros for all kernel types.

The following patches bring small cleanups to mm/init.c and the last
patch makes the size of the DTB early mapping consistent between 32-bit
and 64-bit kernels.

Alexandre Ghiti (5)
riscv: Introduce va_kernel_pa_offset for 32-bit kernel
riscv: Get rid of map_size parameter to create_kernel_page_table
riscv: Use __maybe_unused instead of #ifdefs around variable
declarations
riscv: Simplify BUILTIN_DTB device tree mapping handling
riscv: Move early fdt mapping creation in its own function

arch/riscv/include/asm/page.h | 15 +----
arch/riscv/mm/init.c | 121 +++++++++++++++-------------------
2 files changed, 54 insertions(+), 82 deletions(-)

Thanks, these are on for-next. There were some minor merge conflicts, let me know if I missed anything.