Re: [PATCH] m68k: Enable memtest kernel parameter

From: Finn Thain
Date: Thu Nov 11 2021 - 01:21:28 EST


On Wed, 10 Nov 2021, Randy Dunlap wrote:

> On 11/10/21 5:10 PM, Finn Thain wrote:
> > Enable the memtest feature and rearrange some code to prevent it from
> > clobbering the initrd.
> >
> > The CONFIG_BLK_DEV_INITRD symbol was conditional on !defined(CONFIG_SUN3).
> > For simplicity, remove that test on the basis that m68k_ramdisk.size == 0
> > on Sun 3.
> >
> > The SLIME source code athttp://sammy.net/ shows that no BI_RAMDISK entry
> > is ever passed to the kernel due to #ifdef 0 around the relevant code.
> >
> > Cc: Mike Rapoport<rppt@xxxxxxxxxx>
> > Cc: Sam Creasey<sammy@xxxxxxxxx>
> > Signed-off-by: Finn Thain<fthain@xxxxxxxxxxxxxx>
> > ---
> > Are there any other Linux bootloaders on Sun 3?
> > ---
> > arch/m68k/Kconfig | 1 +
> > arch/m68k/kernel/setup_mm.c | 15 ++++++---------
> > arch/m68k/mm/motorola.c | 2 ++
> > 3 files changed, 9 insertions(+), 9 deletions(-)
>
> Hi Finn,
>
> Please also update Documentation/admin-guide/kernel-parameters.txt:
>
> memtest= [KNL,X86,ARM,PPC,RISCV] Enable memtest
>
> to include "M68K".
>
> thanks.
>

Will do.

Thanks for your review.