* [PATCH] lib/fonts: Allow Sparc console 8x16 font for sparc64 early boot text console
@ 2024-03-07 18:07 Andreas Larsson
2024-03-07 18:37 ` Dr. David Alan Gilbert
2024-03-08 20:10 ` Andreas Larsson
0 siblings, 2 replies; 3+ messages in thread
From: Andreas Larsson @ 2024-03-07 18:07 UTC (permalink / raw)
To: sparclinux, David S. Miller, Dr. David Alan Gilbert
Cc: linux-kernel, kernel test robot, Michael Ellerman, Sam Ravnborg,
Randy Dunlap
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@gaisler.com>
Fixes: 0f1991949d9b ("sparc: Use shared font data")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202402241539.epQT43nI-lkp@intel.com/
Cc: "Dr. David Alan Gilbert" <linux@treblig.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: "David S. Miller" <davem@davemloft.net>
---
The commit this fixes can be found on my for-next branch from
https://git.kernel.org/pub/scm/linux/kernel/git/alarsson/linux-sparc.git/
---
lib/fonts/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/fonts/Kconfig b/lib/fonts/Kconfig
index 7ee468ef21ec6..7e945fdcbf115 100644
--- a/lib/fonts/Kconfig
+++ b/lib/fonts/Kconfig
@@ -98,7 +98,8 @@ config FONT_10x18
config FONT_SUN8x16
bool "Sparc console 8x16 font"
- depends on (FRAMEBUFFER_CONSOLE && (FONTS || SPARC)) || BOOTX_TEXT
+ depends on (FRAMEBUFFER_CONSOLE && (FONTS || SPARC)) || \
+ BOOTX_TEXT || EARLYFB
help
This is the high resolution console font for Sun machines. Say Y.
base-commit: 626db6ee8ee1edac206610db407114aa83b53fd3
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] lib/fonts: Allow Sparc console 8x16 font for sparc64 early boot text console
2024-03-07 18:07 [PATCH] lib/fonts: Allow Sparc console 8x16 font for sparc64 early boot text console Andreas Larsson
@ 2024-03-07 18:37 ` Dr. David Alan Gilbert
2024-03-08 20:10 ` Andreas Larsson
1 sibling, 0 replies; 3+ messages in thread
From: Dr. David Alan Gilbert @ 2024-03-07 18:37 UTC (permalink / raw)
To: Andreas Larsson
Cc: sparclinux, David S. Miller, linux-kernel, kernel test robot,
Michael Ellerman, Sam Ravnborg, Randy Dunlap
* Andreas Larsson (andreas@gaisler.com) 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").
Yeh that looks like it should do it; I was hoping there was a way to make
that line simpler, but hey, thanks for fixing it.
Reviewed-by: Dr. David Alan Gilbert <linux@treblig.org>
> Signed-off-by: Andreas Larsson <andreas@gaisler.com>
> Fixes: 0f1991949d9b ("sparc: Use shared font data")
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202402241539.epQT43nI-lkp@intel.com/
> Cc: "Dr. David Alan Gilbert" <linux@treblig.org>
> Cc: Michael Ellerman <mpe@ellerman.id.au>
> Cc: Sam Ravnborg <sam@ravnborg.org>
> Cc: Randy Dunlap <rdunlap@infradead.org>
> Cc: "David S. Miller" <davem@davemloft.net>
> ---
> The commit this fixes can be found on my for-next branch from
> https://git.kernel.org/pub/scm/linux/kernel/git/alarsson/linux-sparc.git/
> ---
> lib/fonts/Kconfig | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/lib/fonts/Kconfig b/lib/fonts/Kconfig
> index 7ee468ef21ec6..7e945fdcbf115 100644
> --- a/lib/fonts/Kconfig
> +++ b/lib/fonts/Kconfig
> @@ -98,7 +98,8 @@ config FONT_10x18
>
> config FONT_SUN8x16
> bool "Sparc console 8x16 font"
> - depends on (FRAMEBUFFER_CONSOLE && (FONTS || SPARC)) || BOOTX_TEXT
> + depends on (FRAMEBUFFER_CONSOLE && (FONTS || SPARC)) || \
> + BOOTX_TEXT || EARLYFB
> help
> This is the high resolution console font for Sun machines. Say Y.
>
>
> base-commit: 626db6ee8ee1edac206610db407114aa83b53fd3
> --
> 2.34.1
>
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] lib/fonts: Allow Sparc console 8x16 font for sparc64 early boot text console
2024-03-07 18:07 [PATCH] lib/fonts: Allow Sparc console 8x16 font for sparc64 early boot text console Andreas Larsson
2024-03-07 18:37 ` Dr. David Alan Gilbert
@ 2024-03-08 20:10 ` Andreas Larsson
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Larsson @ 2024-03-08 20:10 UTC (permalink / raw)
To: sparclinux, David S. Miller, Dr. David Alan Gilbert
Cc: linux-kernel, kernel test robot, Michael Ellerman, Sam Ravnborg,
Randy Dunlap
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@gaisler.com>
> Fixes: 0f1991949d9b ("sparc: Use shared font data")
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202402241539.epQT43nI-lkp@intel.com/
> Cc: "Dr. David Alan Gilbert" <linux@treblig.org>
> Cc: Michael Ellerman <mpe@ellerman.id.au>
> Cc: Sam Ravnborg <sam@ravnborg.org>
> Cc: Randy Dunlap <rdunlap@infradead.org>
> Cc: "David S. Miller" <davem@davemloft.net>
Picking this up to my for-next.
Cheers,
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-08 20:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-07 18:07 [PATCH] lib/fonts: Allow Sparc console 8x16 font for sparc64 early boot text console Andreas Larsson
2024-03-07 18:37 ` Dr. David Alan Gilbert
2024-03-08 20:10 ` Andreas Larsson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.