From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=209.132.183.28; helo=mx1.redhat.com; envelope-from=lersek@redhat.com; receiver=edk2-devel@lists.01.org Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5CA5721B00DC1 for ; Fri, 17 Nov 2017 09:44:38 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 03254FC7B9; Fri, 17 Nov 2017 17:48:49 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-124-49.rdu2.redhat.com [10.10.124.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id AE8395D962; Fri, 17 Nov 2017 17:48:47 +0000 (UTC) To: Paolo Bonzini , edk2-devel@lists.01.org Cc: Jordan Justen , Ard Biesheuvel References: <20171116203100.28085-1-pbonzini@redhat.com> From: Laszlo Ersek Message-ID: <8789c7e9-c600-5379-cad3-e65afabdd464@redhat.com> Date: Fri, 17 Nov 2017 18:48:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171116203100.28085-1-pbonzini@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Fri, 17 Nov 2017 17:48:49 +0000 (UTC) Subject: Re: [PATCH v3 0/3] OvmfPkg: save on I/O port accesses when the debug port is not in use X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2017 17:44:38 -0000 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 11/16/17 21:30, Paolo Bonzini wrote: > This is version 3 of the series to skip debug port I/O port writes > when the debug port device wasn't added to the virtual machine. > The differences from v2 are entirely cosmetic, and I'm including them > at the end of this message for ease of review. That's appreciated :) Pushed as commit range d41fd8e839a3..c09d9571300a. Many thanks for the contribution! Laszlo > > Thanks, > > Paolo > > Paolo Bonzini (3): > OvmfPkg: make PlatformDebugLibIoPort a proper BASE library > OvmfPkg: create a separate PlatformDebugLibIoPort instance for SEC > OvmfPkg: save on I/O port accesses when the debug port is not in use > > OvmfPkg/OvmfPkgIa32.dsc | 2 +- > OvmfPkg/OvmfPkgIa32X64.dsc | 2 +- > OvmfPkg/OvmfPkgX64.dsc | 2 +- > OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf | 3 ++- > OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf | 52 +++++++++++++++++++++++++++++++++++++++++ > OvmfPkg/Library/PlatformDebugLibIoPort/DebugLibDetect.h | 55 ++++++++++++++++++++++++++++++++++++++++++++ > OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c | 44 +++++++++++++++++++---------------- > OvmfPkg/Library/PlatformDebugLibIoPort/DebugLibDetect.c | 55 ++++++++++++++++++++++++++++++++++++++++++++ > OvmfPkg/Library/PlatformDebugLibIoPort/DebugLibDetectRom.c | 48 ++++++++++++++++++++++++++++++++++++++ > 9 files changed, 241 insertions(+), 24 deletions(-) > create mode 100644 OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf > create mode 100644 OvmfPkg/Library/PlatformDebugLibIoPort/DebugLibDetect.h > create mode 100644 OvmfPkg/Library/PlatformDebugLibIoPort/DebugLibDetect.c > create mode 100644 OvmfPkg/Library/PlatformDebugLibIoPort/DebugLibDetectRom.c >