Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3267921ybb; Mon, 6 Apr 2020 05:42:04 -0700 (PDT) X-Google-Smtp-Source: APiQypKAsNYV4u0wPKzpG57mAz02MeWzIv1FukdMlUHPpUGzZMAKFwQHEjnHx98kETr3HWpmqjdh X-Received: by 2002:a9d:17ec:: with SMTP id j99mr16923039otj.213.1586176923993; Mon, 06 Apr 2020 05:42:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586176923; cv=none; d=google.com; s=arc-20160816; b=Nn4b1W5HSEYGfr2jDnk/PJZrJuInAo6kGcdT6C+DHQgCkUZHNvX4kF5hnoGBHRZuLC Cee6XxlOTVzLMEMiTeIQGpOJoQE+/wHOrSVppY8RKl1LDSt3i/V3TffNwvLxHtSkMTvC bwloeQMS8bGomXL8rcxX0J+JDwDiWedxMD9CbGKThljU/16AuG7iD82kfmnv0ZySt3Si B58SJi6AB1to5TkaLNSV9eT3nkSVoQL4vtNnej6gGlcgl8aKlqbTb2HGJo3kuFp2jHM2 TV16OBkllj4CnWD1OpH/rKYkVedK71N8621BEiR3WDyQaVIOvaF4GdmrSrn2z9+PVkjw Egaw== 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:dkim-signature; bh=PbaBekgCD+MeWyYk1vRkkQPU2yAt2/j+9avcpCI88LE=; b=wxkSZuip+Gz50Ik1wKrhDRWhykckV9U+jUQHQSy3UjBMLwcr4b5nel2cnfyxv96+Dr Fj5rvenECdQ27tLs0UY8wJSW9qfvImAgD7u0SEh+URhEhbrDcPQ9+sa30ojcRND/r2yP QoRoL8NAqFEIxvVIZ1doggvcctY/nkre7vaQT8eYEEX+g/0HetdbEM2uZOBUeWV5CZhK +Nxjyzo7kBYFuZj7iMhVx1MQ1ClPKQLOrizgWG88eFAJ6g3Mf1hEJqX3/CCnEsfIlwxm PUnuzbBbjQm79mSO0jB/hSsshu39aTDYWZfhm7WxBqPO6bDwFovfHSKsY91O44YZ4V1k R0VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=UEY77Gv5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r20si7537133oog.74.2020.04.06.05.41.50; Mon, 06 Apr 2020 05:42:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=UEY77Gv5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728035AbgDFMl3 (ORCPT + 99 others); Mon, 6 Apr 2020 08:41:29 -0400 Received: from mail.skyhub.de ([5.9.137.197]:34944 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728005AbgDFMl3 (ORCPT ); Mon, 6 Apr 2020 08:41:29 -0400 Received: from zn.tnic (p200300EC2F04F600C571FE02886A814C.dip0.t-ipconnect.de [IPv6:2003:ec:2f04:f600:c571:fe02:886a:814c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 89F001EC0C97; Mon, 6 Apr 2020 14:41:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1586176887; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=PbaBekgCD+MeWyYk1vRkkQPU2yAt2/j+9avcpCI88LE=; b=UEY77Gv5ArFCMO1FwtAfGHdXL/PbVEHaPP5I4lJUZvrVz9+QQCPvHfTkWcEzm503GpFgue piAeGh2vlK1frRBdUfv6oqzgi1QgaCwpAEO+RIkfrXF6K6j6NVV4reEqzxS58IswwexQrJ LY4CL2BMrwv2smovKGngto6QUgLDOtU= Date: Mon, 6 Apr 2020 14:41:24 +0200 From: Borislav Petkov To: Joerg Roedel Cc: x86@kernel.org, hpa@zytor.com, Andy Lutomirski , Dave Hansen , Peter Zijlstra , Thomas Hellstrom , Jiri Slaby , Dan Williams , Tom Lendacky , Juergen Gross , Kees Cook , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, Joerg Roedel Subject: Re: [PATCH 18/70] x86/boot/compressed/64: Add stage1 #VC handler Message-ID: <20200406124123.GE2520@zn.tnic> References: <20200319091407.1481-1-joro@8bytes.org> <20200319091407.1481-19-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200319091407.1481-19-joro@8bytes.org> 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 Thu, Mar 19, 2020 at 10:13:15AM +0100, Joerg Roedel wrote: > diff --git a/arch/x86/boot/compressed/idt_handlers_64.S b/arch/x86/boot/compressed/idt_handlers_64.S > index bfb3fc5aa144..67ddafab2943 100644 > --- a/arch/x86/boot/compressed/idt_handlers_64.S > +++ b/arch/x86/boot/compressed/idt_handlers_64.S > @@ -75,3 +75,7 @@ SYM_FUNC_END(\name) > .code64 > > EXCEPTION_HANDLER boot_pf_handler do_boot_page_fault error_code=1 > + > +#ifdef CONFIG_AMD_MEM_ENCRYPT > +EXCEPTION_HANDLER boot_stage1_vc_handler vc_no_ghcb_handler error_code=1 Like the others boot_stage1_vc do_boot_stage1_vc ... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette