public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Alexander D" <aenv067@gmail.com>
To: "Arminder Singh" <arminders208@outlook.com>, devel@edk2.groups.io
Subject: Re: [edk2-devel] [Question] How do you set PCIe host bridge address space granularity for a PCI host bridge defined with PciHostBridgeLib?
Date: Wed, 24 Jul 2024 13:28:10 -0700	[thread overview]
Message-ID: <32224.1721852890188999603@groups.io> (raw)
In-Reply-To: <SJ0PR12MB6926A2164541379115C26D7A9FAA2@SJ0PR12MB6926.namprd12.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 731 bytes --]

That's expected. All PCIe endpoints in your case have *non-prefetchable* 64-bit BARs. These can only reside below 4 GB, so EDK2 downgrades them to the 32-bit non-prefetchable aperture.

If you had a device with a *prefetchable* 64-bit BAR (e.g. GPU VRAM), it would enumerate as "PMem64" and then you'd see it being allocated to the 64-bit prefetchable aperture.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120027): https://edk2.groups.io/g/devel/message/120027
Mute This Topic: https://groups.io/mt/107528139/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 1182 bytes --]

  reply	other threads:[~2024-07-24 20:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-24 15:29 [edk2-devel] [Question] How do you set PCIe host bridge address space granularity for a PCI host bridge defined with PciHostBridgeLib? Arminder Singh
2024-07-24 20:28 ` Alexander D [this message]
2024-07-24 21:14   ` Alexander D
2024-07-30  0:19   ` Arminder Singh
2024-07-30  2:35     ` Alexander D
2024-08-05 17:58       ` Arminder Singh

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-list 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=32224.1721852890188999603@groups.io \
    --to=devel@edk2.groups.io \
    /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