]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
parisc: Fix argument pointer in real64_call_asm()
authorHelge Deller <deller@gmx.de>
Wed, 3 May 2023 14:39:56 +0000 (16:39 +0200)
committerHelge Deller <deller@gmx.de>
Wed, 3 May 2023 15:43:26 +0000 (17:43 +0200)
commit6e3220ba3323a2c24be834aebf5d6e9f89d0993f
treed924d22f811ebb1512901c1a00e857a037962eb9
parent567b35159e76997e95b643b9a8a5d9d2198f2522
parisc: Fix argument pointer in real64_call_asm()

Fix the argument pointer (ap) to point to real-mode memory
instead of virtual memory.

It's interesting that this issue hasn't shown up earlier, as this could
have happened with any 64-bit PDC ROM code.

I just noticed it because I suddenly faced a HPMC while trying to execute
the 64-bit STI ROM code of an Visualize-FXe graphics card for the STI
text console.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org>
arch/parisc/kernel/real2.S