On Fri, Jul 12, 2013 at 05:37:19PM +1000, Alexey Kardashevskiy wrote: > sPAPR PHB emulates IO ports on PCI via a special memory region which > routes all reads/writes further via cpu_in*/cpu_out* which are eventually > processed by MemoryRegionOps implemented by devices. Hrm. That double dispatch was a workaround for bugs in the plain memory region dispatching which meant we couldn't directly map regions in memory space to IO areas. It would be worth checking if that workaround is still necessary. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson