On 22 July 2013 14:54, Paolo Bonzini <pbonz...@redhat.com> 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