Re: [PATCH] nds32: Remove the architecture

From: Arnd Bergmann
Date: Mon Mar 07 2022 - 07:59:36 EST


On Wed, Mar 2, 2022 at 8:50 AM Arnd Bergmann <arnd@xxxxxxxx> wrote:
> n Wed, Mar 2, 2022 at 8:42 AM Alan Kao <alankao@xxxxxxxxxxxxx> wrote:
>
> Applied to the asm-generic tree now, thanks for taking care of it.
>
> I'll probably amend the commit to have a more detailed changelog when
> I'm back in the office next week.

This is now the modified changelog text:

8<---
nds32: Remove the architecture

The nds32 architecture, also known as AndeStar V3, is a custom 32-bit
RISC target designed by Andes Technologies. Support was added to the
kernel in 2016 as the replacement RISC-V based V5 processors were
already announced, and maintained by (current or former) Andes
employees.

As explained by Alan Kao, new customers are now all using RISC-V,
and all known nds32 users are already on longterm stable kernels
provided by Andes, with no development work going into mainline
support any more.

While the port is still in a reasonably good shape, it only gets
worse over time without active maintainers, so it seems best
to remove it before it becomes unusable. As always, if it turns
out that there are mainline users after all, and they volunteer
to maintain the port in the future, the removal can be reverted.

Link: https://lore.kernel.org/linux-mm/YhdWNLUhk+x9RAzU@xxxxxxxxxxxxxxxxxxxxxx/
Link: https://lore.kernel.org/lkml/20220302065213.82702-1-alankao@xxxxxxxxxxxxx/
Link: https://www.andestech.com/en/products-solutions/andestar-architecture/
Signed-off-by: Alan Kao <alankao@xxxxxxxxxxxxx>
[arnd: rewrite changelog to provide more background]
Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

----->8

I also checked all removed Kconfig symbols and header files to see if any
remaining references were left behind. I found this oneline change missing,
and included it in your patch now:

diff --git a/drivers/clocksource/Makefile b/drivers/clocksource/Makefile
index fa5f624eadb6..9c85ee2bb373 100644
--- a/drivers/clocksource/Makefile
+++ b/drivers/clocksource/Makefile
@@ -81,7 +81,6 @@ obj-$(CONFIG_INGENIC_SYSOST) += ingenic-sysost.o
obj-$(CONFIG_INGENIC_TIMER) += ingenic-timer.o
obj-$(CONFIG_CLKSRC_ST_LPC) += clksrc_st_lpc.o
obj-$(CONFIG_X86_NUMACHIP) += numachip.o
-obj-$(CONFIG_ATCPIT100_TIMER) += timer-atcpit100.o
obj-$(CONFIG_RISCV_TIMER) += timer-riscv.o
obj-$(CONFIG_CLINT_TIMER) += timer-clint.o
obj-$(CONFIG_CSKY_MP_TIMER) += timer-mp-csky.o


Arnd