qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 00/28] Memory API for 1.6: fix I/O port endianne


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 00/28] Memory API for 1.6: fix I/O port endianness mess
Date: Mon, 22 Jul 2013 15:32:33 +0100

On 22 July 2013 14:54, Paolo Bonzini <address@hidden> wrote:
> This series drops isa_mmio and replace it with an alias of the
> root I/O memory region.  After applying back the LITTLE_ENDIAN
> mark for PortioLists, everything works as expected: the port memory
> regions appear directly in the FlatView with the right endianness,
> and MMIO is dispatched straight to them.

In the long term it would be good to identify which boards
were using isa_mmio purely for the benefit of old_portio
(which I think is basically "boards where the CPU has no
concept of port I/O instructions"). In these cases there
should be nobody calling cpu_in/out* any more, and so the
'system io space' returned by get_system_io() has devolved
to just being used as a container corresponding to the
PCI IO address space (which is then mapped into the
system MMIO space somewhere). This can be replaced by
having the PCI bridge device create a container space
specifically to be the IO address space. (This is how
hw/pci-host/versatile.c does it, for example).

That's longer term and not 1.6 material though.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]