qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Rob Herring <rob.herring@linaro.org>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	QEMU Developers <qemu-devel@nongnu.org>,
	Ard Biesheuvel <ard.biesheuvel@linaro.org>,
	Claudio Fontana <claudio.fontana@huawei.com>,
	Alvise Rigo <a.rigo@virtualopensystems.com>,
	Stuart Yoder <stuart.yoder@freescale.com>
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	[thread overview]
Message-ID: <54ED9B55.1090001@suse.de> (raw)
In-Reply-To: <CAFEAcA_BNOq3qbUM7ymezzAdxAEv8gw-k=NbGZcbU4+2XKAsEw@mail.gmail.com>



On 24.02.15 16:09, Peter Maydell wrote:
> On 7 February 2015 at 02:04, Alexander Graf <agraf@suse.de> 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	other threads:[~2015-02-25  9:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-06 17:04 [Qemu-devel] [PATCH v5 0/4] ARM: Add support for a generic PCI Express host bridge Alexander Graf
2015-02-06 17:04 ` [Qemu-devel] [PATCH v5 1/4] pci: Allocate PCIe host bridge PCI ID Alexander Graf
2015-02-06 17:04 ` [Qemu-devel] [PATCH v5 2/4] pci: Add generic PCIe host bridge Alexander Graf
2015-02-06 17:04 ` [Qemu-devel] [PATCH v5 3/4] arm: Add PCIe host bridge in virt machine Alexander Graf
2015-02-24 15:09   ` Peter Maydell
2015-02-25  9:52     ` Alexander Graf [this message]
2015-02-25 11:29       ` Peter Maydell
2015-02-06 17:04 ` [Qemu-devel] [PATCH v5 4/4] pci: Move PCI VGA to pci.mak Alexander Graf
2015-02-06 17:20 ` [Qemu-devel] [PATCH v5 0/4] ARM: Add support for a generic PCI Express host bridge Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54ED9B55.1090001@suse.de \
    --to=agraf@suse.de \
    --cc=a.rigo@virtualopensystems.com \
    --cc=ard.biesheuvel@linaro.org \
    --cc=claudio.fontana@huawei.com \
    --cc=mst@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rob.herring@linaro.org \
    --cc=stuart.yoder@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).