commit | c1da8d0ea21e2c8be526284233bec9841a79aa10 | [log] [tgz] |
---|---|---|
author | Helge Deller <deller@gmx.de> | Sun Oct 29 22:53:16 2023 +0100 |
committer | Helge Deller <deller@gmx.de> | Tue Oct 31 08:26:22 2023 +0100 |
tree | 0ba54e38ccda95cdc08e3915685c73b983965f1a | |
parent | 08402d3d1b5af9a13b056d609836f06a0697a70c [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>