From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH v4 00/75] x86: SEV-ES Guest Support Date: Wed, 22 Jul 2020 19:45:35 +0200 Message-ID: <20200722174535.GJ6132@suse.de> References: <20200714120917.11253-1-joro@8bytes.org> <20200715092456.GE10769@hirez.programming.kicks-ass.net> <20200715093426.GK16200@suse.de> <20200715095556.GI10769@hirez.programming.kicks-ass.net> <20200715101034.GM16200@suse.de> <20200721124957.GD6132@suse.de> <20200722090442.GI6132@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Erdem Aktas Cc: Peter Zijlstra , Joerg Roedel , x86@kernel.org, hpa@zytor.com, Andy Lutomirski , Dave Hansen , Jiri Slaby , Dan Williams , Tom Lendacky , Juergen Gross , Kees Cook , David Rientjes , Cfir Cohen , Masami Hiramatsu , Mike Stunes , Sean Christopherson , Martin Radev , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org List-Id: virtualization@lists.linuxfoundation.org On Wed, Jul 22, 2020 at 09:54:40AM -0700, Erdem Aktas wrote: > I am using a custom, optimized and stripped down version, OVMF build. > Do you think it is because of the OVMF or grub? Not sure, I havn't looked into how grub decides which entry point to use. > In my case, there are 2 places where the CPUID is called: the first > one is to decide if long mode is supported, along with few other > features like SSE support and the second one is to retrieve the > encryption bit location. Yes, it is basically the verify_cpu() function that is causing the trouble. If you want to work around it you can comment it out in that path for testing purposes. Regards, Joerg