Re: [PATCH] lib/fonts: Allow Sparc console 8x16 font for sparc64 early boot text console

From: Andreas Larsson
Date: Fri Mar 08 2024 - 15:11:18 EST




On 2024-03-07 19:07, Andreas Larsson wrote:
> Allow FONT_SUN8x16 when EARLYFB is enabled for sparc64, even when
> FRAMEBUFFER_CONSOLE is not to avoid the following warning for this case
>
> WARNING: unmet direct dependencies detected for FONT_SUN8x16
> Depends on [n]: FONT_SUPPORT [=y] && (FRAMEBUFFER_CONSOLE [=n] && (FONTS [=n] || SPARC [=y]) || BOOTX_TEXT)
> Selected by [y]:
> - EARLYFB [=y] && SPARC64 [=y]
>
> by allowing it in the same manner as is done for powerpc in commit
> 0ebc7feae79a ("powerpc: Use shared font data").
>
> Signed-off-by: Andreas Larsson <andreas@xxxxxxxxxxx>
> Fixes: 0f1991949d9b ("sparc: Use shared font data")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202402241539.epQT43nI-lkp@xxxxxxxxx/
> Cc: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>
> Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
> Cc: Sam Ravnborg <sam@xxxxxxxxxxxx>
> Cc: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>

Picking this up to my for-next.

Cheers,
Andreas