Skip to contentSkip to conversation

ARM: oxnas support removal

PATCH Applied Neil Armstrong 1 participant 5 messages Aug 14, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v3 cover ARM: oxnas support removal

With [1] removing MPCore SMP support, this makes the OX820 barely usable, associated with a clear lack of maintainance, development and migration to dt-schema it's clear that Linux support for OX810 and OX820 should be removed.

In addition, the OX810 hasn't been booted for years and isn't even present in an ARM config file.

For the OX820, lack of USB and SATA support makes the platform not usable in the current Linux support and relies on off-tree drivers hacked from the vendor (defunct for years) sources.

The last users are in the OpenWRT distribution, and today's removal means support will still be in stable 6.1 LTS kernel until end of 2026.

If someone wants to take over the development even with lack of SMP, I'll be happy to hand off maintainance.

It has been a fun time adding support for this architecture, but it's time to get over!

I'll send the remaining patches in a final PR.

---
Changes in v3:
- Removed applied patches
- Moved net & pinctrl to a separate patchset
- Added Andy's tags
- Link to v2: https://lore.kernel.org/r/20230630-topic-oxnas-upstream-remove-v2-0-fb6ab3dea87c@linaro.org

Changes in v2:
- s/maintainance/maintenance/
- added acked/review tags
- dropped already applied patches
- drop RFC
- Link to v1: https://lore.kernel.org/r/20230331-topic-oxnas-upstream-remove-v1-0-5bd58fd1dd1f@linaro.org

---
Neil Armstrong (3):
irqchip: irq-versatile-fpga: remove obsolete oxnas compatible
dt-bindings: interrupt-controller: arm,versatile-fpga-irq: mark oxnas compatible as deprecated
MAINTAINERS: remove OXNAS entry

 .../bindings/interrupt-controller/arm,versatile-fpga-irq.txt   |  4 +++-
 MAINTAINERS                                                    | 10 ----------
 drivers/irqchip/irq-versatile-fpga.c                           |  1 -
 3 files changed, 3 insertions(+), 12 deletions(-)

---
base-commit: 21ef7b1e17d039053edaeaf41142423810572741
change-id: 20230331-topic-oxnas-upstream-remove-a62e9d96feee

Best regards,

Signature · 7 lines
Neil Armstrong <[email protected]>


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw

PATCH v3 1/3 irqchip: irq-versatile-fpga: remove obsolete oxnas compatible

Due to lack of maintenance and stall of development for a few years now, and since no new features will ever be added upstream, remove support for OX810 and OX820 IRQ controller.

---
 drivers/irqchip/irq-versatile-fpga.c | 1 -
 1 file changed, 1 deletion(-)
drivers/irqchip/irq-versatile-fpga.c +0 -1
index ba543ed9c154..5018a06060e6 100644
@@ -242,5 +242,4 @@ static int __init fpga_irq_of_init(struct device_node *node,
 }
 IRQCHIP_DECLARE(arm_fpga, "arm,versatile-fpga-irq", fpga_irq_of_init);
 IRQCHIP_DECLARE(arm_fpga_sic, "arm,versatile-sic", fpga_irq_of_init);
-IRQCHIP_DECLARE(ox810se_rps, "oxsemi,ox810se-rps-irq", fpga_irq_of_init);
 #endif
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#2 lore raw

PATCH v3 2/3 dt-bindings: interrupt-controller: arm,versatile-fpga-irq: mark oxnas compatible as deprecated

In reply to Neil Armstrong

Due to lack of maintenance and stall of development for a few years now, and since no new features will ever be added upstream, mark the OX810 and OX820 IRQ compatible as deprecated.

---
 .../bindings/interrupt-controller/arm,versatile-fpga-irq.txt          | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/interrupt-controller/arm,versatile-fpga-irq.txt +3 -1
