[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [RFC 6/7] hw: arm: virt: register reserved IOVA region
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [RFC 6/7] hw: arm: virt: register reserved IOVA region |
Date: |
Thu, 28 Jan 2016 10:10:40 +0000 |
On 27 January 2016 at 13:51, Eric Auger <address@hidden> wrote:
> Registers a 16x64kB reserved iova region. Currently this iova
> region is used by the kernel to map host MSI controller frames
> (GICv2m, GITS_TRANSLATER).
Do you mean the host kernel or the guest kernel? The host
kernel should be keeping its paws out of the guest's
address space, and the guest kernel can manage the memory
and the address space any way it likes, I would have thought.
It's not clear to me what this is for.
> Signed-off-by: Eric Auger <address@hidden>
> ---
> hw/arm/virt.c | 10 ++++++++++
> include/hw/arm/virt.h | 1 +
> 2 files changed, 11 insertions(+)
>
> diff --git a/hw/arm/virt.c b/hw/arm/virt.c
> index 3839c68..7eaf8be 100644
> --- a/hw/arm/virt.c
> +++ b/hw/arm/virt.c
> @@ -125,6 +125,7 @@ static const MemMapEntry a15memmap[] = {
> [VIRT_GPIO] = { 0x09030000, 0x00001000 },
> [VIRT_SECURE_UART] = { 0x09040000, 0x00001000 },
> [VIRT_MMIO] = { 0x0a000000, 0x00000200 },
> + [VIRT_RESERVED] = { 0x0be00000, 0x00100000 },
> /* ...repeating for a total of NUM_VIRTIO_TRANSPORTS, each of that size
> */
You've put the new entry between the VIRT_MMIO line and the comment that
is associated with it.
thanks
-- PMM
- [Qemu-arm] [RFC 0/7] KVM PCI/MSI passthrough with mach-virt, Eric Auger, 2016/01/27
- [Qemu-arm] [RFC 1/7] linux-headers: partial update for VFIO reserved IOVA registration, Eric Auger, 2016/01/27
- [Qemu-arm] [RFC 2/7] Add a function to determine interrupt number for INTx routing, Eric Auger, 2016/01/27
- [Qemu-arm] [RFC 3/7] Generic PCIe host bridge INTx determination for INTx routing, Eric Auger, 2016/01/27
- [Qemu-arm] [RFC 4/7] hw: vfio: common: introduce vfio_register_reserved_iova, Eric Auger, 2016/01/27
- [Qemu-arm] [RFC 5/7] memory: add reserved_iova region type, Eric Auger, 2016/01/27
- [Qemu-arm] [RFC 6/7] hw: arm: virt: register reserved IOVA region, Eric Auger, 2016/01/27
- [Qemu-arm] [RFC 7/7] hw: vfio: common: adapt vfio_listeners for reserved_iova region, Eric Auger, 2016/01/27