Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp692909ybg; Tue, 9 Jun 2020 10:23:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJGLeEOuUff1bhxRr1sVO0EFjt6jm/vwoVd4A1bzT8zcIftGoA7gr/6KGg5ScF/7d9NbIm X-Received: by 2002:a50:e8c6:: with SMTP id l6mr21749121edn.276.1591723434820; Tue, 09 Jun 2020 10:23:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591723434; cv=none; d=google.com; s=arc-20160816; b=cAXn6EmuQg3hRxTEwBY11dfGSVD9Zy8Iqow0/eOGJYnnSFp+kKAxO5qZSZYyfnyZpI /qGQTZEbC+pHmfuZIKqEj7ZnKfFRk5g8fdeIPL4imVE5LDIHuiBUdrcfWF4211fvdYOt Sz5FxLS51UYvpZ5IH1Xey7ZVtydIHhnAi1tzne18Ohij9gnSKknFKgay7iow5TCUpmm9 /p/yYc3tcJaNivojNVrBoAiy368VfgPqECBBfKLKs0CIA0En/Y1AM67l7fGcJBy9I7iO 1n1Mu+xfmhDnwi8u32jlp2dMJbfRCRYpLh8/5ZnRs4XmYCbGskA1u7ameaNpJyrxCBdT S1HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=SS5SO2BMvVGCRyB4Z5fjDIgEUN/J+rJMk+RsW9Xn+qg=; b=LsvQbABAWPkKTkt5zQP5vGIUW6+1iMBqxV4gavtNB0Mc1grFZ+ZiG3yefbB3v1jF1f QjevXm7zzrqoAgQ/513mH7kQhycTrJJlo2vttRPPqgMwPL0WO0TZRsdPfOCITSZ7Wrf1 ooO9GMveddQBAOwQVwih2ZRj0+aG96aj1xWvnCoOHEIDefBsQqxjKHi/1A97DQwHQzD7 I+ELx4B1Hws6qTW883KlbIoj2ZXav4blXVcfDy5cyxzodEudaPbwpNHg1pdGLQ5PciUu uVJkPTejwkPEB6YBXqMvDievNk/t72cS733eJpB7XTFUm+tCkA2N747e2Y93QXBoyIBd joTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p7si7615906ejb.303.2020.06.09.10.23.30; Tue, 09 Jun 2020 10:23:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727053AbgFIJoQ (ORCPT + 99 others); Tue, 9 Jun 2020 05:44:16 -0400 Received: from mx2.suse.de ([195.135.220.15]:53544 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726964AbgFIJoN (ORCPT ); Tue, 9 Jun 2020 05:44:13 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id BEF78AD4A; Tue, 9 Jun 2020 09:44:15 +0000 (UTC) Date: Tue, 9 Jun 2020 11:44:11 +0200 (CEST) From: Miroslav Benes To: Julien Thierry cc: linux-kernel@vger.kernel.org, jpoimboe@redhat.com, peterz@infradead.org, mhelsley@vmware.com Subject: Re: [PATCH v2 0/4] Remove dependency of check subcmd upon orc In-Reply-To: <20200608071203.4055-1-jthierry@redhat.com> Message-ID: References: <20200608071203.4055-1-jthierry@redhat.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 8 Jun 2020, Julien Thierry wrote: > Hi, > > Matt Helsley's change[1] provided a base framework to opt-in/out > objtool subcommands at compile time. This makes it easier for > architectures to port objtool, one subcommand at a time. > > Orc generation relies on the check operation implementation. However, > the way this is done causes the check implementation to depend on the > implementation of orc generation functions to call if orc generation is > requested. This means that in order to implement check subcmd, orc > subcmd also need to be implemented. > > These patches aim at removing that dependency, having orc subcmd > being built on top of the check subcmd. > > Changes since v1 [2]: > - Remove redundant check in create_orc pointed out by Miroslav > > [1] https://www.spinics.net/lists/kernel/msg3510844.html > [2] https://lkml.org/lkml/2020/6/4/675 Reviewed-by: Miroslav Benes M