Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp713251ybz; Wed, 15 Apr 2020 17:18:28 -0700 (PDT) X-Google-Smtp-Source: APiQypJiyor3c8f7lkMeSxTD2NM/fWkFIomH+irk4DfcWsB/oQfS3o5aqg+ZbGd//GebI2tJESPc X-Received: by 2002:a17:906:82d2:: with SMTP id a18mr7228368ejy.373.1586996308286; Wed, 15 Apr 2020 17:18:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586996308; cv=none; d=google.com; s=arc-20160816; b=ni7xvtXcfx6rZpw4LtO1q5AGA/JfMpQ7pzW+LzIuMe5rQrT4y1IeYhpuIfxemZLv6T VZ1tlPBfMkM7YLc1fSsBijfylDWgMRcxIr0Ks1QRfirzBqNqSM4RC0oTSi8RprzKkoy6 c6hiCXkWuN7dve5TP4J6kkOA/AN37dqCI+TDnEzDacIWSv1/tINipSJi6yPPw2YRpspw rHU0Jy3AwH+tm5uLO8litFEhl8GmZdt/ylVOA0MPfqNDxd87r3bmybK0bgvQgxUF2GI7 0+haSUHex2bs1K2pPQ+diUL+DxSzpFg2QF/LSspdX9Ueo9K3ls67NdvMk18UMmGLQ0cq jEhA== 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=jV9OdmZpkALnA6lEHbDoW656tK7Gu9CXmy0RlsHWZpg=; b=bF1xDeBs2P6euNWPKGX1oJwV3uzWjKoFe617COYBRZwvi+KyCSycP0RrHvvwoZQmhV sQBI7yOK6pw7PoK1OUS4DJPnMn8Qxrg4k6S1vvpYvvLi3clW+R0O4+cTfKR33jXQXLTI kqaKEWIdeZB+1TlviYQlqgDHTDFrwMT9hj8RBvBqmZLPQQr3xmTjU+w5/CdYHtzNW/yF DJ16GFhL/iDlb2qL4wfsaUk/7FsIp5sw4O2HQVGza8ydJzHPXCzPNudw52PsN/9WtRie sFmLrTU87osKa//IWOWwwpaF5BAXBagQTW/jAG0O0+zwIzZrTdVuLNhm58b+q1RGaTQq rXIg== 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 q18si10378975ejm.497.2020.04.15.17.18.04; Wed, 15 Apr 2020 17:18:28 -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 S1414962AbgDOPye (ORCPT + 99 others); Wed, 15 Apr 2020 11:54:34 -0400 Received: from mx2.suse.de ([195.135.220.15]:55580 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1414948AbgDOPyc (ORCPT ); Wed, 15 Apr 2020 11:54:32 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 9F4A8ACA1; Wed, 15 Apr 2020 15:54:29 +0000 (UTC) Date: Wed, 15 Apr 2020 17:54:28 +0200 From: Joerg Roedel To: Tom Lendacky Cc: Mike Stunes , Joerg Roedel , "x86@kernel.org" , "hpa@zytor.com" , Andy Lutomirski , Dave Hansen , Peter Zijlstra , Thomas Hellstrom , Jiri Slaby , Dan Williams , Juergen Gross , Kees Cook , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "virtualization@lists.linux-foundation.org" Subject: Re: [PATCH 40/70] x86/sev-es: Setup per-cpu GHCBs for the runtime handler Message-ID: <20200415155428.GE21899@suse.de> References: <20200319091407.1481-1-joro@8bytes.org> <20200319091407.1481-41-joro@8bytes.org> <09757a84-1d81-74d5-c425-cff241f02ab9@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <09757a84-1d81-74d5-c425-cff241f02ab9@amd.com> 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 Tue, Apr 14, 2020 at 03:04:42PM -0500, Tom Lendacky wrote: > At that point the guest won't be able to communicate with the hypervisor, > too. Maybe we should BUG() here to terminate further processing? We could talk to the hypervisor, there is still the boot-GHCB in the bss-decrypted section. But there is nothing that could be done here anyway besides terminating the guest. Regards, Joerg