powerpc: Use shared font data
Subsystems (2)
PATCH v3 1/1 powerpc: Use shared font data
From: "Dr. David Alan Gilbert" <[email protected]>
PowerPC has a 'btext' font used for the console which is almost identical to the shared font_sun8x16, so use it rather than duplicating the data.
They were actually identical until about a decade ago when
commit bcfbeecea11c ("drivers: console: font_: Change a glyph from
"broken bar" to "vertical line"")
which changed the | in the shared font to be a solid bar rather than a broken bar. That's the only difference.
This was originally spotted by the PMF source code analyser, which noticed that sparc does the same thing with the same data, and they also share a bunch of functions to manipulate the data. I've previously posted a near identical patch for sparc.
Tested very lightly with a boot without FS in qemu.
---
v3
Fixup lib/fonts/Kconfig to not require FRAMEBUFFER_CONSOLE for BOOTX, and add a || PPC, no longer need to 'select FONTS' Passes a bunch of randconfigs (as spotted by Randy)
arch/powerpc/Kconfig.debug | 2 + arch/powerpc/kernel/btext.c | 360 +----------------------------------- lib/fonts/Kconfig | 3 +- 3 files changed, 10 insertions(+), 355 deletions(-)
arch/powerpc/Kconfig.debug +2 -0
@@ -147,6 +147,8 @@ config BDI_SWITCH config BOOTX_TEXT bool "Support for early boot text console (BootX or OpenFirmware only)" depends on PPC_BOOK3S + select FONT_SUN8x16 + select FONT_SUPPORT help Say Y here to see progress messages from the boot firmware in text mode. Requires either BootX or Open Firmware.
arch/powerpc/kernel/btext.c +6 -354
399 lines not on this page · raw message
lib/fonts/Kconfig +2 -1
@@ -98,7 +98,8 @@ config FONT_10x18 config FONT_SUN8x16 bool "Sparc console 8x16 font" - depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC) + depends on (FRAMEBUFFER_CONSOLE || BOOTX_TEXT) &&\ + (!SPARC && FONTS || SPARC || PPC) help This is the high resolution console font for Sun machines. Say Y.
Signature · 1 line
2.41.0
Quoted 12 lines · * [email protected] ([email protected]) wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
PowerPC has a 'btext' font used for the console which is almost identical to the shared
font_sun8x16, so use it rather than duplicating the data.They were actually identical until about a decade ago when
commitbcfbeecea11c("drivers: console:font_: Change a glyph from
"broken bar" to "vertical line"")which changed the | in the shared font to be a solid bar rather than a broken bar. That's the only difference.
Quoted 8 lines
This was originally spotted by the PMF source code analyser, which noticed that sparc does the same thing with the same data, and they also share a bunch of functions to manipulate the data. I've previously posted a near identical patch for sparc.
Tested very lightly with a boot without FS in qemu.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
Hi Michael,
Just checking, is there anything else I need to do here?
Dave
Quoted 451 lines
---
v3
Fixuplib/fonts/Kconfigto not requireFRAMEBUFFER_CONSOLEfor BOOTX, and add a || PPC, no longer need to 'select FONTS' Passes a bunch of randconfigs (as spotted by Randy)arch/powerpc/Kconfig.debug | 2 + arch/powerpc/kernel/btext.c | 360 +----------------------------------- lib/fonts/Kconfig | 3 +- 3 files changed, 10 insertions(+), 355 deletions(-)arch/powerpc/Kconfig.debug +2
-0@@ -147,6 +147,8 @@ config BDI_SWITCH config BOOTX_TEXT bool "Support for early boot text console (BootX or OpenFirmware only)" depends on PPC_BOOK3S + select FONT_SUN8x16 + select FONT_SUPPORT help Say Y here to see progress messages from the boot firmware in text mode. Requires either BootX or Open Firmware.arch/powerpc/kernel/btext.c +6
-354@@ -8,6 +8,7 @@#include <linux/string.h> #include <linux/init.h> #include <linux/export.h> +#include <linux/font.h> #include <linux/memblock.h> #include <linux/pgtable.h> #include <linux/of.h> @@ -41,10 +42,6 @@ static unsigned char *logicalDisplayBase __force_data;unsigned long disp_BAT[2 ]__initdata = {0 ,0 }; -#define cmapsz (16*256) - -static unsigned char vga_font[cmapsz]; - static int boot_text_mapped __force_data;extern void rmci_on (void );@@ -407,7 +404,7 @@ static unsigned int expand_bits_16[4] = { }; -static void draw_byte_32 (unsigned char *font,unsigned int *base,int rb) +static void draw_byte_32 (const unsigned char *font,unsigned int *base,int rb) {int l, bits;int fg =0xFFFFFFFFUL ;@@ -428,7 +425,7 @@ static void draw_byte_32(unsigned char *font, unsigned int *base, int rb) } } -static inline void draw_byte_16 (unsigned char *font,unsigned int *base,int rb) +static inline void draw_byte_16 (const unsigned char *font,unsigned int *base,int rb) {int l, bits;int fg =0xFFFFFFFFUL ;@@ -446,7 +443,7 @@ static inline void draw_byte_16(unsigned char *font, unsigned int *base, int rb) } } -static inline void draw_byte_8 (unsigned char *font,unsigned int *base,int rb) +static inline void draw_byte_8 (const unsigned char *font,unsigned int *base,int rb) {int l, bits;int fg =0x0F0F0F0FUL ;@@ -465,7 +462,8 @@ static inline void draw_byte_8(unsigned char *font, unsigned int *base, int rb) static noinline void draw_byte(unsigned char c, long locX, long locY) {unsigned char *base =calc_base (locX <<3 , locY <<4 ); -unsigned char *font = &vga_font[((unsigned int )c) *16 ]; +unsigned int font_index = c *16 ; +const unsigned char *font = font_sun_8x16.data + font_index;int rb = dispDeviceRowBytes;rmci_maybe_on ();@@ -583,349 +581,3 @@ void __init udbg_init_btext(void)*/ udbg_putc = btext_drawchar; } - -static unsigned char vga_font[cmapsz] = { -0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x7e ,0x81 ,0xa5 ,0x81 ,0x81 ,0xbd , -0x99 ,0x81 ,0x81 ,0x7e ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x7e ,0xff , -0xdb ,0xff ,0xff ,0xc3 ,0xe7 ,0xff ,0xff ,0x7e ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 ,0x00 ,0x00 ,0x00 ,0x6c ,0xfe ,0xfe ,0xfe ,0xfe ,0x7c ,0x38 ,0x10 , -0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x10 ,0x38 ,0x7c ,0xfe , -0x7c ,0x38 ,0x10 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x18 , -0x3c ,0x3c ,0xe7 ,0xe7 ,0xe7 ,0x18 ,0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0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x38 ,0x6c ,0x6c , -0x38 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x18 ,0x18 ,0x00 ,0x00 ,0x00 , -0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x18 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x0f ,0x0c ,0x0c , -0x0c ,0x0c ,0x0c ,0xec ,0x6c ,0x6c ,0x3c ,0x1c ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 ,0xd8 ,0x6c ,0x6c ,0x6c ,0x6c ,0x6c ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x70 ,0xd8 ,0x30 ,0x60 ,0xc8 ,0xf8 ,0x00 , -0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x7c ,0x7c ,0x7c ,0x7c ,0x7c ,0x7c ,0x7c ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , -0x00 ,0x00 ,0x00 ,0x00 , -}; -lib/fonts/Kconfig +2
-1@@ -98,7 +98,8 @@ config FONT_10x18 config FONT_SUN8x16 bool "Sparc console 8x16 font" - depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC) + depends on (FRAMEBUFFER_CONSOLE || BOOTX_TEXT) &&\ + (!SPARC && FONTS || SPARC || PPC) help This is the high resolution console font for Sun machines. Say Y.Signature · 1 line
2.41.0
Signature · 4 lines
-----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 |_______/
Michael Ellerman
reviewerQuoted 18 lines · Dr. David Alan Gilbert
Quoted 17 lines · * [email protected] ([email protected]) wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
PowerPC has a 'btext' font used for the console which is almost identical to the shared
font_sun8x16, so use it rather than duplicating the data.They were actually identical until about a decade ago when
commitbcfbeecea11c("drivers: console:font_: Change a glyph from
"broken bar" to "vertical line"")which changed the | in the shared font to be a solid bar rather than a broken bar. That's the only difference.
This was originally spotted by the PMF source code analyser, which noticed that sparc does the same thing with the same data, and they also share a bunch of functions to manipulate the data. I've previously posted a near identical patch for sparc.
Quoted 6 lines
Quoted 3 lines
Tested very lightly with a boot without FS in qemu.
Signed-off-by Dr. David Alan Gilbert <[email protected]>Hi Michael,
Just checking, is there anything else I need to do here?
I felt like the lib/fonts/Kconfig change could be cleaner, but the existing Kconfig is not well structured for what we want to do.
I think at least it could be simplified to:
config FONT_SUN8x16
bool "Sparc console 8x16 font" depends on (FRAMEBUFFER_CONSOLE && (FONTS || SPARC)) || BOOTX_TEXT
cheers
Quoted 14 lines
Quoted 14 lines
lib/fonts/Kconfig +2
-1@@ -98,7 +98,8 @@ config FONT_10x18 config FONT_SUN8x16 bool "Sparc console 8x16 font" - depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC) + depends on (FRAMEBUFFER_CONSOLE || BOOTX_TEXT) &&\ + (!SPARC && FONTS || SPARC || PPC) help This is the high resolution console font for Sun machines. Say Y.
Quoted 21 lines · * Michael Ellerman ([email protected]) wrote:
Quoted 20 lines · Dr. David Alan Gilbert
Quoted 19 lines · * [email protected] ([email protected]) wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
PowerPC has a 'btext' font used for the console which is almost identical to the shared
font_sun8x16, so use it rather than duplicating the data.They were actually identical until about a decade ago when
commitbcfbeecea11c("drivers: console:font_: Change a glyph from
"broken bar" to "vertical line"")which changed the | in the shared font to be a solid bar rather than a broken bar. That's the only difference.
This was originally spotted by the PMF source code analyser, which noticed that sparc does the same thing with the same data, and they also share a bunch of functions to manipulate the data. I've previously posted a near identical patch for sparc.
Tested very lightly with a boot without FS in qemu.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Signed-off-by Dr. David Alan Gilbert <[email protected]>Hi Michael,
Just checking, is there anything else I need to do here?I felt like the
lib/fonts/Kconfigchange could be cleaner, but the existingKconfigis not well structured for what we want to do.
Yeh that line has caused quite a bit of pain in this otherwise simple set.
Quoted 5 lines
I think at least it could be simplified to:
config
FONT_SUN8x16bool "Sparc console 8x16 font" depends on (FRAMEBUFFER_CONSOLE && (FONTS || SPARC)) || BOOTX_TEXT
OK, I'll give it a go - but I wonder what else we need to test? My version was careful not to change other arch's behaviour on this config, I worry this might. (Although IMHO I actually think we could just remove this entire depends, and the only reason I haven't is because I worry what other knock on there might be).
Dave
Quoted 18 lines
cheers
Quoted 14 lines
Quoted 14 lines
lib/fonts/Kconfig +2
-1@@ -98,7 +98,8 @@ config FONT_10x18 config FONT_SUN8x16 bool "Sparc console 8x16 font" - depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC) + depends on (FRAMEBUFFER_CONSOLE || BOOTX_TEXT) &&\ + (!SPARC && FONTS || SPARC || PPC) help This is the high resolution console font for Sun machines. Say Y.
Signature · 4 lines
-----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 |_______/