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 7CD707803DF for ; Tue, 4 Jun 2024 07:23:36 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=NtvOSTZSXgGpFGRtGU0gqnqRj+szdD8gGNKH9LnG7/g=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References:From:Organization:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1717485816; v=1; b=NGIq4cDUjAthQqaklzx/L2w+2jRBbvkaYHIoqQL06IWdC4yFe2pX+lpDcaz12DsDscUj+z5w +2nQQH0oDdpdXoplFV50dA556bNgyHWdnCHKZzlbZwf/zGBNYvV+MFOqPdL4jfcz+69NGML2BaZ pkDA2JkLmneI0z8NpTk+lQ3nPeVkJFCGWrgTNaZbHi6u9N+SRjbcnBTqXCSiB7eKjffRYnDbjE8 Qm7Ye/4MNNq0lqY3R8jPX3bRJFVczErF29HiZ1jFxR7YE3gW/oHEUgO3+uyLcYXljiBP0fvAQ8S 1BuyVrs3GPqL72LCyvuUG1yp6tRhJGHmE+vTTrEwAXeZQ== X-Received: by 127.0.0.2 with SMTP id h3OmYY7687511xjxS663HfXs; Tue, 04 Jun 2024 00:23:34 -0700 X-Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) by mx.groups.io with SMTP id smtpd.web11.15606.1717485814177045794 for ; Tue, 04 Jun 2024 00:23:34 -0700 X-Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a69607c6ccaso40559266b.2 for ; Tue, 04 Jun 2024 00:23:33 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVSoJ+F5oVZQ1cJoTdPY2JDm4Zg48a81K9442XmSXXh4RQ8lUetIDSoUA8Cg862/diPEbCoNv5EaALJ8j+PJbc23J+3xA== X-Gm-Message-State: dcHRBVeSxiVe8i6XdJxNOZSYx7686176AA= X-Google-Smtp-Source: AGHT+IFvFlYFR+PT44MeGnEFx+nfPwJlzoX31JYGe+KLiH4REU8B/IOU5lCaF08lf3RSGi59kKRYlA== X-Received: by 2002:a17:906:1991:b0:a65:f833:a7b5 with SMTP id a640c23a62f3a-a6822049d15mr705668766b.50.1717485812456; Tue, 04 Jun 2024 00:23:32 -0700 (PDT) X-Received: from [192.168.200.106] (83.11.211.179.ipv4.supernova.orange.pl. [83.11.211.179]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a68ab11db7fsm470064766b.145.2024.06.04.00.23.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jun 2024 00:23:31 -0700 (PDT) Message-ID: <64916d39-c895-48a5-af9a-655c57233300@linaro.org> Date: Tue, 4 Jun 2024 09:23:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [PATCH edk2-platforms v2 0/3] SbsaQemu: support multiple PCI Express buses To: Ard Biesheuvel , devel@edk2.groups.io Cc: Leif Lindholm , Graeme Gregory , Ray Ni References: <20240528-review-multiple-pcie-0425-v2-0-e2ec9f098a78@linaro.org> From: "Marcin Juszkiewicz" Organization: Linaro In-Reply-To: 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 Resent-Date: Tue, 04 Jun 2024 00:23:34 -0700 Resent-From: marcin.juszkiewicz@linaro.org Reply-To: devel@edk2.groups.io,marcin.juszkiewicz@linaro.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Language: pl-PL, en-GB, en-HK Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=NGIq4cDU; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=linaro.org (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 W dniu 28.05.2024 o 16:31, Ard Biesheuvel pisze: > I would expect each host bridge to have its own separate resource > windows for config space, buses and MMIO regions. > > So each host bridge gets a different segment number, and each segment > is associated with a different ECAM region. That also means the bus > range can start at 0x0 for each segment, as they are completely > disjoint. > > This is a more accurate representation of the physical topology, given > that each host bridge has its own link to the CPU side interconnect, > and so things like peer-to-peer DMA between endpoints does not > generally work unless the endpoints share a segment, especially in the > presence of SMMUs. OK. I have to admit that I never checked how physical NUMA system handles PCI Express. The code in patches was done by comparing with other QEMU targets. To make PCIe in a way you describe we probably need to go to QEMU devel ML and discuss how it can be done there. Or I did not got deep enough into PCIe world to notice how to make it happen with current implementation. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119442): https://edk2.groups.io/g/devel/message/119442 Mute This Topic: https://groups.io/mt/106345969/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-