From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AH8x225HdIPd+Ng+elJgEV9MULgR53BI2IAQbN1v2Z9VC/gOd29MXu8HYLiMBbiuIcWZJ0Zv3JW8 ARC-Seal: i=1; a=rsa-sha256; t=1516880160; cv=none; d=google.com; s=arc-20160816; b=ekT7VJVpic+kGyh1ps2fp8Ko0eYUNi8R6tBTzU5l+armBh/Ge30Iu2xHOhpB5aa0WP M3aFNDLfaA2TCKR9l0yWmJT5dG3Kn+s2blX8LRWDlRZH3I9evPOUTZX3fbJocFZtSGmw iL7O0bZnL5BA/sHfABcx5aMsrUkGAt7/huRlwOSkGo5pCvps6er95laoHS3yCTBdowRC bFy0Uklo9A7kcjbEjdo6AaJibboPRR5QKbcXQ+kuBtJXtaw2aHlr85YTRgN5zNSWWdnh jlW08yJ/XRvQIf8biIBnNtN2/wV2pAJaaGgYfa8hjb4RGevNRZGMD22g9HYVLhkkm0lE 1gvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=DstlAEB+J1AU3nrIgcJAhmSjHI/tPRlL9fSy5wUUmJk=; b=S+cv8qn7UkQX2Vb6hYg6swKUYEFh9XWl1Nq8LErHe6/oMCGyOau+rpMbx/ZmZRZuJB ieNZCR5sf0CN1RNPLXXfOtt6cGUuGbIsQLikBV8TFWPedIoKez336aZEMIk03t0UejN0 z7qivsgMoTg70xXoBTHwC5LuGiRxti26zE7nat9yAf3Lcd/XnwvLfKThT7g9JRgCzM9P hAwEk4HwrXXrAOhwfBozagcpihb/lNdrUuoFeJnoF527aIOTH1s2bx8JFe8KduOOCCBO WvgM9uLzisSQuKNeUINvhccHIdcjrR5XFNv4ANoE3mpy8Sd5jKMecD30VhU8aaOrvz9N JX+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20170209 header.b=qQdPBogd; spf=pass (google.com: best guess record for domain of peterz@infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=peterz@infradead.org Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20170209 header.b=qQdPBogd; spf=pass (google.com: best guess record for domain of peterz@infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=peterz@infradead.org Date: Thu, 25 Jan 2018 12:35:50 +0100 From: Peter Zijlstra To: David Woodhouse Cc: Juergen Gross , Thomas Gleixner , Josh Poimboeuf , linux-kernel@vger.kernel.org, Dave Hansen , Ashok Raj , Tim Chen , Andy Lutomirski , Linus Torvalds , Greg KH , Andrea Arcangeli , Andi Kleen , Arjan Van De Ven , Dan Williams , Paolo Bonzini , Jun Nakajima , Asit Mallick , Jason Baron Subject: Re: [PATCH 03/24] x86/paravirt: Annotate indirect calls Message-ID: <20180125113550.GD2228@hirez.programming.kicks-ass.net> References: <20180123152539.374360046@infradead.org> <20180123152638.162540737@infradead.org> <1516874525.30244.41.camel@infradead.org> <20180125102253.GB2228@hirez.programming.kicks-ass.net> <81ade568-6ab3-a62a-5026-5138f2313ab3@suse.com> <1516877573.30244.54.camel@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1516877573.30244.54.camel@infradead.org> User-Agent: Mutt/1.9.2 (2017-12-15) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1590397845189698377?= X-GMAIL-MSGID: =?utf-8?q?1590564131229375651?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: On Thu, Jan 25, 2018 at 10:52:53AM +0000, David Woodhouse wrote: > OK, my brain hurts a bit but I'm happy now. Thank you. OK, I've updated the Changelog thusly. Is this satisfactory? --- Subject: x86/paravirt: Annotate indirect calls From: Peter Zijlstra Date: Wed Jan 17 16:58:11 CET 2018 Paravirt emits indirect calls which get flagged by objtool retpoline checks, annotate it away because all these indirect calls will be patched out before we start userspace. This patching happens through alternative_instructions() -> apply_paravirt() -> pv_init_ops.patch() which will eventually end up in paravirt_patch_default(). This function _will_ write direct alternatives. Signed-off-by: Peter Zijlstra (Intel)