[PATCH 0/2] drm bridge: drop drm_bridge_chain_mode_fixup.

2024-05-31 Thread Sam Ravnborg via B4 Relay
I had a few bridge related patches in an old branch. They were last posted here almost one year ago: https://lore.kernel.org/dri-devel/20220717174454.46616-1-...@ravnborg.org/ The following two patches gets rid of drm_bridge_chain_mode_fixup. The patches was already rb / ab - but due to the age

[PATCH 1/2] drm/mediatek: Drop chain_mode_fixup call in mode_valid()

2024-05-31 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg The mode_valid implementation had a call to drm_bridge_chain_mode_fixup() which would be wrong as the mode_valid is not allowed to change anything - only to validate the mode. As the next bridge is often/always a connector the call had no effect anyway. So drop it. >From the

[PATCH 2/2] drm/bridge: Drop drm_bridge_chain_mode_fixup

2024-05-31 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg There are no users left of drm_bridge_chain_mode_fixup() and we do not want to have this function available, so drop it. Signed-off-by: Sam Ravnborg Reviewed-by: Maxime Ripard Reviewed-by: Laurent Pinchart Cc: Laurent Pinchart Cc: Maarten Lankhorst Cc: Maxime Ripard Cc:

[PATCH v2 14/28] sparc32: Drop unused mmu models

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Drop mmu models not used by LEON, including their header files. This includes removal of unused includes in various files to fix the build. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson ---

[PATCH v2 10/28] sparc32: Drop sun4d/sun4m smp support

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Drop the sun4m and sun4d smp support code. The sparc32 kernel will not boot unless this is a LEON system, so drop checks for other systems as they will not trigger. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas

[PATCH v2 09/28] sparc32: Drop sun4m/sun4d specific irq handling

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Some of the sun4m irq infrastructure is used by LEON too, so keep that and drop the rest. The patch include a few extra fixes fix the build after the removal of the irq support. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann

[PATCH v2 27/28] sbus: char: Drop now unused uctrl driver

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg The uctrl driver is only relevant for the Sparcbook 3 machine, and with sun4m support removed this driver is no logner relevant. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- drivers/sbus/char/Kconfig

[PATCH v2 21/28] sparc32: Drop unused prom ranges support

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Drop support for prom ranges - not used anymore. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/include/asm/oplib_32.h | 11 arch/sparc/prom/Makefile | 1 -

[PATCH v2 19/28] sparc32: Drop support for 7 register windows

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Some older SPARC CPUs had support for only 7 register windows. To support this run-time patching was used. LEON demand 8 register windows for use with Linux so there is no need to support the 7 window configuration. The complexity of the assembler code is reduced when

[PATCH v2 24/28] sparc32: Drop unused trampoline code

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Drop the sun4m and sun4d code from trampoline_32 Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/kernel/kernel.h| 3 +- arch/sparc/kernel/trampoline_32.S | 127

[PATCH v2 16/28] sparc32: Drop use of sparc_config

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg sparc_config were used to handle the differences between the machines. With only LEON supported sparc_config is no longer required. Refactor the time code a litte as some parts are obsolete and other parts are only used when SMP is not enabled. Signed-off-by: Sam Ravnborg

[PATCH v2 20/28] sparc32: Drop additional sun4d bits

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Drop sun4d specific support. Not used by LEON. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/include/asm/io-unit.h | 59 arch/sparc/include/asm/obio.h| 226

[PATCH v2 08/28] sparc32: Drop patching of interrupt vector

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Drop the sun4m specific handling and the patching that takes place in sun4d and LEON. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/kernel/entry.S | 98

[PATCH v2 23/28] sparc32: Drop sun4m irq support

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Drop all code used to support sun4m irqs. Update entry.S to call the leon_nmi function. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/kernel/Makefile | 1 - arch/sparc/kernel/entry.S

