From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2227EC2D0DB for ; Mon, 20 Jan 2020 14:57:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E932624679 for ; Mon, 20 Jan 2020 14:57:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Z5t+4iwW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728900AbgATO5C (ORCPT ); Mon, 20 Jan 2020 09:57:02 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:43686 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbgATO5B (ORCPT ); Mon, 20 Jan 2020 09:57:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=DGoBy5lueJuGdaXaHkZHhUG39mTwTUjVgeOPvuTvBY8=; b=Z5t+4iwWO6pTKcFSOv3OQX70a 5xWTubtEAVFD1kGqSUz271Ob4ZFezSnul12w8ihlsGRGlg8YustxibsfSDN987u1VgyDHektjgm29 mzCWSTG3gOQBWzJ7ljErmQt/pq3QfpttiRFMA4AWAt9klc3USkxAiNkaGHG44jRNTtfi3krbej6it 8+gZFHZwFOgn/yf71MVm5ZmIH2TAh/KriHO9IJ/Z4GJCmLQt6x7mt5NydXylPcKx78oryeZ49BwIc SViMAbhuqeLy4ZaouAPY78rB+dyj+UTNt/pUE2D0LS9F+RVgfXjJHsKra519gB75QQz9vtUTe7JEn VfYWCd9Fw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1itYU6-0007t4-74; Mon, 20 Jan 2020 14:56:58 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id CA6BF3010D2; Mon, 20 Jan 2020 15:55:17 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 5856E28B86E61; Mon, 20 Jan 2020 15:56:56 +0100 (CET) Date: Mon, 20 Jan 2020 15:56:56 +0100 From: Peter Zijlstra To: Julien Thierry Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jpoimboe@redhat.com, raphael.gault@arm.com, catalin.marinas@arm.com, will@kernel.org Subject: Re: [RFC v5 12/57] objtool: check: Allow jumps from an alternative group to itself Message-ID: <20200120145656.GC14897@hirez.programming.kicks-ass.net> References: <20200109160300.26150-1-jthierry@redhat.com> <20200109160300.26150-13-jthierry@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200109160300.26150-13-jthierry@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 09, 2020 at 04:02:15PM +0000, Julien Thierry wrote: > Alternatives can contain instructions that jump to another instruction > in the same alternative group. This is actually a common pattern on > arm64. LL/SC I bet... From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9EA17C2D0DB for ; Mon, 20 Jan 2020 14:57:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7393724656 for ; Mon, 20 Jan 2020 14:57:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Djo/CCzP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7393724656 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hrU/Pb8aK5Yv6C4Vv4CZF5lbregL0nZEhyLEb4HdYNU=; b=Djo/CCzPHbnWa8 kyuc0nnvwMorO+XOVc2QQW02qJM6wBDp0qq/AtAq1opl6pPq0MOfk/3yBp5DMAZD2XHhCOcd2RcYp PffGCO3QMTr2lgEy1yMf4Mvj4E4cjxsBttgmzFO1gtgNtAwchP7Dvnw8NvRixxYQF+xm1WdeZZAzt 8n43WXL4YCuaxE641UA+OPNAyJQ7AGAAwlUK01lexZxpXMAiMwLys7UppZalTX+XTbyNPvZIXpk22 3khWv17oR143P6BSoR0IdV0evg4tZapPZ5/0IWtYg3fJMSwLueAkyS9GUBoc3DHPdKNpVvEse5nND T8MCe66FkG30+xTPFk/w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1itYU7-0007to-Mt; Mon, 20 Jan 2020 14:56:59 +0000 Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1itYU6-0007t4-74; Mon, 20 Jan 2020 14:56:58 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id CA6BF3010D2; Mon, 20 Jan 2020 15:55:17 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 5856E28B86E61; Mon, 20 Jan 2020 15:56:56 +0100 (CET) Date: Mon, 20 Jan 2020 15:56:56 +0100 From: Peter Zijlstra To: Julien Thierry Subject: Re: [RFC v5 12/57] objtool: check: Allow jumps from an alternative group to itself Message-ID: <20200120145656.GC14897@hirez.programming.kicks-ass.net> References: <20200109160300.26150-1-jthierry@redhat.com> <20200109160300.26150-13-jthierry@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200109160300.26150-13-jthierry@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: catalin.marinas@arm.com, linux-kernel@vger.kernel.org, raphael.gault@arm.com, jpoimboe@redhat.com, will@kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jan 09, 2020 at 04:02:15PM +0000, Julien Thierry wrote: > Alternatives can contain instructions that jump to another instruction > in the same alternative group. This is actually a common pattern on > arm64. LL/SC I bet... _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel