Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5450305ybv; Tue, 11 Feb 2020 16:12:45 -0800 (PST) X-Google-Smtp-Source: APXvYqzqkax9oxxdv4FdODIdXqLmnnE1lVyIAkIuivueM6duXDGyCXWnhcJScdo+li5qux13EZ5V X-Received: by 2002:aca:44c1:: with SMTP id r184mr4324332oia.151.1581466365544; Tue, 11 Feb 2020 16:12:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581466365; cv=none; d=google.com; s=arc-20160816; b=Ag3YMvZ7WhVE/laD1A7a1YAoYEHLs8SXS01oPLZrnve7xTn1O3OYi5RcD6di1CgJvL 9kVpTN1UbnjTZRFU7cNePWL7yfntlY5fiyIoZ5E4vAtvDlUKQN/VuO6ecoxEp8DMJpEN YL1j/qpHkutWo3dXiCcbkm160hXrNKqbtG1G50Axrqfg8r+BntIkI5xDtoi79BWRzhFY tLNrQJpdV2BrEh+FwocekyJNrHWGq5W+y34WLDaktw+EbWb2z5HMCPHNUzrg1fjBxppc CAOLktycLZdRvTZJnOlvzX0jjzaOEpKdvLEIMQXhL76EIXl2wYTLQAftqjBvYJjSVBn2 ijuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:cc:references:message-id :date:subject:mime-version:from:content-transfer-encoding :dkim-signature; bh=Pr1WOT/2gw7Ui+bqMEREVDpwEXR+a792WriIpzt4B7s=; b=STQtTMiQ6hlExS7VjxMiBI1FOjyZcc3KQhAjxbxB2ZApUxsj59mwuBDwzcoDh/SD4q je0XIlv/OpwSRFEFTyhFLvoU2pYMY3aNn+DwvWhs7daosSmElmd8SKTJwow0pzRXTjqG KJ85gHSaSFXGC0VZAe6re6PbObEDgSYnkvc9bGolBYGXHJkXK8FDi/g8N7sHsJ7NdVNY LWVraMgYMu7ohy9tYoXjocBuVjGvxKtevrQv4f5VkjzpJWrIt6qMihIcn1wEUZktNRRZ 15ln3YyY3ONSZJYRSbsUYpWEOh5EWQ+F3qaw7AjOQW3R74QBthmQhSPu593k2deRuV6h nfXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=hAaKEW5q; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i10si2692707otk.195.2020.02.11.16.12.32; Tue, 11 Feb 2020 16:12:45 -0800 (PST) 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=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=hAaKEW5q; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728044AbgBLAMW (ORCPT + 99 others); Tue, 11 Feb 2020 19:12:22 -0500 Received: from mail-pj1-f66.google.com ([209.85.216.66]:37314 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728005AbgBLAMW (ORCPT ); Tue, 11 Feb 2020 19:12:22 -0500 Received: by mail-pj1-f66.google.com with SMTP id m13so68569pjb.2 for ; Tue, 11 Feb 2020 16:12:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=Pr1WOT/2gw7Ui+bqMEREVDpwEXR+a792WriIpzt4B7s=; b=hAaKEW5qHGtMe9K0r+9i4uWI4R3ZoMh+/psZvnhtmZTk8JOlUtnKNNqWB1Mirb283u tG7MUfH6JiABF4KWtCFqWV73gNqKtPEQKLHogaYe8okqGHgb41jbwJFPJwr3nCY+7Uu0 T/koDrUYm446tI/FyX3ntJioWz/ASvkIV9/Aqins4Pg65CroAuLWyUqnU0z4/e+lzOGd H+tNqNK+H3oELg6622w0cA/vLZHwFQP4DADvL9QeLgEmFSa7g7ujy4w0ZORVsA3W9wdC 1PX32M5zF1910+L6+bdy1KG8CFVS1lnzY4+mG1qBmljFTOZ+Xdg0gqx4CqnDL8Y7kDGy uoiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=Pr1WOT/2gw7Ui+bqMEREVDpwEXR+a792WriIpzt4B7s=; b=RdCRX+TnXvYishzVwV6VgxgArkHccPA1fyL0XRktkxpvVR8LlfJ5mUlD4dNNHtlcuy PrlmleZHw7B2l+F7LMgMHSlOrr+61aPM/KfJHNjxBAbhL4GIPiouohHzgbvJCX/ut5lC PAfN+nMsm2RnmmwYMDzJXAeRySS0Nm83/e/FPB0wnsIH6yUZrHgoExfbFj+s5FN4KJfR gzXm+x8j+WUsxHdUTEPb1Hh+yJ0+opPXzIMqWuUt2O+tjEYdXmGPeIugZAe3WRRLMidl jhtiQbV8GPS0O3GJGlpJj7+/cFEbRB6hlYWSSsB1UhVaJkZwfeWLHz0HHjQY+jLX/GaQ GwKw== X-Gm-Message-State: APjAAAV0BAzWlk5vHJCl1E3XoXoLZp1qkJOlULh2Td7hKT/IcrGqI+Re 1e3XT3MWJ5Q5v/U/HKBgOf45d2daTlE= X-Received: by 2002:a17:90a:db48:: with SMTP id u8mr6623427pjx.54.1581466341415; Tue, 11 Feb 2020 16:12:21 -0800 (PST) Received: from ?IPv6:2600:1010:b06b:b0e7:939:1384:befb:d8c9? ([2600:1010:b06b:b0e7:939:1384:befb:d8c9]) by smtp.gmail.com with ESMTPSA id r9sm5705115pfl.136.2020.02.11.16.12.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Feb 2020 16:12:20 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Andy Lutomirski Mime-Version: 1.0 (1.0) Subject: Re: [PATCH 46/62] x86/sev-es: Handle INVD Events Date: Tue, 11 Feb 2020 16:12:19 -0800 Message-Id: References: <20200211135256.24617-47-joro@8bytes.org> 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 In-Reply-To: <20200211135256.24617-47-joro@8bytes.org> To: Joerg Roedel X-Mailer: iPhone Mail (17D50) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Feb 11, 2020, at 5:53 AM, Joerg Roedel wrote: >=20 > =EF=BB=BFFrom: Tom Lendacky >=20 > Implement a handler for #VC exceptions caused by INVD instructions. Uh, what? Surely the #VC code can have a catch-all OOPS path for things lik= e this. Linux should never ever do INVD.=