From: Helge Deller Date: Wed, 10 May 2023 20:17:27 +0000 (+0200) Subject: sticon/parisc: Fix STI console on 64-bit only machines X-Git-Tag: v6.6.7~2462^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99ef0c67bc85e2ea547e2c6c9ed29480cd361446;p=platform%2Fkernel%2Flinux-starfive.git sticon/parisc: Fix STI console on 64-bit only machines Fix the STI console to be able to execute either the 64-bit STI ROM code or the 32-bit STI ROM code. This is necessary on 64-bit only machines (e.g. C8000 workstation) which otherwise won't show the STI text console with HP graphic cards like Visualize-FX5/FX10/FXe. Note that when calling 32-bit code from a 64-bit kernel one needs to copy contents on the CPU stack from high memory down below the 4GB limit. Tested-by: John David Anglin Signed-off-by: Helge Deller --- diff --git a/drivers/video/fbdev/stifb.c b/drivers/video/fbdev/stifb.c index 66d82f6..c746deb 100644 --- a/drivers/video/fbdev/stifb.c +++ b/drivers/video/fbdev/stifb.c @@ -71,9 +71,9 @@ #include