Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp118001ybb; Thu, 19 Mar 2020 12:42:41 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtIOzrPwqmel6tXLDZAoAz2kF2PCwprg27ePnhUpExEgS1RoYfCov1CAiPVpxHnF9SGEloZ X-Received: by 2002:aca:a94a:: with SMTP id s71mr3522555oie.152.1584646961820; Thu, 19 Mar 2020 12:42:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584646961; cv=none; d=google.com; s=arc-20160816; b=bJvbIn5QPLvAOVTae6ZQj7RU9QZbo6Tgmh82IddzHiFiCqeLwHnrUMqizSFIQuekqQ yZGJjnxZsaqDZFFscRXB1mwMrxse1vTXarRjyt9CrRj83KFJgNICmhVccx6Uj6IQZI6h GTvdTrZQtpKRTJYlmLD3TRyOixdkCjRLZjR/uXWM7eNDJbhPDyqdhUH76ISgI5yijw3j nK2v8+mBDwIgW+2bWPGJg1TTGYxWcj8BZVYLEdsSaDJLhHYzbsw55Faxgb3wJSPC5TRz 2RCrO4uKd0K3NfvpQ+O/7MWFRGr/acyLYgHYx0ykJztF/HfWZzUbkhF3rXGB3QzsIYjM h/+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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ugn4RhI/D5f2RzV8P9P18uH6kWEZOJ48WxOwPkq6n6k=; b=QMUZB9r7v6GgnVUC1pXmIVxTWiw4+QzwgpCZyTXHXOWmGDlOE4AMgPmgrn8hQ5fQIP J0UUmqLpvwbPWuS4yqDU9o6BYghoWrQyXqF6DPXwigs53RjeyRTrNhbU/VKECxhca5qA THRrloiGEEmK9gA27IgKcyKsGWGRM+P1o3SJlawzUpVV3fswaeJ2DiDXFacDiRoOCa+l SU4V54t76wAg/HGYgthvyCEt7iBYXkzlLsyswvwb93FvqPYOASUPATKuOUh/VYt7tQun cjdnLDByMdpQtxMt3cANIAeD8KIiH17OHOHXxUU5XRhETahQcKHhnA9DCMln8akHQs5D PJSQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m185si1135540oib.102.2020.03.19.12.42.28; Thu, 19 Mar 2020 12:42:41 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727260AbgCSTlp (ORCPT + 99 others); Thu, 19 Mar 2020 15:41:45 -0400 Received: from mx2.suse.de ([195.135.220.15]:54830 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726895AbgCSTlo (ORCPT ); Thu, 19 Mar 2020 15:41:44 -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 E7A76AD03; Thu, 19 Mar 2020 19:41:42 +0000 (UTC) Date: Thu, 19 Mar 2020 20:41:31 +0100 From: Joerg Roedel To: Mika =?iso-8859-1?Q?Penttil=E4?= Cc: Joerg Roedel , 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 Subject: Re: [PATCH 70/70] x86/sev-es: Add NMI state tracking Message-ID: <20200319194131.GF611@suse.de> References: <20200319091407.1481-1-joro@8bytes.org> <20200319091407.1481-71-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 06:53:29PM +0200, Mika Penttil? wrote: > > +SYM_CODE_START(sev_es_iret_user) > > > What makes kernel jump here? Can't see this referenced from anywhere? Sorry, it is just a left-over from a previous version of this patch (which implemented the single-step-over-iret). This label is not used anymore. The jump to it was in swapgs_restore_regs_and_return_to_usermode, after checking the sev_es_in_nmi flag. Regards, Joerg