Received: by 10.223.176.46 with SMTP id f43csp1432679wra; Wed, 24 Jan 2018 16:54:03 -0800 (PST) X-Google-Smtp-Source: AH8x225SiQagOmwJHucl6oVmPX/9dXwSQWhwsrNA+2Ga+/YebhuH56U1GhF7NRFDQZARH1zxPe5K X-Received: by 2002:a17:902:8549:: with SMTP id d9-v6mr10159947plo.121.1516841643387; Wed, 24 Jan 2018 16:54:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516841643; cv=none; d=google.com; s=arc-20160816; b=vcvqhFWS+lEPKGWjXClGc66VNYpS0iWd058QC7a9s3QB+8j5q1n7PKmDEGYA+hEraF hBEU39HQn0HFJrZdn8a/1K9RwaCymBJZK00IRCkl2ythP3fTIQGVw+B1secNo24jn/A+ 63mCHIXoT8bg3zsJKBzZXlN00dZy4TEPuq1oLzw/mufBCAxVrf0gywndsVPi+80ByR61 VkzNX+E2uhhOujRczbM+JhlxMGnOvp0bAzEPBbtlU1ELJrGsgKku3FH/WjtFMKjqkptl r4WZMb6yiDQRYVt/Z3mU5NurfXdIrwZt8xnPqUmCLvxLdlYMnMP42EmE/Fo0479msNRw PQRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=990+fV5Va8nYJVsJT/XjZFH8XZFgowE8/H4RCW9AIds=; b=nW5YgtsDEp8OyPK+uUMx2lGBC1M5YXWfKeSGWXHwG5tc5lWwTA/cckfPZka2k92I3B ss04O7zvwQME8+QqTrpdeSn7Ih4twjDgqBpVFAIHu9jXzxOvZrwk94sciaFRaihAMZwu Dot3ddBm912ZBUf/M3jdSktTZ8zZiH+qjDI3RQDlygGRSmfhOHw/+YexFteQmD4Jv9we djbORmj5a2B3XR0GikvrsUWS2Tq05zKIa/KK/7n+HLmkhRUwParX+dbAfZ5BvXcFxo07 GBGVRRRBV6sCa6C7bfImUL4BYPzVCOYSUg1qae3RCIe3p+mkSFbeCFG8Ulnz5FOX9YUk oLtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=F3Ei+chg; 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=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u79si3680384pfi.315.2018.01.24.16.53.48; Wed, 24 Jan 2018 16:54:03 -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=@gmail.com header.s=20161025 header.b=F3Ei+chg; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932902AbeAYAx2 (ORCPT + 99 others); Wed, 24 Jan 2018 19:53:28 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:34294 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932250AbeAYAx0 (ORCPT ); Wed, 24 Jan 2018 19:53:26 -0500 Received: by mail-pf0-f196.google.com with SMTP id e76so4526203pfk.1; Wed, 24 Jan 2018 16:53:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=990+fV5Va8nYJVsJT/XjZFH8XZFgowE8/H4RCW9AIds=; b=F3Ei+chgZTJaVnMWvRwPCt5l2RCV0q8S8Gmj42J8ix3Myslg0Qd53hptQSHpHzDqMR frRaxAsH/N+WNnRQBieZWA0zfX1JfnTnIylYZyn3F4Km98pl1jdawiPV45F7OFkVy1dj nHRmAj7vw/X6b6w3O6FQ8g2ic65op3pD1C10GFISjY6AmK/B3UYeCbuuTo7UwYZUVpHM 2fifem+e6rFUveWsvChgE7NE6vysSZHJ9HQIju5L9Ejc3mlZaIWcI7/yd8WfVLsRexzG iujKl+BR5W2itCJnJrNXOyg5CkCrX2wl5andGmLfuSFGkZlpes+NAJHjk5sdYfaA3wuI /JXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=990+fV5Va8nYJVsJT/XjZFH8XZFgowE8/H4RCW9AIds=; b=rsvEV7QhVTYXFOz2bw6ay6ZIP8zn3tg5DsCXh3/n/CL9y01GlDptVJAgfmeAHijoZD s0k+fZgzYAag0Y+cWU0NEv9y/mntp6moeEhiH+NOcqNTwGrhLsD7gjriWM3MIZ30dSNy wnegc4RnJL2NtuNDwl2F/2IHfaNk8d2+qaykhl1IOYmXQqUlp1uqMK8txbNmx3l9dYFc DmZoa6v/kQCyXcNhJs9x1J7+U1obKX1+th7xCF2aRG631Km9l7CGZPC4Wc64OyR6tW13 2HZm0L/vluHIfPQcom4ttPhUVTb806hZlMClha3Te6jM6KvMs4O0KCHQJ+Bbxos1ZgoD 3Ytw== X-Gm-Message-State: AKwxytcGCkj9R8sGheofjUqmMltzBsxH3+JrvamRklbAMhKoUc+1xsAM +Zs93a83IupmRf8g91T2DI3/tyl+D7toDAay9vQ= X-Received: by 10.98.214.129 with SMTP id a1mr14126441pfl.221.1516841606025; Wed, 24 Jan 2018 16:53:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.100.162.203 with HTTP; Wed, 24 Jan 2018 16:53:25 -0800 (PST) In-Reply-To: <1515624823.22302.260.camel@amazon.co.uk> References: <20180110220814.GA29262@avx2> <20180110223457.GA1762@avx2> <1515624823.22302.260.camel@amazon.co.uk> From: Dexuan-Linux Cui Date: Wed, 24 Jan 2018 16:53:25 -0800 Message-ID: Subject: Re: tip/master falls off NOP cliff with KPTI under KVM To: "Woodhouse, David" Cc: Alexey Dobriyan , pbonzini@redhat.com, rkrcmar@redhat.com, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, dave.hansen@linux.intel.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, x86@kernel.org, arjan@linux.intel.com, decui@microsoft.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 10, 2018 at 2:53 PM, Woodhouse, David wrote: > On Thu, 2018-01-11 at 01:34 +0300, Alexey Dobriyan wrote: >> >> Bisection points to >> >> f3433c1010c6af61c9897f0f0447f81b991feac1 is the first bad commit >> commit f3433c1010c6af61c9897f0f0447f81b991feac1 >> Author: David Woodhouse >> Date: Tue Jan 9 14:43:11 2018 +0000 >> >> x86/retpoline/entry: Convert entry assembler indirect jumps > > Thanks. We've fixed the underlying problem with the alternatives > mechanism, *and* changed the retpoline code not to actually rely on > said fix. Hi David and all, It looks the latest upstream tree did fix the issue. Can you please specify the related commit(s) that fixed the issue? I need to cherry-pick the fix. I suppose a quick reply from you would save me a lot of time. :-) Thanks! -- Dexuan