]> git.baikalelectronics.ru Git - kernel.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:35:54 +0000 (11:35 +0200)
commitc5a703b897158aaea349d3f9c989c12b2f5e4bdf
tree62bf2c2b8ecce169722a55989294a2e7812b011b
parent30eb0aaed728ae52e63c6b6fc80b7924607887d4
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