[PATCH v3 0/4] initrd: Use unified initrd reserve function in ARM/RISCV
Palmer Dabbelt
palmerdabbelt at google.com
Thu Jan 21 22:54:35 EST 2021
On Thu, 14 Jan 2021 21:46:02 PST (-0800), wangkefeng.wang at huawei.com wrote:
> Use the same implementation of initrd reserve to avoid duplication.
>
> v3:
> - split into four patches, suggested-by Palmer Dabbelt
> v2:
> - fix build error found by kernel test robot
>
> Kefeng Wang (4):
> initrd: Add the preprocessor guard in initrd.h
> initramfs: Provide a common initrd reserve function
> ARM: Covert to reserve_initrd_mem()
> riscv: Covert to reserve_initrd_mem()
>
> arch/arm/mm/init.c | 43 +--------------------------------
> arch/riscv/mm/init.c | 54 +-----------------------------------------
> include/linux/initrd.h | 11 +++++++++
> init/initramfs.c | 45 +++++++++++++++++++++++++++++++++++
> 4 files changed, 58 insertions(+), 95 deletions(-)
Thanks. I have a shared tag with the first two on top of 5.11-rc2 (the start of
my for-next), which I just merged into the riscv/for-next.
git://git.kernel.org/pub/scm/linux/kernel/git/palmer/linux.git -b shared-lib-reserve_initrd_mem
I'm happy to take the ARM patch if that's easier on your end, but for now I'm
dropping it.
More information about the linux-arm-kernel
mailing list