Received: by 10.213.65.68 with SMTP id h4csp1003929imn; Wed, 14 Mar 2018 06:53:41 -0700 (PDT) X-Google-Smtp-Source: AG47ELs4IS6SApJ0XrWtpS+TS/EAvIVR4QQN8ulx0H8wfKQH5gH6W3MTBR5+Cb6YTwi0ukOxJ9em X-Received: by 2002:a17:902:b582:: with SMTP id a2-v6mr4241734pls.353.1521035621740; Wed, 14 Mar 2018 06:53:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521035621; cv=none; d=google.com; s=arc-20160816; b=Y+1QyZBCsK6aEZo54uHd8xa2/nQcJFZFjwyyH3W5uUeqeGsZDvgDSnqXEqJoXE172c GL3fNic/2uMh4+E43tAojrkqod790io97uZP5tEWcubqwM8xS+C8qIAODNCrUEIlitK7 2CHjV0FW2oAfw3fzDbBHQKrRxpiCOjei8QecS5/C7gJrwWOtzcnLrpqfnt3TwNHwq7F/ 2hTpSKUW9xUIJ8gdblkaWJbgw4A9k+YE5ej2GovNF+MnDpEiz3Di424lJafbESJawjYO NqDSYr5ToW8fD0mH7pMc1FWEwoiXpkK4p81nbJVqVgFguDrOoTH4Jjog6jKT+yBX9Bmp +4EQ== 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:arc-authentication-results; bh=N44kzm5zORH0tcxPlR37l1K1ZJwYI8jlp5zTosPHmkg=; b=TnMFuWCBBPuW6TClFxM3DdJ34mv5ZsVOkraPYaPyjfvERg8PF0WXjd95RXfNlFXDad g1jlB+KW9auMZ9v9rw7BL5R51R0cQEf1Aix/1b8pXFhzG8PBFszmj0xKUZBSugciHe0O 1mkU4aEdRqFPouWl/4bnY+ufWoneKFit15HlVCXi6j9swRoW/6UBd3mDfqNY7lFd/HZN GaNiVc3gXbsZ+DgyUFvwaVmOPCu+ZDoKsO4tLLxBCFv6IFGD/1PrcURWX20qpwKdpTJQ ZqDJCwfWvY/kNAkm7z3m3y0kGTSWsw2MbZKJL9FLT7Cgiot6VF8B3RfH+fNQyFHQPJ7y 5Onw== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p26-v6si1738652pli.534.2018.03.14.06.53.26; Wed, 14 Mar 2018 06:53: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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751871AbeCNNvu (ORCPT + 99 others); Wed, 14 Mar 2018 09:51:50 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:56044 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751440AbeCNNvs (ORCPT ); Wed, 14 Mar 2018 09:51:48 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 03C2B80AD20C; Wed, 14 Mar 2018 13:51:48 +0000 (UTC) Received: from treble (ovpn-122-218.rdu2.redhat.com [10.10.122.218]) by smtp.corp.redhat.com (Postfix) with SMTP id BCFC310AF9C0; Wed, 14 Mar 2018 13:51:46 +0000 (UTC) Date: Wed, 14 Mar 2018 08:51:46 -0500 From: Josh Poimboeuf To: Ingo Molnar Cc: tip-bot for Andy Whitcroft , linux-tip-commits@vger.kernel.org, hpa@zytor.com, dave.hansen@linux.intel.com, arjan@linux.intel.com, dwmw@amazon.co.uk, gregkh@linuxfoundation.org, torvalds@linux-foundation.org, apw@canonical.com, bp@alien8.de, luto@kernel.org, dan.j.williams@intel.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, dwmw2@infradead.org, peterz@infradead.org Subject: Re: [tip:x86/pti] x86/speculation, objtool: Annotate indirect calls/jumps for objtool on 32-bit kernels Message-ID: <20180314135146.o5pb434qwftkhui5@treble> References: <20180314112427.22351-1-apw@canonical.com> <20180314130329.cmsc7mqnfrm2iop2@treble> <20180314133943.t5dorqzvlieotljx@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180314133943.t5dorqzvlieotljx@gmail.com> User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Wed, 14 Mar 2018 13:51:48 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Wed, 14 Mar 2018 13:51:48 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'jpoimboe@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 14, 2018 at 02:39:43PM +0100, Ingo Molnar wrote: > > * Josh Poimboeuf wrote: > > > On Wed, Mar 14, 2018 at 05:28:01AM -0700, tip-bot for Andy Whitcroft wrote: > > > Commit-ID: a14bff131108faf50cc0cf864589fd71ee216c96 > > > Gitweb: https://git.kernel.org/tip/a14bff131108faf50cc0cf864589fd71ee216c96 > > > Author: Andy Whitcroft > > > AuthorDate: Wed, 14 Mar 2018 11:24:27 +0000 > > > Committer: Ingo Molnar > > > CommitDate: Wed, 14 Mar 2018 13:24:31 +0100 > > > > > > x86/speculation, objtool: Annotate indirect calls/jumps for objtool on 32-bit kernels > > > > > > In the following commit: > > > > > > 9e0e3c5130e9 ("x86/speculation, objtool: Annotate indirect calls/jumps for objtool") > > > > > > ... we added annotations for CALL_NOSPEC/JMP_NOSPEC on 64-bit x86 kernels, > > > but we did not annotate the 32-bit path. > > > > > > Annotate it similarly. > > > > This patch has no effect because objtool only supports 64-bit kernels. > > Yeah, indeed - but it's still a good change for completeness, right? Yeah, it's fine. Objtool won't use it, but I suppose it makes the code less surprising and more consistent for humans. -- Josh