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 D3224AC0FBE for ; Mon, 25 Nov 2024 11:47:31 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=aD+LdttnhHzDNunuQi9WouHW0b/j8yt9wkHZFk4uq1s=; c=relaxed/simple; d=groups.io; h=Date:From:To:Subject:Message-ID:References:MIME-Version: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-Type:Content-Disposition; s=20240830; t=1732535251; v=1; x=1732794450; b=Vvh97tAog/8WGcBrmbd0+Lopvs7BHLAgMzObJ7hsg0EVH8T3b//rPhMCh1/O8PQPtftQ0XpK R2urkGLGahJsXYLmxqk7MSzBUo7pFDDtRzhMabdIK1wmHkyeDbA7Aqk/Ujro2+Ay+SOvrMMP1vY IARBCdLbS3YpB1kAk4ctKQC4o6ILtNygZctGc9ukFRHfR3DRwveB25c5taWPrx/w+K1fzUkGQ4L FyI0GwK1lUAED89KCKC9vNp43C9zxZV32Y+IHQFPuUkAZ5yG3LhpFwlUKEipDW+Qr8HJ0HpGoxK 9mIHd+b4sajssFqXCa1586B9iGcVYpYCrgLKdYVGfDHvg== X-Received: by 127.0.0.2 with SMTP id 5tXTYY7687511x6dEUxgbLsK; Mon, 25 Nov 2024 03:47:30 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web10.16906.1732535244604426984 for ; Mon, 25 Nov 2024 03:47:24 -0800 X-Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-91-sA6iKEpSPQiidlCroMoANQ-1; Mon, 25 Nov 2024 06:47:20 -0500 X-MC-Unique: sA6iKEpSPQiidlCroMoANQ-1 X-Mimecast-MFC-AGG-ID: sA6iKEpSPQiidlCroMoANQ X-Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id B91ED19560B0; Mon, 25 Nov 2024 11:47:19 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.192.111]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 6C07630000DF; Mon, 25 Nov 2024 11:47:19 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 109E31800392; Mon, 25 Nov 2024 12:47:17 +0100 (CET) Date: Mon, 25 Nov 2024 12:47:16 +0100 From: "Gerd Hoffmann via groups.io" To: devel@edk2.groups.io, mitchell.augustin@canonical.com Subject: Re: [edk2-devel] [BUG] Extremely slow boot times with CPU and GPU passthrough and host phys-bits > 40 Message-ID: References: <5971.1732314734914804329@groups.io> <14003.1732413940796322655@groups.io> MIME-Version: 1.0 In-Reply-To: <14003.1732413940796322655@groups.io> X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: TIe9zcn-QvKzqSiMPItwM5RgP6yZLLTwtBceioRZR24_1732535239 X-Mimecast-Originator: redhat.com 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: Mon, 25 Nov 2024 03:47:24 -0800 Resent-From: kraxel@redhat.com Reply-To: devel@edk2.groups.io,kraxel@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: CTjoKl3jRcA8DtAI0E1CdoDbx7686176AA= Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=Vvh97tAo; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io On Sat, Nov 23, 2024 at 06:05:40PM -0800, mitchell.augustin via groups.io wrote: > Hi again, > I have a more specific version of a prior question: Is there some > fw_cfg flag that would simply allow me to use the classic MMIO window, > in effect keeping PlatformInfoHob->PcdPciMmio64Size and > PlatformInfoHob->PcdPciMmio64Base set to what they would be with the > PlatformDynamicMmioWindow patch ( > https://github.com/tianocore/edk2/commit/ecb778d0ac62560aa172786ba19521f27bc3f650 > ) disabled? Not directly. OVMF considers PcdPciMmio64Size being the minimum size. Rf the dynamic mmio window would be larger it will simply use the dynamic mmio window, otherwise the PcdPciMmio64Size + PcdPciMmio64Base values. The dynamic mmio windos is 1/8 of the address space, i.e. for phys-bits=42 (4TB address space) the dynamic mmio window size is 512GB. In that case you can set PcdPciMmio64Size to 1TB and PcdPciMmio64Base to 1 or 2 or 3 TB and OVMF should use these values. take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120831): https://edk2.groups.io/g/devel/message/120831 Mute This Topic: https://groups.io/mt/109651206/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-