Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1065703ybb; Fri, 20 Mar 2020 12:43:57 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvwG1oL44ZG1VIcAhRuBw5YR4hKzRf3LB4G63BSKDdSutN41llJzkq+SMpwqc6jE6t1ObBn X-Received: by 2002:a9d:1d43:: with SMTP id m61mr8280545otm.91.1584733436957; Fri, 20 Mar 2020 12:43:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584733436; cv=none; d=google.com; s=arc-20160816; b=j8Jhhif21R3/VNU0UQxqB7w1B4+AhXdxwQRYQPfGV+N5RnHdqKuO06Ij98F8qIV7gO KAsKPIjqFXvfj0RD4uNmYfy8Yw6hLaZPYoi8PACwoXbYPhdOazpZwbs9qvGFgsIdp/Ld TMAHjadZZO2sRUNqKmcyUTe065J6afdTIsR6qLhggigXByXdF+oxLvY9wbo4ZAXSpPhZ mLK1ogdInSbwZZfU9zV1AWRoX4VEg7ttQlhK+UNH5CjK/keRB/i/oPn6UeM3fDp7Rqke M07ewnd5WUt8WBbq9QxEW2XlfU/uV8T6SD2wkFkJE1jNc4+G+Ko3FPI4GN/QxvaE/L/S IupA== 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=iL5qLh92O4CluXYnxHBqGjRU8hQ4FFm3/Zbe131CLH4=; b=ogNFaDTyn+5+wouFlW+Av7D6DXNvswz40uCEF4gCSqsa5jVcJFm5gRW4ot9PE29EdN JRQalNYRAlXQGEwRlM/rbiQCd7M30VHqM5wGw5CIZJXAHl6xu2Iji5EEhjs0ifCNKazx SPAA/QY6IlAm7nwdavuqb9bCANNDj92vF3H2lq7D6LCZS8pTHx1eNpx8Uz9ja7iySVvc HQ+vZ1MUHKg1XKNvU3BiriRQRlHNJFkBFT3VUziF3PVPBAANuMZTrSaYvDaevJYbaWC3 IFACqV5u+Wr+Pp2nyMvwdDWkpyitCS4+kpYylwxtJw60ArLifAaVJkR2yX5lnmxKhHbZ YlxQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x188si3182108oig.140.2020.03.20.12.43.44; Fri, 20 Mar 2020 12:43:56 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726955AbgCTTm7 (ORCPT + 99 others); Fri, 20 Mar 2020 15:42:59 -0400 Received: from 8bytes.org ([81.169.241.247]:54608 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726843AbgCTTm6 (ORCPT ); Fri, 20 Mar 2020 15:42:58 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id CD3DA4CA; Fri, 20 Mar 2020 20:42:56 +0100 (CET) Date: Fri, 20 Mar 2020 20:42:52 +0100 From: Joerg Roedel To: Dave Hansen Cc: Andy Lutomirski , X86 ML , "H. Peter Anvin" , Dave Hansen , Peter Zijlstra , Thomas Hellstrom , Jiri Slaby , Dan Williams , Tom Lendacky , Juergen Gross , Kees Cook , LKML , kvm list , Linux Virtualization , Joerg Roedel Subject: Re: [RFC PATCH v2.1] x86/sev-es: Handle NMI State Message-ID: <20200320194251.GI5122@8bytes.org> References: <20200319091407.1481-1-joro@8bytes.org> <20200319091407.1481-71-joro@8bytes.org> <20200320131707.GF5122@8bytes.org> <7d1ee9d9-d333-4529-b21b-19758c99e029@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7d1ee9d9-d333-4529-b21b-19758c99e029@intel.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 Fri, Mar 20, 2020 at 07:42:09AM -0700, Dave Hansen wrote: > FWIW, perf plus the x86 selftests run in a big loop was my best way of > stressing the NMI path when we mucked with it for PTI. The selftests > make sure to hit some of the more rare entry/exit paths. Yeah, I ran the x86 selftests in an SEV-ES guest on-top of these patches, that works. But doing this together with 'perf top' is also on the list of tests to do. Regards, Joerg