Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp371715ybh; Wed, 15 Jul 2020 04:21:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoa+5+VBl28OzSk4QVNhGRYK34QsSl/kVhIASWBRxBuGoOhTD+YCx4fTmrsDEkTsuVYb90 X-Received: by 2002:aa7:d1c8:: with SMTP id g8mr9115561edp.337.1594812069529; Wed, 15 Jul 2020 04:21:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594812069; cv=none; d=google.com; s=arc-20160816; b=SeoveTR6DrU3XR+uenlH2AEvBrTNsQb2yhf8BkYKTR13L7LvrHhzRo42VIsvQ3+4S7 zQEAd4nOAoKmsMUf+WSg5NochjZmpamotpSHHaMdZxiyRHO1/D+aVeyzQKDDr0XR7dcg 6k4HqHUV32Fw8NuifvaL97NsEYhfY/V8Zq3DS7ICnfVwHWGRYM8d/G/xOj2HC3PtlsLu FqzQsen7LoHjqaRHqEnClR4dF9y5n0JnSHBPWNxAZwurwJ7nwjmd/N0gh7CGLVN3zQn+ ncPHD94mXx3dlxeXsg1lAej0eQaFmQ0QzvHzIcoLqAZ7eWeoKGSRXw9L54LlthHOuDGS Rc/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ny0uUjop41zfgPeRRUEgwjhhaSOIzyZ4+gEz4j+5xrk=; b=Lvz6/CWak5vPTWWkpQClNbZjFUdYVJpo0QahMosOMB0lFRDr3K6wLtCprzfW5jfnqm 9fG2F2PjevE9VTS4qDY447f5NvUHVyAXLWTLZ8vPhOsyNUApQRjTu8Wjb7AzM3CxpLIc SP4z3ulc0SIGB+gxxkwDaAyWKcySqHsM2PYxWVIN7DPFpRmMaVvEjhrzPg8iscwse64M m+ju9RIOQr1cObdAu1aHjAIjViIilFLkOsfgpyR0ta8NWl5m4Q8L/27oW/ELCmUSigiM F6dqPoRMd6Zbe889a8EkO2HUzi4zIBsT+cPahjN+aiVnQyiN8/wfK4FgvrFK4JIt/c5R DvVA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dh22si1073473edb.38.2020.07.15.04.20.46; Wed, 15 Jul 2020 04:21:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731028AbgGOKKi (ORCPT + 99 others); Wed, 15 Jul 2020 06:10:38 -0400 Received: from [195.135.220.15] ([195.135.220.15]:41522 "EHLO mx2.suse.de" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1725850AbgGOKKi (ORCPT ); Wed, 15 Jul 2020 06:10:38 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id E8490B6D9; Wed, 15 Jul 2020 10:10:39 +0000 (UTC) Date: Wed, 15 Jul 2020 12:10:34 +0200 From: Joerg Roedel To: Peter Zijlstra Cc: 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 , Erdem Aktas , Masami Hiramatsu , Mike Stunes , Sean Christopherson , Martin Radev , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCH v4 00/75] x86: SEV-ES Guest Support Message-ID: <20200715101034.GM16200@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200715095556.GI10769@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 15, 2020 at 11:55:56AM +0200, Peter Zijlstra wrote: > And recursive #VC was instant death, right? Because there's no way to > avoid IST stack corruption in that case. Right, a #VC exception while still on the IST stack must instantly kill the VM. That needs an additional check which is not implemented yet, as it only becomes necessary with SNP. Regards, Joerg