]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:11:46 +0000 (11:11 +0200)
commitb0ee27de551227226fd95766da1374be7644c918
treea275cf00ac68648287de693a06c95f2751bb31cb
parent51515d8e40438d5d9ad74b8f1ff42fc534404b4b
parisc: Fix argument pointer in real64_call_asm()

commit 6e3220ba3323a2c24be834aebf5d6e9f89d0993f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/kernel/real2.S