q800: fix I/O memory map
commit653901ca2be30299a224677a8203ff3361dbd5c5
authorLaurent Vivier <laurent@vivier.eu>
Mon, 4 Nov 2019 10:15:13 +0000 (4 11:15 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 5 Nov 2019 17:52:29 +0000 (5 18:52 +0100)
treefda1b9a340a4f09a0d6af0cb240037fa88b8b4b7
parentb7c9a7f353c0e260519bf735ff0d4aa01e72784b
q800: fix I/O memory map

Linux kernel 5.4 will introduce a new memory map for SWIM device.
(aee6bff1c325 ("m68k: mac: Revisit floppy disc controller base addresses"))

Until this release all MMIO are mapped between 0x50f00000 and 0x50f40000,
but it appears that for real hardware 0x50f00000 is not the base address:
the MMIO region spans 0x50000000 through 0x60000000, and 0x50040000 through
0x54000000 is repeated images of 0x50000000 to 0x50040000.

Fixed: 04e7ca8d0f ("hw/m68k: define Macintosh Quadra 800")
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20191104101513.29518-1-laurent@vivier.eu>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/m68k/q800.c