[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <F5603CBB-31FB-4EE8-B67A-A1F2DBEE28D8@vmware.com>
Date: Thu, 30 Jul 2020 23:23:50 +0000
From: Mike Stunes <mstunes@...are.com>
To: Joerg Roedel <joro@...tes.org>
CC: "x86@...nel.org" <x86@...nel.org>, Joerg Roedel <jroedel@...e.de>,
"hpa@...or.com" <hpa@...or.com>, Andy Lutomirski <luto@...nel.org>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Peter Zijlstra <peterz@...radead.org>,
Jiri Slaby <jslaby@...e.cz>,
Dan Williams <dan.j.williams@...el.com>,
Tom Lendacky <thomas.lendacky@....com>,
Juergen Gross <jgross@...e.com>,
Kees Cook <keescook@...omium.org>,
David Rientjes <rientjes@...gle.com>,
Cfir Cohen <cfir@...gle.com>,
Erdem Aktas <erdemaktas@...gle.com>,
Masami Hiramatsu <mhiramat@...nel.org>,
Sean Christopherson <sean.j.christopherson@...el.com>,
Martin Radev <martin.b.radev@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"kvm@...r.kernel.org" <kvm@...r.kernel.org>,
"virtualization@...ts.linux-foundation.org"
<virtualization@...ts.linux-foundation.org>
Subject: Re: [PATCH v5 00/75] x86: SEV-ES Guest Support
Hi Joerg,
> On Jul 30, 2020, at 5:26 AM, Joerg Roedel <joro@...tes.org> wrote:
>
> Hi Mike,
>
> On Thu, Jul 30, 2020 at 01:27:48AM +0000, Mike Stunes wrote:
>> Thanks for the updated patches! I applied this patch-set onto commit
>> 01634f2bd42e ("Merge branch 'x86/urgent’”) from your tree. It boots,
>> but CPU 1 (on a two-CPU VM) is offline at boot, and `chcpu -e 1` returns:
>>
>> chcpu: CPU 1 enable failed: Input/output error
>>
>> with nothing in dmesg to indicate why it failed. The first thing I thought
>> of was anything relating to the AP jump table, but I haven’t changed
>> anything there on the hypervisor side. Let me know what other data I can
>> provide for you.
>
> Hard to tell, have you enabled FSGSBASE in the guest? If yes, can you
> try to disable it?
Yes, FSGSBASE was enabled. If I disable it*, this kernel boots fine, with
both CPUs online.
*That is, by forcing guest-CPUID[7].EBX bit 0 to 0.
Thanks!
Mike
Powered by blists - more mailing lists