Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp703867ybg; Wed, 10 Jun 2020 11:23:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzO8fIKWCtEAmdFrPs6vEqxzXLlaB2VX8RKsZ7HAye4EejJVoao5xWfUGeJYRG5Rk1Xcvar X-Received: by 2002:a17:906:945:: with SMTP id j5mr4693362ejd.52.1591813381515; Wed, 10 Jun 2020 11:23:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591813381; cv=none; d=google.com; s=arc-20160816; b=osCdibsswL98m3d7XAs4UxIdqt6Rp6PrDh07NAM+MGSZbJ6nDWHFHkbEXsxfo2LEUc iV1mo2yMGc4Eh87OpqV/TY+u+Q9wXu92rqcvIbKU81akNnfN1RBtESUKDpIpSkmxhHrz kmLkQGmkbZU3QcSkH2dliuY81FKKxpn2t2UkwiSkQI+q0+Iv7H7VTLXAfV2zoXGOMnIi 15pqqkKa7gEFzpNn4LCPk2eMV6iQllQ6lu8tt6BxdZsqqaOhIkVceydk3K0xa/RZ8+U1 Q15knlOmFo8cYzu0JrKmWq+CJ6pzgi8NZu3n9EfxPUI06f1PmL3C/UPI21M8DTswib1W zfvg== 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=u8623K39lgDirDt5ozFnIAwkgInEY50iOBIafCVh9ck=; b=KLC4AqNquzgv8NKK/++kx2hxbTtkL1T+U9xSiBhp7lmovXshA0+fgF1PjW0rv/OV4S Lhib0vGqf+ma0ALzGgXMbQx/A6SMguPf94TZip0uSGx7pmcj7junzvkJ+hoMJNhNcbuY yaODn+0dhf4tvi41HvEz/K6eXpZU2iJvHcXonK6z/g6SBLMK2lDFXhllMdoByQjyLcnY ca36yt6kKjMiq+SnTlxjbc0fI4DXm5o5Wn0w9gg3fbMLOB9IP+Ah80G4r+EmlTInFucO 9HEELrLq5ZbVzZ3WJM+EkIu4D0cL9rE4rH9ie1/UoVKmZBoYUPyLX8J9R8yg9h5hZ7VP qchg== 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 c4si454350ejm.465.2020.06.10.11.22.19; Wed, 10 Jun 2020 11:23:01 -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 S1729170AbgFJNUs (ORCPT + 99 others); Wed, 10 Jun 2020 09:20:48 -0400 Received: from mx2.suse.de ([195.135.220.15]:39188 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726119AbgFJNUs (ORCPT ); Wed, 10 Jun 2020 09:20:48 -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 EDB40B042; Wed, 10 Jun 2020 13:20:50 +0000 (UTC) Date: Wed, 10 Jun 2020 15:20:46 +0200 (CEST) From: Miroslav Benes To: Julien Thierry cc: linux-kernel@vger.kernel.org, jpoimboe@redhat.com, peterz@infradead.org, raphael.gault@arm.com Subject: Re: [PATCH 0/7] Make check implementation arch agnostic In-Reply-To: <20200608152754.2483-1-jthierry@redhat.com> Message-ID: References: <20200608152754.2483-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, > > The current implementation of the check subcommand has various x86 bits > here and there. In order to prepare objtool to provide check for other > architectures, add some abstraction over the x86 specific bits, relying > on objtool arch specific code to provide some necessary operations. > > This is part of the effort to implement check for arm64, initiated [1] > by Raphael. The series is based on top of the separation of check & orc > subcommands series[2]. > > I've push both series base on top of tip/objtool/core at [3]. > > - The first two patches make it simpler for new arches to provide their > list of kernel headers, without worrying about modifications in the x86 > headers. > - Patch 3 Moves arch specific macros to more suitable location > - Patches 4 and 5 add abstraction to handle alternatives > - Patch 6 adds abstraction to handle jump table > - Patch 7 abstracts the use of unwind hints. Adding it as RFC as I'm sure > there's room for improvement. Reviewed-by: Miroslav Benes for patches 1-6. M