[SRU][K/Unstable][PATCH 0/1] Disable CONFIG_CONFIG on RISC-V

Emil Renner Berthing emil.renner.berthing at canonical.com
Tue Jun 28 08:00:14 UTC 2022


[Impact]

 * The 5.19 kernel adds RISC-V support for running 32bit binaries on
   64bit systems, but only with hardware support.
   So far no chips have been released that support it and it's not even
   implemented in upstream Qemu. Also neither Ubuntu nor any other
   mainstream Linux distro ships 32bit binaries, so this enables a
   bunch of code that will most likely never be used.

[Test Plan]

 * Setting CONFIG_COMPAT=n just disables a feature that was added in
   5.19, so should have no impact on userspace compared to earlier
   kernels.

[Where problems could occur]

 * This was implemented by T-Head (Alibaba) so will most likely be
   supported by one of their future designs. If it turns out to be
   useful on these cores we can always enable it later.

Emil Renner Berthing (1):
  UBUNTU: [Config] Disable CONFIG_COMPAT on RISC-V

 debian.master/config/amd64/config.common.amd64     | 1 +
 debian.master/config/annotations                   | 6 +++---
 debian.master/config/arm64/config.common.arm64     | 1 +
 debian.master/config/config.common.ubuntu          | 1 -
 debian.master/config/ppc64el/config.common.ppc64el | 1 +
 debian.master/config/riscv64/config.common.riscv64 | 2 +-
 debian.master/config/s390x/config.common.s390x     | 1 +
 7 files changed, 8 insertions(+), 5 deletions(-)

-- 
2.36.1




More information about the kernel-team mailing list