From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AH8x225etYpDV6UcaVGGA2ETR5OzpWFJm6nb57LItQyNi8cZwK0s9cdE11wbI6e3ObN+Y1xN4M7T ARC-Seal: i=1; a=rsa-sha256; t=1517392889; cv=none; d=google.com; s=arc-20160816; b=S1zfNalgcgUfJ23hmvUJzhwE4pqtgTB4kCGnHG6X9psxLCImDQAIEkFx/RdHRMd1gA P8mWp+B92fNZDULX/4hqGMcarvgtf/IN10+UYTovxO7OfQwMub09t3QR5VYyUiAxC+7r 9iN3ogwx69fujcG4VndqA3VhlOgFu/Tawh7TJeItvJ3dkyqZxvtXtSkh/BJefX9iKgXK SI+jrmEv26DcvxCF9SXnY5MrEPLmYAnq9PJIJcnFkWhIkES/729xhHb1zwST4npxCgbs KF4sX2hF07wYIGMWBcEd3oTqPGVoKaBZjCIzAdaP+QOD93saBN1k6U+tliKkNZ4Kg+nn bEVQ== 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=EHIKMIKS7u2Uy66a+jCtQZkq2EaKxBJrnXHCOV2LFO4=; b=BxaYjeuG49biehc1u7zRMs/DMe+HRhVbSlqQp92bBayqDPLdwHBPu4LZy6LZfYWpwJ 4HDz0sce/tEVVTe7Twq2XqttaFN1FTnHxlO7wx/9p9VQDtoNtTwMtCwNEuir7iX+bnh5 dVX65d+QM5zfUJ0JzFZHF/TtpIKQjhH5xUwJzsD1yCfA76cpcqVs7R7f29vqm+gxLx4X k7mKRZgQW+d27Les/sfl5SVYFfED62zVKgR6gPNNJFQuvcgaTj4ns1V0cRy2FiAcrqnW MX++19nHanFu1RBhrylT1yx9Z8cAqSuh7+MT3o3x0x47fwF/M2Egahgvflrop4n9/+P7 dEuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20170209 header.b=dG8IZn0w; 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=dG8IZn0w; 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: Wed, 31 Jan 2018 11:01:19 +0100 From: Peter Zijlstra To: Josh Poimboeuf Cc: David Woodhouse , Thomas Gleixner , 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 20/24] objtool: Another static block fail Message-ID: <20180131100119.GJ2269@hirez.programming.kicks-ass.net> References: <20180123152539.374360046@infradead.org> <20180123152639.170696914@infradead.org> <20180129225252.bi2etgk3eqprcv3x@treble> <20180130095653.GZ2269@hirez.programming.kicks-ass.net> <20180131031221.7k2igskvrpsphc2u@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180131031221.7k2igskvrpsphc2u@treble> User-Agent: Mutt/1.9.2 (2017-12-15) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1590397857832042088?= X-GMAIL-MSGID: =?utf-8?q?1591101766325415518?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: On Tue, Jan 30, 2018 at 09:12:21PM -0600, Josh Poimboeuf wrote: > > Or, maybe we should just forget the whole thing and just stick with the > dynamic IBRS checks with lfence. Yes, it's less ideal for the kernel, > but adding these acrobatics to objtool also has a cost. For now, IBRS seems off the table entirely. But no, I really don't want to have to unconditionally eat the LFENCE cost in all those sites.