Re: [PATCH v3 0/3] m68k: Bug fix and cleanup for framebuffer debug console

From: Stan Johnson
Date: Wed Jun 11 2025 - 11:32:11 EST


Tested-by: Stan Johnson <userm57@xxxxxxxxx>

On a Mac IIci, the three patches fix the lost-column issue.

I didn't notice any regressions booting the new kernel to multiuser
and accessing serial, scsi and network.

-Stan Johnson


On 3/27/25 4:39 PM, Finn Thain wrote:
> This series has a bug fix for the early bootconsole as well as some
> related efficiency improvements and cleanup.
>
> The relevant code is subject to CONSOLE_DEBUG, which is presently only
> used with CONFIG_MAC. To test this series (in qemu-system-m68k, for example)
> it's helpful to enable CONFIG_EARLY_PRINTK and
> CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER and boot with
> kernel parameters 'console=ttyS0 earlyprintk keep_bootcon'.
>
> ---
> Changed since v1:
> - Solved problem with line wrap while scrolling.
> - Added two additional patches.
>
> Changed since v2:
> - Adopted addq and subq as suggested by Andreas.
>
>
> Finn Thain (3):
> m68k: Fix lost column on framebuffer debug console
> m68k: Avoid pointless recursion in debug console rendering
> m68k: Remove unused "cursor home" code from debug console
>
> arch/m68k/kernel/head.S | 73 +++++++++++++++++++++--------------------
> 1 file changed, 37 insertions(+), 36 deletions(-)
>