On 10/26/26 11:01, Sascha Hauer wrote:
Hi Clement,

On 2026-10-23 22:05, clement.leger wrote:
From: Clément Léger <[email protected]>

The barebox kvx port was upstreamed in the hope it was the first one
of a long series of other contributions (GCC, Linux, etc).
Unfortunately, the kvx architecture remained closed and there was no
public specification nor upstreamed compiler. Additionally, there are
no users outside of the company itself and there is not possible to
obtain a board with such SoC. Latest modifications of the architecture
also made it non compatible with this architecture.

As discussed during LPC, there is no point in keeping this
architecture since it is unmaintained and slows down the effort to get
Rust support on barebox. Remove the whole architecture support and
drivers as well.

That's really a pity. I was quite happy to have such an early barebox
support for a new architecture. Given what you say here it makes sense
to drop that support, so I'll apply this being sad about it.

Hi Sascha,

Indeed, that's a pity. I guess the developer will to upstream an entire architecture support is not sufficient to make it a reality.

Clément


Anyway, thanks for your contributions so far.

Sascha


Clément Léger (5):
   drivers: soc: remove KVX support
   drivers: clocksource: remove KVX timer
   drivers: nvmem: remove KVX OTP support
   drivers: watchdog: remove KVX watchdog
   arch: kvx: remove support

  .github/workflows/build-defconfigs.yml |    2 +-
  Documentation/boards/kvx.rst           |   98 -
  Documentation/gen_magicvars.py         |   19 -
  Documentation/user/barebox.rst         |    1 -
  arch/kvx/Kbuild                        |    5 -
  arch/kvx/Kconfig                       |   67 -
  arch/kvx/Kconfig.debug                 |    2 -
  arch/kvx/Makefile                      |   36 -
  arch/kvx/configs/generic_defconfig     |   14 -
  arch/kvx/cpu/Makefile                  |    7 -
  arch/kvx/cpu/barebox.lds.S             |   88 -
  arch/kvx/cpu/cpu.c                     |   32 -
  arch/kvx/cpu/exception.S               |   35 -
  arch/kvx/cpu/reset.c                   |   68 -
  arch/kvx/cpu/start.S                   |  198 -
  arch/kvx/dts/Makefile                  |    7 -
  arch/kvx/dts/k200.dts                  |  111 -
  arch/kvx/include/asm/barebox.lds.h     |    6 -
  arch/kvx/include/asm/barrier.h         |   20 -
  arch/kvx/include/asm/bitops.h          |   27 -
  arch/kvx/include/asm/bitsperlong.h     |   12 -
  arch/kvx/include/asm/byteorder.h       |   12 -
  arch/kvx/include/asm/cache.h           |   34 -
  arch/kvx/include/asm/common.h          |   28 -
  arch/kvx/include/asm/dma.h             |   30 -
  arch/kvx/include/asm/elf.h             |   21 -
  arch/kvx/include/asm/ftu.h             |   24 -
  arch/kvx/include/asm/io.h              |   14 -
  arch/kvx/include/asm/linkage.h         |   10 -
  arch/kvx/include/asm/mmu.h             |    8 -
  arch/kvx/include/asm/posix_types.h     |   12 -
  arch/kvx/include/asm/privilege.h       |  244 --
  arch/kvx/include/asm/sections.h        |   12 -
  arch/kvx/include/asm/setjmp.h          |   17 -
  arch/kvx/include/asm/sfr.h             |   51 -
  arch/kvx/include/asm/sfr_defs.h        |   17 -
  arch/kvx/include/asm/string.h          |   14 -
  arch/kvx/include/asm/swab.h            |   14 -
  arch/kvx/include/asm/sys_arch.h        |   49 -
  arch/kvx/include/asm/types.h           |   14 -
  arch/kvx/include/asm/unaligned.h       |   17 -
  arch/kvx/include/asm/v1/sfr_defs.h     | 5027 ----------------------
  arch/kvx/include/asm/v2/sfr_defs.h     | 5389 ------------------------
  arch/kvx/include/asm/word-at-a-time.h  |    2 -
  arch/kvx/lib/Makefile                  |    6 -
  arch/kvx/lib/asm-offsets.c             |   11 -
  arch/kvx/lib/board.c                   |  159 -
  arch/kvx/lib/bootm.c                   |  172 -
  arch/kvx/lib/cache.c                   |   25 -
  arch/kvx/lib/cpuinfo.c                 |   20 -
  arch/kvx/lib/dma-default.c             |   61 -
  arch/kvx/lib/dtb.c                     |   14 -
  arch/kvx/lib/poweroff.c                |   56 -
  arch/kvx/lib/setjmp.S                  |   85 -
  arch/kvx/um/Makefile                   |    4 -
  drivers/clocksource/Kconfig            |    4 -
  drivers/clocksource/Makefile           |    1 -
  drivers/clocksource/kvx_timer.c        |   60 -
  drivers/nvmem/Kconfig                  |    7 -
  drivers/nvmem/Makefile                 |    3 -
  drivers/nvmem/kvx-otp-nv.c             |   95 -
  drivers/of/Kconfig                     |    2 +-
  drivers/soc/Kconfig                    |    1 -
  drivers/soc/Makefile                   |    1 -
  drivers/soc/kvx/Kconfig                |   10 -
  drivers/soc/kvx/Makefile               |    1 -
  drivers/soc/kvx/kvx_socinfo.c          |  178 -
  drivers/watchdog/Kconfig               |   17 -
  drivers/watchdog/Makefile              |    1 -
  drivers/watchdog/kvx_wdt.c             |  109 -
  test/Containerfile                     |    7 -
  test/kvx/generic_defconfig.yaml        |   17 -
  72 files changed, 2 insertions(+), 13040 deletions(-)
  delete mode 100644 Documentation/boards/kvx.rst
  delete mode 100644 arch/kvx/Kbuild
  delete mode 100644 arch/kvx/Kconfig
  delete mode 100644 arch/kvx/Kconfig.debug
  delete mode 100644 arch/kvx/Makefile
  delete mode 100644 arch/kvx/configs/generic_defconfig
  delete mode 100644 arch/kvx/cpu/Makefile
  delete mode 100644 arch/kvx/cpu/barebox.lds.S
  delete mode 100644 arch/kvx/cpu/cpu.c
  delete mode 100644 arch/kvx/cpu/exception.S
  delete mode 100644 arch/kvx/cpu/reset.c
  delete mode 100644 arch/kvx/cpu/start.S
  delete mode 100644 arch/kvx/dts/Makefile
  delete mode 100644 arch/kvx/dts/k200.dts
  delete mode 100644 arch/kvx/include/asm/barebox.lds.h
  delete mode 100644 arch/kvx/include/asm/barrier.h
  delete mode 100644 arch/kvx/include/asm/bitops.h
  delete mode 100644 arch/kvx/include/asm/bitsperlong.h
  delete mode 100644 arch/kvx/include/asm/byteorder.h
  delete mode 100644 arch/kvx/include/asm/cache.h
  delete mode 100644 arch/kvx/include/asm/common.h
  delete mode 100644 arch/kvx/include/asm/dma.h
  delete mode 100644 arch/kvx/include/asm/elf.h
  delete mode 100644 arch/kvx/include/asm/ftu.h
  delete mode 100644 arch/kvx/include/asm/io.h
  delete mode 100644 arch/kvx/include/asm/linkage.h
  delete mode 100644 arch/kvx/include/asm/mmu.h
  delete mode 100644 arch/kvx/include/asm/posix_types.h
  delete mode 100644 arch/kvx/include/asm/privilege.h
  delete mode 100644 arch/kvx/include/asm/sections.h
  delete mode 100644 arch/kvx/include/asm/setjmp.h
  delete mode 100644 arch/kvx/include/asm/sfr.h
  delete mode 100644 arch/kvx/include/asm/sfr_defs.h
  delete mode 100644 arch/kvx/include/asm/string.h
  delete mode 100644 arch/kvx/include/asm/swab.h
  delete mode 100644 arch/kvx/include/asm/sys_arch.h
  delete mode 100644 arch/kvx/include/asm/types.h
  delete mode 100644 arch/kvx/include/asm/unaligned.h
  delete mode 100644 arch/kvx/include/asm/v1/sfr_defs.h
  delete mode 100644 arch/kvx/include/asm/v2/sfr_defs.h
  delete mode 100644 arch/kvx/include/asm/word-at-a-time.h
  delete mode 100644 arch/kvx/lib/Makefile
  delete mode 100644 arch/kvx/lib/asm-offsets.c
  delete mode 100644 arch/kvx/lib/board.c
  delete mode 100644 arch/kvx/lib/bootm.c
  delete mode 100644 arch/kvx/lib/cache.c
  delete mode 100644 arch/kvx/lib/cpuinfo.c
  delete mode 100644 arch/kvx/lib/dma-default.c
  delete mode 100644 arch/kvx/lib/dtb.c
  delete mode 100644 arch/kvx/lib/poweroff.c
  delete mode 100644 arch/kvx/lib/setjmp.S
  delete mode 100644 arch/kvx/um/Makefile
  delete mode 100644 drivers/clocksource/kvx_timer.c
  delete mode 100644 drivers/nvmem/kvx-otp-nv.c
  delete mode 100644 drivers/soc/kvx/Kconfig
  delete mode 100644 drivers/soc/kvx/Makefile
  delete mode 100644 drivers/soc/kvx/kvx_socinfo.c
  delete mode 100644 drivers/watchdog/kvx_wdt.c
  delete mode 100644 test/kvx/generic_defconfig.yaml

--
2.55.0




Reply via email to