From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 6D812941CD7 for ; Wed, 24 Jul 2024 20:42:49 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=W30OLGaw4RUBxa/3kl878wTc0KGSZhXRjB7PF60f55Q=; c=relaxed/simple; d=groups.io; h=Subject:To:From:User-Agent:MIME-Version:Date:References:In-Reply-To:Message-ID:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240206; t=1721853769; v=1; b=Ozlj4c+xBU7IcnOp9YW9BGJIh7GEEdipR2w1VDljEDD3Sgl+QoENLiRkXfbGyuU71KlVqtX1 Q/my4jUaSWDprt3d0hRhiZi4JcW8KPWjy/NqUQK8daQEI7ItPFdormecmzC/hE+2eZ+A9/i4dku UYajFhFZbmIPHonX9HEo71KkM2ukCefdjROh/uzjCqMo5gYj221xfMQW6YqK87KBtDHsOfiztaj qTDipL/CGglTqsAqF1FHTZNs7V3EsfhBhfG6e2qUHaHF6YDmKe3AhOk12/mooTKbUDJtLKW0QvF dZlk8ozr3IJjAc1PowT7DYt6bpPdL+IuDo7rnETDkMiqA== X-Received: by 127.0.0.2 with SMTP id 31KeYY7687511xBVN6KvhnPO; Wed, 24 Jul 2024 13:42:47 -0700 Subject: Re: [edk2-devel] [Question] How do you set PCIe host bridge address space granularity for a PCI host bridge defined with PciHostBridgeLib? To: "Arminder Singh" , devel@edk2.groups.io From: "Alexander D" X-Originating-Location: Galati, RO (5.13.135.51) X-Originating-Platform: Windows Chrome 126 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Wed, 24 Jul 2024 13:28:10 -0700 References: In-Reply-To: Message-ID: <32224.1721852890188999603@groups.io> Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,aenv067@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: heLk1XnZM59tD4YuG0SLVdLVx7686176AA= Content-Type: multipart/alternative; boundary="mlIEduy8mQrIyKLStClz" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=Ozlj4c+x; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io --mlIEduy8mQrIyKLStClz Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 wo= uld enumerate as "PMem64" and then you'd see it being allocated to the 64-b= it prefetchable aperture. -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- 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] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --mlIEduy8mQrIyKLStClz Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
That's expected. All PCIe endpoints in your case have *non-prefetchabl= e* 64-bit BARs. These can only reside below 4 GB, so EDK2 downgrades them t= o 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:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#120027) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--mlIEduy8mQrIyKLStClz--