[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] arm: xlnx-versal: fix virtio-mmio base address assignment
From: |
schspa |
Subject: |
Re: [PATCH] arm: xlnx-versal: fix virtio-mmio base address assignment |
Date: |
Thu, 25 Feb 2021 14:35:57 +0800 |
User-agent: |
Evolution 3.38.3 |
On Mon, 2021-02-08 at 12:59 +0000, Peter Maydell wrote:
> I just suggested something on another thread: call
> memory_region_find()
> and then look at the offset_within_address_space field of the
> returned
> MemoryRegionSection. I think that should get you the offset of the
> transport within the system address space regardless of how much
> use of containers and other oddball mappings are involved. (If the
> transport is not mapped into the system address space at all then
> you'll get its offset within whatever that other address space is,
> but I think we can reasonably ignore that unlikely corner case.)
Thanks for your suggestions, I have tried it on both arm virt & the
Xilinx platform works perfectly.
I have upload a new patch v4 for it.
--
schspa <schspa@gmail.com>
- [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/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, 2021/02/05
- 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, 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 <=
- 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