On 2011-09-15 11:53, Avi Kivity wrote: >>> The host pci bridge remaps this as >>> 0x1000000105-0x1000000106 in the memory address space space. But >>> someone configured a cpu-local region at this address, so the cpu can't >>> reach it at all. >> >> Mapping PIO into MMIO space is special as it needs an intermediate layer >> (ie. translation handlers). > > Translation handlers aren't needed - you can simply add the pci pio > region as a subregion of the mmio space.
>From the outer perspective. But internally, there is still memory_region_iorange_read/write. The point is that no use case actually justifies memory_region_set_offset. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux