Re: [PATCH 3/5] hw/pci-host/prep: Remove unuseful memory region mapping

2021-04-15 Thread Philippe Mathieu-Daudé
On 3/22/21 5:09 AM, David Gibson wrote: > On Fri, Mar 12, 2021 at 03:38:21PM -0500, Peter Xu wrote: >> On Fri, Mar 12, 2021 at 07:28:49PM +0100, Philippe Mathieu-Daudé wrote: >>> The pci_io_non_contiguous region is mapped on top of pci_io >>> with higher priority, but simply dispatch into this regi

Re: [PATCH 3/5] hw/pci-host/prep: Remove unuseful memory region mapping

2021-03-21 Thread David Gibson
On Fri, Mar 12, 2021 at 03:38:21PM -0500, Peter Xu wrote: > On Fri, Mar 12, 2021 at 07:28:49PM +0100, Philippe Mathieu-Daudé wrote: > > The pci_io_non_contiguous region is mapped on top of pci_io > > with higher priority, but simply dispatch into this region > > address space. Simplify by directly

Re: [PATCH 3/5] hw/pci-host/prep: Remove unuseful memory region mapping

2021-03-12 Thread Peter Xu
On Fri, Mar 12, 2021 at 07:28:49PM +0100, Philippe Mathieu-Daudé wrote: > The pci_io_non_contiguous region is mapped on top of pci_io > with higher priority, but simply dispatch into this region > address space. Simplify by directly registering the former > region in place, and adapt the address sp

[PATCH 3/5] hw/pci-host/prep: Remove unuseful memory region mapping

2021-03-12 Thread Philippe Mathieu-Daudé
The pci_io_non_contiguous region is mapped on top of pci_io with higher priority, but simply dispatch into this region address space. Simplify by directly registering the former region in place, and adapt the address space dispatch offsets. Signed-off-by: Philippe Mathieu-Daudé --- hw/pci-host/p