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 DC4787803CC for ; Tue, 30 Jul 2024 00:19:13 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=I8s8h7Q/yoFdZCioxyPurAzKOPGwkG7ENxwj+UhT7tU=; 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=1722298753; v=1; b=l1AoWpp+7TvLO9C/dr5M74o1pBY/4turMyMseA3dlKY/2CaEHZzKDDP+zn6rh1ASdcZ2Zgo/ 5txfQW+XfOBrv9H5hl6jIYclqbDVKKUcDTALevs7QrEzcDd+b79KW6S246gVon1FDCc5Tc4gVtL M0UPtdjZcZpf80mFcW1R/pEwN81hSlVIJvV2I7k2qg2GcYEEQwYhemq2gGCbY4sXE6xFQMfh17W F3EBmyHg19Wy8JFA1gfDonmBwbY9lUuN/MoW94mrehC+omXnYveyAISPbMxcZMXKfAfdmKROBUb ooLX9cRwWyrJpuv2DbzNDJ1ywRM7re69O7l9AZC57nFTg== X-Received: by 127.0.0.2 with SMTP id VG54YY7687511xhaeNfuy81G; Mon, 29 Jul 2024 17:19:11 -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: "Alexander D" , devel@edk2.groups.io From: "Arminder Singh" X-Originating-Location: US (166.198.21.139) X-Originating-Platform: Windows Firefox 128 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Mon, 29 Jul 2024 17:19:11 -0700 References: <32224.1721852890188999603@groups.io> In-Reply-To: <32224.1721852890188999603@groups.io> Message-ID: <4791.1722298751229097446@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,arminders208@outlook.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: a1lcNfzR8xfRJn18ldFbohOqx7686176AA= Content-Type: multipart/alternative; boundary="YicXWPXwfEkvaaPeFk9S" X-Spam-Flag: yes X-Spam-Level: ************ X-GND-Spam-Score: 190 X-GND-Status: SPAM Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=l1AoWpp+; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=outlook.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 --YicXWPXwfEkvaaPeFk9S Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, thanks for the clarification! Couple of questions. 1) when implementing PciHostBridgeLib, are we supposed to put host addresse= s (address the CPU uses after translation) in the Mem/MemAbove4G apertures = or PCI/device addresses? (address the device uses before translation) 2) Does the 'Mem' aperture have to be a 32 bit address/limit from host pers= pective? 3) Does translation have to be 0 for Mem/MemAbove4G apertures in the PCI_RO= OT_BRIDGE struct? Most example platforms do that, but I'm not sure if that'= s a requirement for PciHostBridgeLib or just convention. -=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 (#120071): https://edk2.groups.io/g/devel/message/120071 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- --YicXWPXwfEkvaaPeFk9S Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hello, thanks for the clarification! Couple of questions.
 
1) when implementing PciHostBridgeLib, are we supposed to put host add= resses (address the CPU uses after translation) in the Mem/MemAbove4G apert= ures or PCI/device addresses? (address the device uses before translation)<= /div>
2) Does the 'Mem' aperture have to be a 32 bit address/limit from host= perspective?
3) Does translation have to be 0 for Mem/MemAbove4G apertures in the P= CI_ROOT_BRIDGE struct? Most example platforms do that, but I'm not sure if = that's a requirement for PciHostBridgeLib or just convention.
_._,_._,_

Groups.io Links:

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

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

_._,_._,_
--YicXWPXwfEkvaaPeFk9S--