Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1960897ybg; Thu, 30 Jul 2020 07:09:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKC/mcfWjyf3dhdBHD/1UHWpdvHJbIh3KuIIYk3zjk0mRdQoNbeU6zetzK4HnhfEiwNzv7 X-Received: by 2002:a17:906:6083:: with SMTP id t3mr2634182ejj.531.1596118177917; Thu, 30 Jul 2020 07:09:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596118177; cv=none; d=google.com; s=arc-20160816; b=VJM9GWQRViEiMsADEWJmPZEniq5c+sAAwaM/5mV9Coj8ujP6lggSzGUU2SJmopw1bE bUb/6JA0j5c3xWHx75Gk01PIMv/Y1y/YujjCXB3SFh0X1UAQLmoGJcZ9pUq5yw6zHrt0 I4cHsz21Z12sR5dSfk/AvCYEQht5CwXzh3LG5Df9Q0ci13BGcRKQgbNdpgbXTs6tnBqv UFD3OT7sl1kwMei7HMLognrKhd2WKJaXdAQ+yCAc0Gei7GymWEPSYKa7rbtHLmUx7Fnk OzIc49GRjf8Wm1dI/xVMJ5uiGBNB5YHuZPtTGrbPQj1nsMT7YGInB6VB1YwVhZzkdXG1 0OSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=mGO4oze85/EJafD3eqbUd1S4qpOJJ5CpzsIVcHhg/wg=; b=iBt9awZpFr7ofF+XOR6lMhpbylCJAJD7WRcIhTyeJHQQ9z8nLQV+BsoW5S4Rnubwnn hQ7qFYjPgL9HyQxRirJN+UsJtmeyMucjaArbfdjjfndcP7/RF7DV0SoHKeN5EmaDtxlo lOAdGCKB3Mr81ZN6kjyfjzzL9TTouaECEvAbFFjhxWlSYDvJcaMCB0jVJ7vzXug1OkhE JJdZCMZRfRnS3FH8Zwmd57V2a1rtoAIAskLqmfbvUeykPfLiOY6L3QJLpMGAVDcVX4ju 351Qp1ohMMYDsA6AYYx9vShNEuTjTVNVclSZvoGuTZ94jcsTWRe97poTIJrhuNeZsrvk IRVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XHzwPBVl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h22si2995208ejj.363.2020.07.30.07.09.15; Thu, 30 Jul 2020 07:09:37 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XHzwPBVl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728297AbgG3OGb (ORCPT + 99 others); Thu, 30 Jul 2020 10:06:31 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:34316 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726581AbgG3OGa (ORCPT ); Thu, 30 Jul 2020 10:06:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596117989; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mGO4oze85/EJafD3eqbUd1S4qpOJJ5CpzsIVcHhg/wg=; b=XHzwPBVlFbIX3rytZd/aR5SyZxME0ebfmM7ndTSSVUpN2CvwGA4YaChbnrCuoldkszJtkt IUedz8FbKBZ9mrM3O0gQ5KR4GDcVchyaiJ1JMJ2OQws0/KwAJh8uR4OJaIWKkC1+yiyIjA tt8rfVhN0V5WvcSlhcxAzJRev06910A= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-135-fRz1uVXDN8aomdZFm9zq4w-1; Thu, 30 Jul 2020 10:06:26 -0400 X-MC-Unique: fRz1uVXDN8aomdZFm9zq4w-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B4D35100A614; Thu, 30 Jul 2020 14:06:25 +0000 (UTC) Received: from treble (ovpn-119-23.rdu2.redhat.com [10.10.119.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 09C181992D; Thu, 30 Jul 2020 14:06:24 +0000 (UTC) Date: Thu, 30 Jul 2020 09:06:23 -0500 From: Josh Poimboeuf To: Julien Thierry Cc: linux-kernel@vger.kernel.org, peterz@infradead.org, mhelsley@vmware.com, mbenes@suse.cz Subject: Re: [PATCH v3 0/4] Remove dependency of check subcmd upon orc Message-ID: <20200730140623.5aw7lm57j7qof5pm@treble> References: <20200730094143.27494-1-jthierry@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200730094143.27494-1-jthierry@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 30, 2020 at 10:41:39AM +0100, 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 v2 [2]: > - Rebased on recent tip/objtool/core tip/objtool/core is slightly outdated, I got a conflict with patch 1. I guess linus/master would be best. -- Josh