APPLIED/Cmmt: [SRU][K][PATCH 0/7] Align more RISC-V config with other archs

Dimitri John Ledkov dimitri.ledkov at canonical.com
Thu Jul 14 14:46:18 UTC 2022


Heya,

This applied, but see comments below.

On Tue, 12 Jul 2022 at 17:09, Emil Renner Berthing
<emil.renner.berthing at canonical.com> wrote:
>
> @Dimitri All of these options except CONFIG_KEXEC_FILE were annotated in the
>          old linux-riscv tree, so let me know if you remember if there is a
>          reason these should be different on RISC-V.
>
> Emil Renner Berthing (7):
>   UBUNTU: [Config] Enable CONFIG_EFIVAR_FS on riscv64

Agree, originally when we started riscv there was no EFI boot (neither
u-boot, nor edk2 one). Now that we do have and use uboot efi by
default pretty much this should be built in now.

>   UBUNTU: [Config] Enable CONFIG_SUNRPC_DISABLE_INSECURE_ENCTYPES on
>     riscv64
>   UBUNTU: [Config] Enable CONFIG_STRICT_DEVMEM on riscv64
>   UBUNTU: [Config] Enable CONFIG_VMAP_STACK on riscv64

I think in the past that would cause sifive boards or VMs fail at
runtime. But all of that should have been fixed up upstream by now.
And we will quickly find out if it is broken.

>   UBUNTU: [Config] Enable CONFIG_KEXEC_FILE on riscv64

Also, since this is now available on s390x, we should also enable it
on s390x. As signed kernels are supported there too. Will enable it on
s390x.

>   UBUNTU: [Config] Set CONFIG_MTD_PSTORE=m on riscv64
>   UBUNTU: [Config] Set CONFIG_KFENCE_SAMPLE_INTERVAL=0 on riscv64
>

-- 
okurrr,

Dimitri



More information about the kernel-team mailing list