[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] arm: xlnx-versal: fix virtio-mmio base address assignment
From: |
Peter Maydell |
Subject: |
Re: [PATCH] arm: xlnx-versal: fix virtio-mmio base address assignment |
Date: |
Fri, 5 Feb 2021 11:18:28 +0000 |
On Fri, 5 Feb 2021 at 10:31, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
> 1/ virtio-mmio must be sysbus-device,
Yes.
> 2/ we can not sysbus-map out of main memory so private container
> is incorrect, and Versal can not use "mr-ps-switch"?
No. If you have a sysbus device, and you want to map it somewhere
other than into system-memory-map, you can do that: you use
sysbus_mmio_get_region() to get the MemoryRegion*, and then map
it into whatever container you need with memory_region_add_subregion().
thanks
-- PMM
- Re: [PATCH] arm: xlnx-versal: fix virtio-mmio base address assignment, Philippe Mathieu-Daudé, 2021/02/04
- Re: [PATCH] arm: xlnx-versal: fix virtio-mmio base address assignment, schspa, 2021/02/04
- Re: [PATCH] arm: xlnx-versal: fix virtio-mmio base address assignment, Philippe Mathieu-Daudé, 2021/02/05
- Re: [PATCH] arm: xlnx-versal: fix virtio-mmio base address assignment, Peter Maydell, 2021/02/05
- Re: [PATCH] arm: xlnx-versal: fix virtio-mmio base address assignment, Philippe Mathieu-Daudé, 2021/02/05
- Re: [PATCH] arm: xlnx-versal: fix virtio-mmio base address assignment,
Peter Maydell <=
- Re: [PATCH] arm: xlnx-versal: fix virtio-mmio base address assignment, Edgar E. Iglesias, 2021/02/05
- Re: [PATCH] arm: xlnx-versal: fix virtio-mmio base address assignment, schspa, 2021/02/08
- Re: [PATCH] arm: xlnx-versal: fix virtio-mmio base address assignment, Laszlo Ersek, 2021/02/08
- Re: [PATCH] arm: xlnx-versal: fix virtio-mmio base address assignment, Peter Maydell, 2021/02/08
- [PATCH v4] virtio-mmio: improve virtio-mmio get_dev_path alog, schspa, 2021/02/25
- Re: [PATCH] arm: xlnx-versal: fix virtio-mmio base address assignment, schspa, 2021/02/25