index 2a1d16bdf834..ea939f54c5eb 100644
@@ -6,7 +6,7 @@ controllers are OR:ed together and fed to the CPU tile's IRQ input. Each
 instance can handle up to 32 interrupts.
 
 Required properties:
-- compatible: "arm,versatile-fpga-irq" or "oxsemi,ox810se-rps-irq"
+- compatible: "arm,versatile-fpga-irq"
 - interrupt-controller: Identifies the node as an interrupt controller
 - #interrupt-cells: The number of cells to define the interrupts.  Must be 1
   as the FPGA IRQ controller has no configuration options for interrupt
@@ -19,6 +19,8 @@ Required properties:
   the system till not make it possible for devices to request these
   interrupts.
 
+The "oxsemi,ox810se-rps-irq" compatible is deprecated.
+
 Example:
 
 pic: pic@14000000 {
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#3 lore raw

PATCH v3 3/3 MAINTAINERS: remove OXNAS entry

In reply to Neil Armstrong

Due to lack of maintenance and stall of development for a few years now, and since no new features will ever be added upstream, remove MAINTAINERS entry for OXNAS files.

---
 MAINTAINERS | 10 ----------
 1 file changed, 10 deletions(-)
MAINTAINERS +0 -10
index 02a3192195af..c8258178f19a 100644
@@ -2506,16 +2506,6 @@ S:	Maintained
 W:	http://www.digriz.org.uk/ts78xx/kernel
 F:	arch/arm/mach-orion5x/ts78xx-*
 
-ARM/OXNAS platform support
-M:	Neil Armstrong <[email protected]>
-L:	[email protected] (moderated for non-subscribers)
-L:	[email protected] (moderated for non-subscribers)
-S:	Maintained
-F:	arch/arm/boot/dts/ox8*.dts*
-F:	arch/arm/mach-oxnas/
-F:	drivers/power/reset/oxnas-restart.c
-N:	oxnas
-
 ARM/QUALCOMM CHROMEBOOK SUPPORT
 R:	[email protected]
 F:	arch/arm64/boot/dts/qcom/sc7180*
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author Applied
#4 lore raw
In reply to Neil Armstrong

Hi,

Quoted 8 lines · Neil Armstrong

With [1] removing MPCore SMP support, this makes the OX820 barely usable, associated with a clear lack of maintainance, development and migration to dt-schema it's clear that Linux support for OX810 and OX820 should be removed.

In addition, the OX810 hasn't been booted for years and isn't even present in an ARM config file.

[...]

Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/narmstrong/linux-oxnas.git (v6.6/final)

[1/3] irqchip: irq-versatile-fpga: remove obsolete oxnas compatible

      https://git.kernel.org/narmstrong/linux-oxnas/c/33e839adabedb3a958efe5d974e38e868f7a8584
[2/3] dt-bindings: interrupt-controller: arm,versatile-fpga-irq: mark oxnas compatible as deprecated
      https://git.kernel.org/narmstrong/linux-oxnas/c/5f784ff8376dd519bbe317174972423508b627c4
[3/3] MAINTAINERS: remove OXNAS entry
      https://git.kernel.org/narmstrong/linux-oxnas/c/b1627ad5f457c8cea08bb2ab6b24d1c0381fbe30

These changes has been applied on the intermediate git tree [1].

The v6.6/final branch will then be sent via a formal Pull Request to the Linux SoC maintainers for inclusion in their intermediate git branches in order to be sent to Linus during the next merge window, or sooner if it's a set of fixes.

In the cases of fixes, those will be merged in the current release candidate kernel and as soon they appear on the Linux master branch they will be backported to the previous Stable and Long-Stable kernels [2].

The intermediate git branches are merged daily in the linux-next tree [3], people are encouraged testing these pre-release kernels and report issues on the relevant mailing-lists.

If problems are discovered on those changes, please submit a signed-off-by revert patch followed by a corrective changeset.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/narmstrong/linux-oxnas.git
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[3] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

Signature · 7 lines
Neil


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel