]> 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>
Sun, 10 Nov 2024 08:09:26 +0000 (11:09 +0300)
commitbb511406c0794d855a93ef157100f871e530790f
tree7cb82ea2aa6e2edd29d46ea07929320f52acab44
parent06f97633a65efa8ec44d38093e9e186bc3eba034
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