On Wed, Dec 22, 2021 at 1:09 AM Arnd Bergmann <arnd@xxxxxxxx> wrote: > > On Tue, Dec 21, 2021 at 5:35 PM <guoren@xxxxxxxxxx> wrote: > > > > From: Guo Ren <guoren@xxxxxxxxxxxxxxxxx> > > > > Let's follow the origin patch's spirit. > > > > The only difference between rv32_defconfig and defconfig is that > > rv32_defconfig has CONFIG_ARCH_RV32I=y. > > > > This is helpful to compare rv64-compat-rv32 v.s. rv32-linux. > > > > If the intention is to keep them in sync, maybe use a fragment for 32-bit > mode, like powerpc or mips do. > > Arnd Some people are familiar with "make rv32_defconfig". There has a 32-bit.config fragment config in arch/riscv/configs/. I've tested with: make ARCH=riscv CROSS_COMPILE=riscv32-buildroot-linux-gnu- EXTRA_CFLAGS+=-g O=../build-rv32/ defconfig 32-bit.config The above is tested Okay, do you mean we should delete rv32_defconfig? I think it's another topic, I just want them the same in "compat" patchset. -- Best Regards Guo Ren ML: https://lore.kernel.org/linux-csky/