[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 3/4] arm: Add PCIe host bridge in virt machin
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH v5 3/4] arm: Add PCIe host bridge in virt machine |
Date: |
Wed, 25 Feb 2015 10:52:21 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 24.02.15 16:09, Peter Maydell wrote:
> On 7 February 2015 at 02:04, Alexander Graf <address@hidden> wrote:
>> typedef struct MemMapEntry {
>> @@ -129,13 +131,21 @@ static const MemMapEntry a15memmap[] = {
>> [VIRT_FW_CFG] = { 0x09020000, 0x0000000a },
>> [VIRT_MMIO] = { 0x0a000000, 0x00000200 },
>> /* ...repeating for a total of NUM_VIRTIO_TRANSPORTS, each of that size
>> */
>> - /* 0x10000000 .. 0x40000000 reserved for PCI */
>> + /*
>> + * PCIE verbose map:
>> + *
>> + * MMIO window { 0x10000000, 0x2eff0000 },
>> + * PIO window { 0x3eff0000, 0x00010000 },
>> + * ECAM { 0x3f000000, 0x01000000 },
>
> Is this a typo, or is there really a big gap between the
> end of the MMIO window and the start of the PIO window?
It's perfectly correct, the map is tuples of { offset, length }:
0000000010000000-000000003efeffff (prio 0, RW): alias pcie-mmio
@gpex_mmio 0000000010000000-000000003efeffff
000000003eff0000-000000003effffff (prio 0, RW): gpex_ioport
000000003f000000-000000003fffffff (prio 0, RW): alias pcie-ecam
@pcie-mmcfg 0000000000000000-0000000000ffffff
Alex
- [Qemu-devel] [PATCH v5 0/4] ARM: Add support for a generic PCI Express host bridge, Alexander Graf, 2015/02/06
- [Qemu-devel] [PATCH v5 2/4] pci: Add generic PCIe host bridge, Alexander Graf, 2015/02/06
- [Qemu-devel] [PATCH v5 1/4] pci: Allocate PCIe host bridge PCI ID, Alexander Graf, 2015/02/06
- [Qemu-devel] [PATCH v5 4/4] pci: Move PCI VGA to pci.mak, Alexander Graf, 2015/02/06
- Re: [Qemu-devel] [PATCH v5 0/4] ARM: Add support for a generic PCI Express host bridge, Peter Maydell, 2015/02/06