Received: by 10.223.176.5 with SMTP id f5csp168069wra; Fri, 26 Jan 2018 20:21:23 -0800 (PST) X-Google-Smtp-Source: AH8x2254R/IUxurHuredaex+yM5f6cx+R0lxlsVQOpnBuYFTS8uQf5WgdZNzaKayV3aNrcFMPOv/ X-Received: by 10.98.181.14 with SMTP id y14mr21090972pfe.216.1517026883510; Fri, 26 Jan 2018 20:21:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517026883; cv=none; d=google.com; s=arc-20160816; b=vj4ac94/TfMTbTIOz1XbJe6MxBV8M9mfkvHdOePVF9xn/fGeMRU12F79R3O2vTgef+ l7jLwHeOF0KbvZH2uKoTI5aFRdESwRJQxdRWFZHIV3v9MrlcSq0jo5Tj9KMj5Ip9Rv3w CPQk4QS1OSKpNu5KfjkXQG38VVHfG/xXuGukJ2wQ9czfZgDAL4HfvLTOzQzGPJWXpsU+ Bk0PPDXDfmZVz4Acerk8cCV1Iga+HdqDge/SbXlWJA0X5xaJ28x09E5lfPKeeqZ0FWAY MV3SKn7UwAgKgJKRdc36BlzIOpaCXYi0Pb30yhkyXx5/N7rbVy7m9LMA2dqPaO54x9LL Neww== 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:dkim-signature :arc-authentication-results; bh=KJlFggUXyWVIb85VcDfxlzz+3UcwyyLdCL9J/GPP6Qw=; b=YhD43AsxcMid8MCbHJi0KwZOxLmb1b9OAOQPMBbqAQqSHqHu09ZDzxRq/zUHvF0JWf BidEqUQUXltV6s4Jq4UGCoQc8WRskB2F8uY0LKnAYfxbOcQjOao+C9M7vfBKWPvyZlCc q4Sy8pmbh67eXRF9AHZR78tSupSwXSEuzDZ9WPYL/wl7CY9f4mOR6//vwkichTRlWlYG W/Q7cxkc7OknTfGF0kv0HYMof9MGZiRSEWAIZrouQo0B7vpvgEB1xFKq+9uI06PBeu9f Qq45fw3cY2CXfSZOSH0k/MJzhCjGR7PAJRVIarHPjUyO4Pd+yUN55SOfFlXCHlvknqtE Tcmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=pVbUIcJ+; 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 l4-v6si4699050plb.405.2018.01.26.20.21.07; Fri, 26 Jan 2018 20:21:23 -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=fail header.i=@gmail.com header.s=20161025 header.b=pVbUIcJ+; 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 S1751800AbeA0EUp (ORCPT + 99 others); Fri, 26 Jan 2018 23:20:45 -0500 Received: from mail-qt0-f195.google.com ([209.85.216.195]:41249 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751595AbeA0EUo (ORCPT ); Fri, 26 Jan 2018 23:20:44 -0500 Received: by mail-qt0-f195.google.com with SMTP id i1so6316155qtj.8 for ; Fri, 26 Jan 2018 20:20:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=KJlFggUXyWVIb85VcDfxlzz+3UcwyyLdCL9J/GPP6Qw=; b=pVbUIcJ+BDEND785VudzKUsxSK3TYMyM0/bNSC0kK0IeFcTylU6L2jNLtEMz3NZAkj hlrGU0Hw6d+XZdPhTs9ZZKI3OeLQRjsxjxRC7lNsHHtVuFYmbzW7G+muPxEL+/OZwZRm 9hZpIQJfYx1YEHlZKZ9FVAHtIQ/NWgtgKx573+dcXCdBryjNIyabZARwyts3HcHXXVEu I5hVbCApgZ6CVTS1RUfu+illIYV9DUVYtCzr67J/fsb4hl2uKRu3J+Y0yZ7dL8o7Abgy I7qWKPPdNMxlCSq9rL18Gkd7pV1bj/zAv0yYsJCyHtzVJ410gRJ0Cddqo4Jh8llpVICm mhDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=KJlFggUXyWVIb85VcDfxlzz+3UcwyyLdCL9J/GPP6Qw=; b=IrSQLPWf0Xkm2Kpk/4JhFjHTlY1JkaGCRZPOixQ5I5TPXlujbrAYhltCXdTqWKq5O7 KyJ01wlK2hpbIV43kg6UlXlstk9vKaEUu/wOIU/nCm+Rv0enF26FF/bR5ZVtdaRpZG+D Zcm5+kEYjHiSEdbNuafuUtoaHEFEnh2ECRwpE+ga00cebN8a9ZiJkOSRVJiYKoskGj53 9Ou1GrjRjZey4hPX2rRza7xPkGZaXMTjIRjNWBoyq9ZxI7Vh0UiTWzs84fHyuIImbfyd azF4HOcye95fZXD04pl4XU9FEIN4+t9lEHINrtRILsxT5aZwFWJ9ioTelx2OAvKzWJLp 1m5A== X-Gm-Message-State: AKwxytczHYqx5Av4j+L7BIPcjp7bGf+Rv233JDxRoR16BCesh2Oo+mhD e/6qA9sP2rcPZ7j07rTHyp0= X-Received: by 10.55.127.68 with SMTP id a65mr23242031qkd.77.1517026843349; Fri, 26 Jan 2018 20:20:43 -0800 (PST) Received: from localhost.localdomain (209-6-200-48.s4398.c3-0.smr-ubr2.sbo-smr.ma.cable.rcncustomer.com. [209.6.200.48]) by smtp.gmail.com with ESMTPSA id y29sm6559034qtk.47.2018.01.26.20.20.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Jan 2018 20:20:42 -0800 (PST) Date: Fri, 26 Jan 2018 23:20:39 -0500 From: Konrad Rzeszutek Wilk To: Borislav Petkov Cc: David Woodhouse , X86 ML , LKML , Josh Poimboeuf , tim.c.chen@linux.intel.com, pjt@google.com, jikos@kernel.org, gregkh@linux-foundation.org, dave.hansen@intel.com, riel@redhat.com, luto@amacapital.net, torvalds@linux-foundation.org, ak@linux.intel.com, keescook@google.com, peterz@infradead.org Subject: Re: [PATCH v2 1/2] x86/retpoline: Simplify vmexit_fill_RSB() Message-ID: <20180127042035.GA21508@localhost.localdomain> References: <20180126121139.31959-1-bp@alien8.de> <20180126121139.31959-4-bp@alien8.de> <1516970011.30244.223.camel@infradead.org> <20180126132431.fsbd3c3g2yreazy6@pd.tnic> <1516983879.30244.236.camel@infradead.org> <20180126164746.dpo7dswid5tjk2tz@pd.tnic> <20180126200616.5xfn244uzeu7ptyo@pd.tnic> <20180126200725.rueqb2m6b4w47eu3@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180126200725.rueqb2m6b4w47eu3@pd.tnic> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > + * Google experimented with loop-unrolling and this turned out to be > + * the optimal version — two calls, each with their own speculation > + * trap should their return address end up getting used, in a loop. > + */ > +.macro BOINK_RSB nr:req sp:req BOINK? Really?