All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clement Leger <clement.leger@linux.dev>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@barebox.org>
Subject: Re: [PATCH 0/5] kvx: remove architecture support
Date: Mon, 26 Oct 2026 16:28:26 +0100	[thread overview]
Message-ID: <3d00a652-20f2-4b62-8c30-0ce61f8cdefb@linux.dev> (raw)
In-Reply-To: <e96c0979-ba2d-4c32-abc4-58cfefe1aff1@pengutronix.de>



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 <clement.leger@linux.dev>
>>
>> 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	other threads:[~2026-10-26 15:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-23 20:05 [PATCH 0/5] kvx: remove architecture support clement.leger
2026-10-23 20:05 ` [PATCH 1/5] drivers: soc: remove KVX support clement.leger
2026-10-23 20:05 ` [PATCH 2/5] drivers: clocksource: remove KVX timer clement.leger
2026-10-23 20:05 ` [PATCH 3/5] drivers: nvmem: remove KVX OTP support clement.leger
2026-10-23 20:05 ` [PATCH 4/5] drivers: watchdog: remove KVX watchdog clement.leger
2026-10-26 10:01 ` [PATCH 0/5] kvx: remove architecture support Sascha Hauer
2026-10-26 15:28   ` Clement Leger [this message]
2026-10-26 10:01 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3d00a652-20f2-4b62-8c30-0ce61f8cdefb@linux.dev \
    --to=clement.leger@linux.dev \
    --cc=a.fatoum@barebox.org \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.