[PATCH v2 12/28] sparc32: Drop mbus support

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Only used by older SPARC HW, not used by LEON. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/include/asm/elf_32.h | 2 - arch/sparc/include/asm/mbus.h | 97

[PATCH v2 22/28] sparc32: Drop unused sbus iommu support

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg LEON do not have sbus iommu support - drop it. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/include/asm/iommu.h| 2 - arch/sparc/include/asm/iommu_32.h | 122 ---

[PATCH v2 25/28] sparc32: Drop config SPARC_LEON

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg The only supported sparc32 CPU is LEON, so there is no need for a config option to select it. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Acked-by: Greg Kroah-Hartman #For the USB stuff Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson ---

[PATCH v2 17/28] sparc32: Drop run-time cpuid patching

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg The CPU is always leon, so the run-time cpuid patching is no longer required. Signed-off-by: Sam Ravnborg Reported-by: Andreas Larsson Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/include/asm/winmacro.h | 12

[PATCH v2 00/28] sparc32: sunset sun4m and sun4d

2024-03-09 Thread Sam Ravnborg via B4 Relay
This is the second attempt to sunset sun4m and sun4d. See [1] for the inital attempt. The sun4m and sun4d parts of the kernel have seen no real interest for several years now. Last time a few people surfaced, but it was either due to a personal project or for nostalgic reasons. It is time to let

[PATCH v2 07/28] sparc32: Drop run-time patching of ipi trap

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg There is no longer any need for the run-time patching of the ipi trap with the removal of sun4m and sun4d. Remove the patching and drop the ipi implementation for the two machines. The patch includes removal of patching from pcic as this was needed to fix the build. pcic will

[PATCH v2 04/28] sparc32: Drop sun4m specific led driver

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg The led driver is only relevant for the sun4m machines. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/Kconfig | 9 --- arch/sparc/kernel/Makefile | 1 - arch/sparc/kernel/led.c

[PATCH v2 18/28] sparc32: Drop run-time patching of ASI instructions

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg With only LEON supported there is no need to run-time patch the instructions to match ASI. Move a few functions back to C with inline asm, now that run-time patching is not needed. Deleted a few functions that turns out not to be used rather than re-implement them in C.

[PATCH v2 26/28] sparc32: Drop sbus support

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg LEON do not have an sbus - so drop support for that for sparc32. Fix a few Kconfig expressions to use CONFIG_SBUS rather than SPARC as only SPARC64 has an sbus now. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas

[PATCH v2 28/28] fbdev/p9100: Drop now unused driver p9100

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg The p9100 driver is only relevant for the Sparcbook 3 machine, and with sun4m support removed this driver is no longer relevant. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Acked-by: Thomas Zimmermann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson

[PATCH v2 06/28] sparc32: Drop auxio support

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg auxio is not supported by LEON - so drop it. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/include/asm/auxio_32.h | 73 +--- arch/sparc/kernel/Makefile| 2 +-

[PATCH v2 11/28] sparc32: Drop pcic support

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg pcic is only used by MicroSPARC-IIep and not relevant for LEON. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/Kconfig| 5 - arch/sparc/include/asm/pcic.h | 130 ---

[PATCH v2 01/28] sparc32: Update defconfig to LEON SMP

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg This is a copy of the leon_smp defconfig found in gaisler-buildroot-2023.02-1.0. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/configs/sparc32_defconfig | 171

[PATCH v2 15/28] sparc32: Drop check for sparc_model

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg sparc32 is always LEON, so no need to check for the model. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/include/asm/cpu_type.h | 18 - arch/sparc/include/asm/io_32.h| 4 +-

[PATCH v2 13/28] sparc32: Drop unused function __get_{phys,iospace}

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Not used and references stuff that will be dropped later. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/include/asm/pgtable_32.h | 24

[PATCH v2 05/28] sparc32: Drop sun specific power management drivers

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Drop the two sun specific apc and pmc drivers. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/Kconfig | 7 -- arch/sparc/kernel/Makefile | 1 - arch/sparc/kernel/apc.c| 196

