Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753604AbbGWRyp (ORCPT ); Thu, 23 Jul 2015 13:54:45 -0400 Received: from mail.skyhub.de ([78.46.96.112]:40451 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752899AbbGWRym (ORCPT ); Thu, 23 Jul 2015 13:54:42 -0400 Date: Thu, 23 Jul 2015 19:54:36 +0200 From: Borislav Petkov To: Peter Zijlstra Cc: Steven Rostedt , Jason Baron , Andy Lutomirski , Thomas Gleixner , Mikulas Patocka , Paul Mackerras , Arnaldo Carvalho de Melo , Kees Cook , Andrea Arcangeli , Vince Weaver , "hillf.zj" , Valdis Kletnieks , "linux-kernel@vger.kernel.org" Subject: Re: Kernel broken on processors without performance counters Message-ID: <20150723175436.GA12218@nazgul.tnic> References: <20150721154959.GS19282@twins.programming.kicks-ass.net> <20150721161215.GU19282@twins.programming.kicks-ass.net> <20150721181553.GA3378@nazgul.tnic> <55AE9471.1000601@gmail.com> <20150722042403.GA6345@nazgul.tnic> <55AFCDA4.5010406@gmail.com> <20150723104215.GH25159@twins.programming.kicks-ass.net> <20150723113450.67db0152@gandalf.local.home> <20150723170811.GJ25159@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150723170811.GJ25159@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 591 Lines: 19 On Thu, Jul 23, 2015 at 07:08:11PM +0200, Peter Zijlstra wrote: > That would be bad, how can we force it to emit 5 bytes? .byte 0xe9 like we used to do in static_cpu_has_safe(). Or you can copy the insn sizing from the alternatives macros which I added recently. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/