Hi Arnd.
I remember I stared at this code before, good to see it gone.
There is a bit more tidiying up you can do.
Also, I suggest to split it in two patches, it itches me to see the
driver specific part mixed up with the fb_notify removal.
Sam
On Wed, Jun 25, 2025 at 03:12:22PM +0200,
RM_FBDEV_DMA_DRIVER_OPS macro (Sam)
> v2:
> - use drm_client_setup_with_fourcc()
>
> Signed-off-by: Thomas Zimmermann
> Cc: Sam Ravnborg
> Cc: Boris Brezillon
> Cc: Nicolas Ferre
> Cc: Alexandre Belloni
> Cc: Claudiu Beznea
Acked-by: Sam Ravnborg
t;
> v2:
> - use drm_client_setup_with_fourcc()
>
> Signed-off-by: Thomas Zimmermann
> Cc: Sam Ravnborg
> Cc: Boris Brezillon
> Cc: Nicolas Ferre
> Cc: Alexandre Belloni
> Cc: Claudiu Beznea
Hi Thomas.
> ---
> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 4 +++-
> 1 file chan
Hi Robert,
On Tue, Jul 30, 2024 at 01:35:36PM +0200, Robert Foss wrote:
> On Mon, Jul 1, 2024 at 8:20 PM Dmitry Baryshkov
> wrote:
> >
> > There are no in-kernel DTs that use Lontium LT9611UXC bridge and still
> > require creation of the drm_connector by the bridge on attachment.
> > Drop support
Hi Manikandan and Dharma.
On Thu, Jun 20, 2024 at 03:28:56PM +0530, Manikandan Muralidharan wrote:
> Drop Sam Ravnborg and Boris Brezillon as they are no longer interested in
> maintaining the drivers. Add myself and Dharma Balasubiramani as the
> Maintainer and co-maintainer for Mi
Hi Thomas,
On Wed, Jun 12, 2024 at 09:26:11AM +0200, Thomas Zimmermann wrote:
> Hi Sam,
>
> long time no see.
Had some spare time between jobs, started on my new job last week.
Time will tell if there will be energy and time for hobby stuff.
> >
> > On top of this - many users of the power sta
Hi Thomas.
On Tue, Jun 11, 2024 at 02:41:56PM +0200, Thomas Zimmermann wrote:
> Duplicate FB_BLANK_ constants as BL_CORE_ constants in the backlight
> header file. Allows backlight drivers to avoid including the fbdev
> header file and removes a compile-time dependency between the two
> subsystems
Hi Robert,
On Mon, Jun 10, 2024 at 02:53:09PM +0200, Robert Foss wrote:
> On Fri, 31 May 2024 22:37:44 +0200, Sam Ravnborg wrote:
> > I had a few bridge related patches in an old branch.
> >
> > They were last posted here almost one year ago:
> > https:
Hi Cristian.
On Tue, Jun 04, 2024 at 10:32:04PM +0300, Cristian Ciocaltea wrote:
> Hi Sam,
>
> On 6/1/24 5:32 PM, Sam Ravnborg wrote:
> > Hi Cristian,
> >
> > a few drive-by comments below.
> >
> > Sam
> >
> >
&
Hi Neil,
On Mon, Jun 03, 2024 at 10:46:16AM +0200, Neil Armstrong wrote:
> Hi,
>
> On Thu, 30 May 2024 23:14:02 +0200, Sam Ravnborg wrote:
> > Drop myself as reviewer of panel patches, to reflect the reality.
> >
> >
>
> Thanks, Applied to https://gitlab.fr
Hi Cristian,
a few drive-by comments below.
Sam
> +
> +static const struct drm_connector_funcs dw_hdmi_qp_connector_funcs = {
> + .fill_modes = drm_helper_probe_single_connector_modes,
> + .detect = dw_hdmi_connector_detect,
> + .destroy = drm_connector_cleanup,
> + .for
a repost is
due before applying the patches.
Sam
---
Sam Ravnborg (2):
drm/mediatek: Drop chain_mode_fixup call in mode_valid()
drm/bridge: Drop drm_bridge_chain_mode_fixup
drivers/gpu/drm/drm_bridge.c| 37 -
drivers/gpu/drm
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
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
Hi Jayesh,
> > +
> > static const struct drm_bridge_funcs sii902x_bridge_funcs = {
> > .attach = sii902x_bridge_attach,
> > .mode_set = sii902x_bridge_mode_set,
> > @@ -516,6 +529,7 @@ static const struct drm_bridge_funcs
> > sii902x_bridge_funcs = {
> > .atomic_destroy_state = drm_
Drop myself as reviewer of panel patches, to reflect the reality.
Signed-off-by: Sam Ravnborg
Cc: Neil Armstrong
---
MAINTAINERS | 1 -
1 file changed, 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index ac285040578e..38978699bef5 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7567,7
Hi Jayesh,
On Fri, May 24, 2024 at 01:03:04PM +0530, Jayesh Choudhary wrote:
> Currently, mode_valid hook returns all mode as valid and it is
> defined only in drm_connector_helper_funcs. With the introduction of
> 'DRM_BRIDGE_ATTACH_NO_CONNECTOR', connector is not initialized in
> bridge_attach c
Hi Jani,
On Thu, May 23, 2024 at 06:51:09PM +0300, Jani Nikula wrote:
> With the -Wformat-truncation warnings fixed, finish the job started in
> commit a61ddb4393ad ("drm: enable (most) W=1 warnings by default across
> the subsystem"), and enable that warning too.
>
> Signed-off-by: Jani Nikula
Hi Arnd,
>
> I think if you want to do a new version, that is likely to run
> into new problems, given that this part of fbdev is particularly
> fragile and partly wrong. On the other hand, it would be nice to
> have a patch to limit the use of the notifiers to the smallest
> set of kernel config
Hi Douglas.
On Fri, Apr 26, 2024 at 04:58:37PM -0700, Douglas Anderson wrote:
> The current mipi_dsi_*_write_seq() macros are non-intutitive because
> they contain a hidden "return" statement that will return out of the
> _caller_ of the macro. Let's mark them as deprecated and instead
> introduce
On Sat, Apr 27, 2024 at 04:44:33AM +0300, Dmitry Baryshkov wrote:
> On Sat, 27 Apr 2024 at 02:59, Douglas Anderson wrote:
> >
> > The mipi_dsi_dcs_write_seq() macro makes a call to
> > mipi_dsi_dcs_write_buffer() which returns a type ssize_t. The macro
> > then stores it in an int and checks to se
Hi Andreas.
On Fri, Apr 26, 2024 at 06:31:12PM +0200, Andreas Larsson wrote:
> On 2024-04-23 20:02, Sam Ravnborg wrote:
> > Please let me know if you expect me to rebase this on for-next.
> > I have not yet tried if there are merge conflicts but can take a look in
> > a
Hi Andreas,
On Sat, Mar 09, 2024 at 07:15:21PM +0100, Sam Ravnborg via B4 Relay wrote:
> 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 ti
On Mon, Apr 08, 2024 at 08:04:21PM +0300, Ville Syrjala wrote:
> From: Ville Syrjälä
>
> Allow atmel-hlcdc to be built with COMPILE_TEST=y for greater
> coverage. Builds fine on x86/x86_64 at least.
>
> Cc: Sam Ravnborg
> Cc: Boris Brezillon
> Signed-off-by: Vill
olnar
> Cc: Borislav Petkov
> Cc: Dave Hansen
> Cc: x...@kernel.org
> Cc: "H. Peter Anvin"
Reviewed-by: Sam Ravnborg
igned-off-by: Thomas Zimmermann
> Cc: "James E.J. Bottomley"
> Cc: Helge Deller
> Cc: "David S. Miller"
> Cc: Andreas Larsson
> Cc: Thomas Gleixner
> Cc: Ingo Molnar
> Cc: Borislav Petkov
> Cc: Dave Hansen
> Cc: x...@kernel.org
> Cc: "H. Peter Anvin"
Reviewed-by: Sam Ravnborg
> Cc: Yoshinori Sato
> Cc: Rich Felker
> Cc: John Paul Adrian Glaubitz
> Cc: "David S. Miller"
> Cc: Andreas Larsson
> Cc: Thomas Gleixner
> Cc: Ingo Molnar
> Cc: Borislav Petkov
> Cc: Dave Hansen
> Cc: x...@kernel.org
> Cc: "H. Peter Anvin"
Hi all.
> + error: arch/sparc/kernel/process_32.o: relocation truncated to fit:
> R_SPARC_WDISP22 against `.text': => (.fixup+0xc), (.fixup+0x4)
> + error: arch/sparc/kernel/signal_32.o: relocation truncated to fit:
> R_SPARC_WDISP22 against `.text': => (.fixup+0x18), (.fixup+0x8),
> (.fi
339-676e-5bb0f4fae...@draconx.ca/
> Signed-off-by: Thomas Zimmermann
> Fixes: 8813e86f6d82 ("fbdev: Remove default file-I/O implementations")
> Cc: Thomas Zimmermann
> Cc: Javier Martinez Canillas
> Cc: Daniel Vetter
> Cc: Helge Deller
> Cc: Sam Ravnborg
> Cc: Arn
On Thu, Mar 14, 2024 at 09:16:15AM +0100, Thomas Zimmermann wrote:
> Hi
>
> Am 13.03.24 um 19:00 schrieb Sam Ravnborg:
> > Hi Thomas,
> >
> > On Wed, Mar 13, 2024 at 04:45:02PM +0100, Thomas Zimmermann wrote:
> > > The backlight is on for fb_blank eq FB_BLANK
On Wed, Mar 13, 2024 at 04:45:01PM +0100, Thomas Zimmermann wrote:
> The callback set_power in struct omap_backlight_config is not
> implemented anywhere. Remove it from the structure and driver.
>
> Signed-off-by: Thomas Zimmermann
Reviewed-by: Sam Ravnborg
> ---
> drive
> Cc: Robin van der Gracht
> Cc: Miguel Ojeda
Reviewed-by: Sam Ravnborg
> ---
> drivers/auxdisplay/ht16k33.c | 7 +--
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/drivers/auxdisplay/ht16k33.c b/drivers/auxdisplay/ht16k33.c
> index a90430b7d07ba..83d
Hi Thomas,
On Wed, Mar 13, 2024 at 04:45:02PM +0100, Thomas Zimmermann wrote:
> The backlight is on for fb_blank eq FB_BLANK_UNBLANK, or off for
> any other value in fb_blank. But the field fb_blank in struct
> backlight_properties is deprecated and should not be used any
> longer.
>
> Replace th
Hi Miguel.
On Wed, Mar 13, 2024 at 05:08:08PM +0100, Miguel Ojeda wrote:
> Hi Thomas,
>
> Thanks for this!
>
> Cc'ing Andy and Geert -- the new maintainer and reviewer.
>
> Also, a couple quick notes below since I am here...
>
> On Wed, Mar 13, 2024 at 4:49 PM Thomas Zimmermann wrote:
> >
> >
Hi Arnd.
On Mon, Mar 11, 2024 at 03:05:25PM +0100, Arnd Bergmann wrote:
> On Sat, Mar 9, 2024, at 19:15, Sam Ravnborg via B4 Relay wrote:
> > From: Sam Ravnborg
> >
> > The p9100 driver is only relevant for the Sparcbook 3 machine,
> > and with sun4m support remov
should be OK if my analysis is correct.
Signed-off-by: Sam Ravnborg
Cc: "David S. Miller"
Cc: Arnd Bergmann
Cc: Andreas Larsson
---
Posted v3 here to avoid resending the whole series.
In v3 the asm-generic shmparam.h are introduced and a few
unused variables (reported by kernel
.com/intel-lab-lkp/linux/commits/Sam-Ravnborg-via-B4-Relay/sparc32-Update-defconfig-to-LEON-SMP/20240310-021717
> base: 84b76d05828a1909e20d0f66553b876b801f98c8
> patch link:
> https://lore.kernel.org/r/20240309-sunset-v2-14-f09912574d2c%40ravnborg.org
> patch subject: [PATCH v2 14
Hi Patrick,
a few comments in the following.
Sam
On Sat, Mar 09, 2024 at 02:24:56PM +0100, Patrick Gansterer wrote:
> This is a general driver for LM3509 backlight chip of TI.
> LM3509 is High Efficiency Boost for White LEDs and/or OLED Displays with
> Dual Current Sinks. This driver sup
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
C
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 Be
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/ch
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 -
arch/
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_
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.
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
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/kern
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/mbu
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
arch/sp
.
Changes in v2:
- Rebased on top of Andreas' for-next branch
- Collected ack's
- Added patch to remove cpuid patching (Andreas)
- Run-time testing using qemu (Andreas, Mark Cave-Ayland)
Sam
[1]: https://lore.kernel.org/all/20201218184347.2180772-1-...@ravnborg.org/
---
Sa
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/ke
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
C
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: Andre
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
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_defco
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
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
arch/sparc/i
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.
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: Andre
pecific driver ops
> drm: atmel-hlcdc: add DPI mode support for XLCDC
> drm: atmel-hlcdc: add vertical and horizontal scaling support for
> XLCDC
> drm: atmel-hlcdc: add support for DSI output formats
> drm: atmel-hlcdc: add LCD controller layer definition for sam9x75
Hi Man
Hi Andreas,
> > diff --git a/arch/sparc/include/asm/winmacro.h
> > b/arch/sparc/include/asm/winmacro.h
> > index b6e911f5d93c..c496b04cdfaf 100644
> > --- a/arch/sparc/include/asm/winmacro.h
> > +++ b/arch/sparc/include/asm/winmacro.h
> > @@ -108,18 +108,11 @@
> > 661: rd %tbr, %idreg
Hi Andreas.
Congratulation being the new sparc co-maintainer!
On Tue, Dec 19, 2023 at 11:03:05PM +0100, Sam Ravnborg via B4 Relay wrote:
> This is the second attempt to sunset sun4m and sun4d.
> See [1] for the inital attempt.
I have now verified that the kernel can boot with qemu.
There
Hi Dharma,
On Mon, Jan 22, 2024 at 03:52:17AM +, dharm...@microchip.com wrote:
> On 20/01/24 6:53 pm, Sam Ravnborg wrote:
> > [You don't often get email from s...@ravnborg.org. Learn why this is
> > important at https://aka.ms/LearnAboutSenderIdentification ]
> >
Hi Dharma
On Mon, Jan 22, 2024 at 03:52:17AM +, dharm...@microchip.com wrote:
> On 20/01/24 6:53 pm, Sam Ravnborg wrote:
> > [You don't often get email from s...@ravnborg.org. Learn why this is
> > important at https://aka.ms/LearnAboutSenderIdentification ]
> >
Hi Dharma & Rob.
> > To make the DT binding backward compatible you likely need to add a few
> > compatible that otherwise would have been left out - but that should do
> > the trick.
> >
> > The current atmel hlcdc driver that is split in three is IMO an
> > over-engineering, and the driver coul
Hi Dharma,
On Fri, Jan 19, 2024 at 08:41:04AM +, dharm...@microchip.com wrote:
> Hi Sam,
> On 19/01/24 1:00 am, Sam Ravnborg wrote:
> > [You don't often get email from s...@ravnborg.org. Learn why this is
> > important at https://aka.ms/LearnAboutSenderIdentificat
Hi Dharma et al.
On Thu, Jan 18, 2024 at 02:56:09PM +0530, Dharma Balasubiramani wrote:
> Converted the text bindings to YAML and validated them individually using
> following commands
>
> $ make dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/
> $ make dtbs_check DT_SCHEMA_FI
Hi Thomas,
On Tue, Jan 02, 2024 at 09:26:27AM +0100, Thomas Zimmermann wrote:
> Hi Sam
>
> Am 19.12.23 um 23:03 schrieb Sam Ravnborg via B4 Relay:
> > From: Sam Ravnborg
> >
> > The p9100 driver is only relevant for the Sparcbook 3 machine,
> > and with sun4m
Hi Mark,
On Wed, Dec 20, 2023 at 11:30:27AM +, Mark Cave-Ayland wrote:
> On 20/12/2023 10:47, Arnd Bergmann wrote:
>
> > On Wed, Dec 20, 2023, at 09:54, John Paul Adrian Glaubitz wrote:
> > > On Wed, 2023-12-20 at 08:36 +, Arnd Bergmann wrote:
> > > > All of these were found through inspe
Hi Arnd,
On Tue, Dec 19, 2023 at 10:23:05PM +, Arnd Bergmann wrote:
> On Tue, Dec 19, 2023, at 22:03, Sam Ravnborg via B4 Relay wrote:
> > From: Sam Ravnborg
> >
> > This is a copy of the leon_smp defconfig found in
> > gaisler-buildroot-2023.02-1.0.
> >
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
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/
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/pgtsrmm
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/
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.
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_
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 c
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/kerne
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: Andre
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 +--
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/fbd
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
.
- Drop some of the homegrown memory allocators and use memblocks
[1]: https://lore.kernel.org/all/20201218184347.2180772-1-...@ravnborg.org/
Sam
---
Sam Ravnborg (27):
sparc32: Update defconfig to LEON SMP
sparc32: Drop sun4m/sun4d support from head_32.S
sparc32: Drop floppy
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/kerne
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 +-
arch/sparc/i
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.
1 - 100 of 2078 matches
Mail list logo