]> git.ipfire.org Git - thirdparty/qemu.git/commit
Revert "hw/sh4/r2d: Realize IDE controller before accessing it"
authorThomas Huth <thuth@redhat.com>
Fri, 11 Oct 2024 13:19:33 +0000 (15:19 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 22 Oct 2024 17:24:35 +0000 (20:24 +0300)
commit6cb943c361451991fd151ef0335969785ab847f3
treeee6781f1484a4e3bb5c6b3b1cf00122e6b4e3db0
parent8dca0ab4c406690f02641ec49ce81320188ae543
Revert "hw/sh4/r2d: Realize IDE controller before accessing it"

This reverts commit 3c5f86a22686ef475a8259c0d8ee714f61c770c9.

Changing the order here caused a regression with the "tuxrun"
kernels (from https://storage.tuxboot.com/20230331/) - ATA commands
fail with a "ata1: lost interrupt (Status 0x58)" message.
Apparently we need to wire the interrupt here first before
realizing the device, so revert the change to the original
behavior.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20241011131937.377223-17-thuth@redhat.com>
(cherry picked from commit 68ad89b75ad2bb5f38abea815a50ec17a142565a)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/sh4/r2d.c