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
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
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:
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
---
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
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
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
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 -
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
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
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
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
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
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
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
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 ---
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
---
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
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
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
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
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.
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
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
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 +-
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 ---
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
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 +-
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
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
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 -
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
---
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
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 -
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 -
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 |
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 ---
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
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 +--
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 ++---
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
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
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
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|
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
---
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
---
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
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 |
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.
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
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|
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 +-
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
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
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
---
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 -
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 ---
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
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 -
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
---
60 matches
Mail list logo