From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=66.187.233.73; helo=mx1.redhat.com; envelope-from=lersek@redhat.com; receiver=edk2-devel@lists.01.org Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) (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 27C2D22135D30 for ; Tue, 6 Mar 2018 04:53:14 -0800 (PST) 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 mx1.redhat.com (Postfix) with ESMTPS id 9435EEAEAB; Tue, 6 Mar 2018 12:59:27 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-120-69.rdu2.redhat.com [10.10.120.69]) by smtp.corp.redhat.com (Postfix) with ESMTP id 999582166BAE; Tue, 6 Mar 2018 12:59:26 +0000 (UTC) To: Brijesh Singh , edk2-devel-01 Cc: Jordan Justen , Ard Biesheuvel References: <20180302000408.14201-1-lersek@redhat.com> From: Laszlo Ersek Message-ID: <9c524832-7e87-015f-772c-44ddcda4c107@redhat.com> Date: Tue, 6 Mar 2018 13:59:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 06 Mar 2018 12:59:27 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 06 Mar 2018 12:59:27 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'lersek@redhat.com' RCPT:'' Subject: Re: [PATCH 00/20] OvmfPkg: SEV: decrypt the initial SMRAM save state map for SMBASE relocation X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2018 12:53:15 -0000 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit On 03/02/18 16:21, Brijesh Singh wrote: > > > On 03/01/2018 06:03 PM, Laszlo Ersek wrote: > ... > >> >> I regression-tested my usual non-SEV guests (with Brijesh's v2 2/2 patch >> applied on top, from the above-referenced series), which covers i440fx >> (no SMM, X64), q35 (SMM, IA32 and IA32X64), Fedora and Windows, normal >> boot and S3. >> >> I also tried to test the series with SEV guests (again with Brijesh's v2 >> 2/2 patch applied on top). Unfortunately, I didn't get good results with >> or without SMM. Without SMM, the guest OS boots to a point, but then it >> gets stuck with the CPU spinning. With SMM, OVMF gets stuck in SMBASE >> relocation. >> >> I should mention however that my SEV host setup dates back to November >> 2017, including host kernel, QEMU and guest OS. I suppose all those >> components have seen many changes since, on the respective upstream >> lists. I'll have to work with Brijesh to update my SEV host to the >> latest bits. >> >> Until then, Brijesh, can you please test this series? Thank you! >> > > > I tested the series on SEV and non SEV guest (with my v2 2/2 patch > applied on top of this series). The result is positive,  I am able boot > both SMM and non SMM enabled BIOS. > > Once again, thank you so much for cleanup. > > I will submit by v2 2/2 patch after your series is pushed to the tree. > > Tested-by: Brijesh Singh > Reviewed-by: Brijesh Singh Series pushed: 66f2329446db..5e2e5647b9fb. Thanks! Laszlo