]> 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>
Thu, 11 May 2023 14:03:38 +0000 (23:03 +0900)
commit266a3b46b4ff3fba5e7b31080d4cab454b68ab55
tree313a3fa4b6aaecd1fae0a6b54cc31a672870876a
parentea8603950c9c1260518fb0964e6a72572edc5136
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