[PATCH v2 03/28] sparc32: Drop floppy support

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg LEON do not have floppy support so we can drop it Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/Kconfig | 2 +- arch/sparc/include/asm/floppy.h| 2 -

[PATCH v2 02/28] sparc32: Drop sun4m/sun4d support from head_32.S

2024-03-09 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Remove the most obvious parts of sun4* support from head_32.S. Use a single print if a sun4* machine is detected thus restricting boots to LEON machines. Signed-off-by: Sam Ravnborg Acked-by: Arnd Bergmann Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson ---

[PATCH 07/27] sparc32: Drop run-time patching of ipi trap

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg There is no longer any need for the run-time patching of the ipi trap with the removal of sun4m and sun4d. Remove the patching and drop the ipi implementation for the two machines. The patch includes removal of patching from pcic as this was needed to fix the build. pcic will

[PATCH 12/27] sparc32: Drop mbus support

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Only used by older SPARC HW, not used by LEON. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/include/asm/elf_32.h | 2 - arch/sparc/include/asm/mbus.h | 97 -

[PATCH 20/27] sparc32: Drop unused prom ranges support

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Drop support for prom ranges - not used anymore. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/include/asm/oplib_32.h | 11 arch/sparc/prom/Makefile | 1 - arch/sparc/prom/init_32.c | 2 -

[PATCH 14/27] sparc32: Drop unused mmu models

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Drop mmu models not used by LEON, including their header files. This includes removal of unused includes in various files to fix the build. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/include/asm/mxcc.h |

[PATCH 13/27] sparc32: Drop unused function __get_{phys,iospace}

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Not used and references stuff that will be dropped later. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/include/asm/pgtable_32.h | 24 arch/sparc/include/asm/pgtsrmmu.h | 11 ---

[PATCH 06/27] sparc32: Drop auxio support

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg auxio is not supported by LEON - so drop it. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/include/asm/auxio_32.h | 73 +--- arch/sparc/kernel/Makefile| 2 +- arch/sparc/kernel/auxio_32.c

[PATCH 24/27] sparc32: Drop config SPARC_LEON

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg The only support sparc32 CPU is LEON, so there is no need for a config option to select it. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/Kconfig | 27 +--

[PATCH 22/27] sparc32: Drop sun4m irq support

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Drop all code uses to support sun4m irqs. Update entry.S to call the leon_nmi function. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/kernel/Makefile | 1 - arch/sparc/kernel/entry.S | 29 ++---

[PATCH 04/27] sparc32: Drop sun4m specific led driver

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg The led driver is only relevant for the sun4m machines. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/Kconfig | 9 --- arch/sparc/kernel/Makefile | 1 - arch/sparc/kernel/led.c| 146

[PATCH 03/27] sparc32: Drop floppy support

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg LEON do not have floppy support so we can drop it Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/Kconfig | 2 +- arch/sparc/include/asm/floppy.h| 2 - arch/sparc/include/asm/floppy_32.h | 393

[PATCH 01/27] sparc32: Update defconfig to LEON SMP

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg This is a copy of the leon_smp defconfig found in gaisler-buildroot-2023.02-1.0. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/configs/sparc32_defconfig | 171 +++ 1 file changed, 91

[PATCH 11/27] sparc32: Drop pcic support

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg pcic is only used by MicroSPARC-IIep and not relevant for LEON. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/Kconfig| 5 - arch/sparc/include/asm/pcic.h | 130 --- arch/sparc/kernel/Makefile|

[PATCH 09/27] sparc32: Drop sun4m/sun4d specific irq handling

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Some of the sun4m irq infrastructure is used by LEON too, so keep that and drop the rest. The patch include a few extra fixes fix the build after the removal of the irq support. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson ---

[PATCH 10/27] sparc32: Drop sun4d/sun4m smp support

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Drop the sun4m and sun4d smp support code. The sparc32 kernel will not boot unless this is a LEON system, so drop checks for other systems as they will not trigger. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson ---

