commit | fb25ea5087eba89db15a55acf71d63ee7c72a119 | [log] [tgz] |
---|---|---|
author | Helge Deller <deller@gmx.de> | Sun Oct 29 22:53:16 2023 +0100 |
committer | Helge Deller <deller@gmx.de> | Mon Oct 30 20:16:18 2023 +0100 |
tree | dce5981fa856df5274625385450cccb8c69a6676 | |
parent | ac9ac833f651c4b63d2853664fd100bcfa98af1e [diff] |
parisc/sti: Fix STI crash with fonts with 64-bit Linux kernel Just swapping font "next-font" pointers breaks the sti driver on older 64-bit Linux kernels which take the "next_font" pointer as unsigned int (instead of signed int) and thus calculates a wrong font start address. Avoid the crash by sorting the fonts in the STI ROM before the OS starts. A Linux kernel patch to avoid the crash was added in kernel 6.7. Signed-off-by: Helge Deller <deller@gmx.de>