qemu-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]