From mboxrd@z Thu Jan 1 00:00:00 1970 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.16548.1673019145395361857 for ; Fri, 06 Jan 2023 07:32:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PSEe9UBq; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673019144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1yYMIC6Gtsji+lK8sXf+G/e2JvjLkuqiEOUWtybHvrM=; b=PSEe9UBqhhQOMNZQ5ksRRR8baqaagHtO8CLL2YH6qK63Hnl83J71L6JNfN36QTXZB4p5FS QSZQS0OG2YhtZ4RXDIcQT+lqKSHG29F9Q9rZY1QOaLwT7TsQgPrCut4UFuCL+RTlSjJrpI vB1pm5WZMYooP0A2ySjDJC9cJJUMlmk= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-523-ooxDI2-vMvGcl9rP_Mh9MA-1; Fri, 06 Jan 2023 10:32:21 -0500 X-MC-Unique: ooxDI2-vMvGcl9rP_Mh9MA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7E185802C1C; Fri, 6 Jan 2023 15:32:20 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.238]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4E19C2166B30; Fri, 6 Jan 2023 15:32:20 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id E738B18009AB; Fri, 6 Jan 2023 16:32:18 +0100 (CET) Date: Fri, 6 Jan 2023 16:32:18 +0100 From: "Gerd Hoffmann" To: Ard Biesheuvel Cc: devel@edk2.groups.io, Ard Biesheuvel , =?utf-8?B?TMOhc3psw7Mgw4lyc2Vr?= , Jordan Justen , Pawel Polawski , Oliver Steffen , Jiewen Yao Subject: Re: [PATCH 0/2] OvmfPkg: check 64bit mmio window for resource conflicts Message-ID: <20230106153218.uxvl6vttwes4k4mh@sirius.home.kraxel.org> References: <20230106140403.2889131-1-kraxel@redhat.com> MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jan 06, 2023 at 03:14:53PM +0100, Ard Biesheuvel wrote: > Hi Gerd, > > On Fri, 6 Jan 2023 at 15:04, Gerd Hoffmann wrote: > > > > > > > > Gerd Hoffmann (2): > > OvmfPkg/PlatformInitLib: update PlatformScanOrAdd64BitE820Ram > > documentation > > OvmfPkg/PlatformInitLib: check 64bit mmio window for resource > > conflicts > > > > OvmfPkg/Library/PlatformInitLib/MemDetect.c | 63 +++++++++++++++++---- > > 1 file changed, 51 insertions(+), 12 deletions(-) > > > > Mind adding a teeny bit of context to explain why this is needed? No > need to respin or anything - just want to make sure i understand the > problem and the solution. qemu reserves some address space below 1TB when emulating amd processors because that is the address range used by the amd iommu. This avoids placing the mmio window at a overlapping range. https://bugzilla.tianocore.org/show_bug.cgi?id=4251 (guess I should add a link to the commit message ...) take care, Gerd