[PATCH 23/27] sparc32: Drop unused trampoline code

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Drop the sun4m and sun4d code from trampoline_32 Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/kernel/kernel.h| 3 +- arch/sparc/kernel/trampoline_32.S | 127 +- 2

[PATCH 27/27] fbdev/p9100: Drop now unused driver p9100

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg The p9100 driver is only relevant for the Sparcbook 3 machine, and with sun4m support removed this driver is no longer relevant. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson Cc: Helge Deller --- drivers/video/fbdev/Kconfig |

[PATCH 17/27] sparc32: Drop run-time patching of ASI instructions

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg With only LEON supported there is no need to run-time patch the instructions to match ASI. Move a few functions back to C with inline asm, now that run-time patching is not needed. Deleted a few functions that turns out not to be used rather than re-implement them in C.

[PATCH 00/27] sparc32: sunset sun4m and sun4d

2023-12-19 Thread Sam Ravnborg via B4 Relay
This is the second attempt to sunset sun4m and sun4d. See [1] for the inital attempt. The sun4m and sun4d parts of the kernel have seen no real interest for several years now. Last time a few people surfaced, but it was either due to a personal project or for nostalgic reasons. It is time to let

[PATCH 21/27] sparc32: Drop unused iommu support

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg LEON do not have any iommu support - drop it. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/include/asm/iommu.h| 2 - arch/sparc/include/asm/iommu_32.h | 122 --- arch/sparc/kernel/ioport.c|

[PATCH 15/27] sparc32: Drop check for sparc_model

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg sparc32 is always LEON, so no need to check for the model. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/include/asm/cpu_type.h | 18 - arch/sparc/include/asm/io_32.h| 4 +-

[PATCH 18/27] sparc32: Drop support for 7 register windows

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Some older SPARC CPUs had support for only 7 register windows. To support this run-time patching was used. LEON demand 8 register windows for use with Linux so there is no need to support the 7 window configuration. The complexity of the assembler code is reduced when

[PATCH 05/27] sparc32: Drop sun specific power management drivers

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Drop the two sun specific apc and pmc drivers. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/Kconfig | 7 -- arch/sparc/kernel/Makefile | 1 - arch/sparc/kernel/apc.c| 196

[PATCH 25/27] sparc32: Drop sbus support

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg LEON do not have an sbus - so drop support for that for sparc32. Fix a few Kconfig expressions to use CONFIG_SBUS rather than SPARC as only SPARC64 has an sbus now. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson ---

[PATCH 26/27] sbus: char: Drop now unused uctrl driver

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg The uctrl driver is only relevant for the Sparcbook 3 machine, and with sun4m support removed this driver is no logner relevant. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- drivers/sbus/char/Kconfig | 8 -

[PATCH 19/27] sparc32: Drop additional sun4d bits

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Drop sun4d specific support. Not used by LEON. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/include/asm/io-unit.h | 59 arch/sparc/include/asm/obio.h| 226 ---

[PATCH 16/27] sparc32: Drop use of sparc_config

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg sparc_config were used to handle the differences between the machines. With only LEON supported sparc_config is no longer required. Refactor the time code a litte as some parts are obsolete and other parts are only used when SMP is not enabled. Signed-off-by: Sam Ravnborg

[PATCH 08/27] sparc32: Drop patching of interrupt vector

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Drop the sun4m specific handling and the patching that takes place in sun4d and LEON. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson --- arch/sparc/kernel/entry.S | 98 -

[PATCH 02/27] sparc32: Drop sun4m/sun4d support from head_32.S

2023-12-19 Thread Sam Ravnborg via B4 Relay
From: Sam Ravnborg Remove the most obvious parts of sun4* support from head_32.S. Use a single print if a sun4* machine is detected thus restricting boots to LEON machines. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" Cc: Arnd Bergmann Cc: Andreas Larsson ---