Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp174367pxk; Fri, 11 Sep 2020 03:46:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXI8FNyeOlhQjhrgzRwmpl+u1cAjoUDJjZvjYDj/VRfhPYVJFIbUpVLLg6KLcrzXGlAPJd X-Received: by 2002:aa7:dcc6:: with SMTP id w6mr1316810edu.10.1599821206781; Fri, 11 Sep 2020 03:46:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599821206; cv=none; d=google.com; s=arc-20160816; b=ojydckLNeJGvxU816pd/G1Y47EtFvNKUA277idaRCTXIrfcn4yUVqQVdz5g2B+NJXW PbDWG+hHbeXflOMMarPjOak/xVrN4ET2fkfLLbQ4EhcyjoCdU6e4ZoQSCnRFDjK55vfb NAIzNxzV/ZxnuVG6laEeD3okPsFGN7OwKWA7DJGiZT89WTArLv1hKG4cYGB5KyPQRsbr FiXCecCOJQrsJUXDAd5mloDV/vM7/o+YvwVuPJd2EeISl7FXJ3oOjBvfHMftfW/ZVAdo D6U7WeRtydM+ZJ6J5/AnwRcL0f9AMbxVV7NXHAz1mqqOfZEQAvnyFVqV1SeKNooz1TMc fOvw== 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=9wBWsh4pRoFukmp1mRl3pUV2e16wNg+J2/bst5nxulU=; b=gxbqTNsQos5tml6iUxaq7lJiWNKFvzXAzKY3W5vBzXlzh3oFIUHd5zylK1zmKP58hn /i7yMIw/8jGpRVBA9oR6w0dnn1oTAxRqVkrBEqKw9qWzkdS4bLC2X6RSi0QruqYstBXr 6AmPHTTIfbPz+J71/FqhU4I4LMqMs2BePAEx/NASE2/F0rMjhWAgS9TlMMOtr8FXmd4a zY2s9qPhxBA1n01knXgVeioHstqJiBnETXIimzBeX1lfP3GU6HFaDAKCYUmodlEebmg7 IECtbHhnOrLWrxsmlITeW8spGanjT1pa7OqEEYqf85o4YFte4pSEFVajjf5q0YBg48VU Xorg== 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 n13si1029514edy.54.2020.09.11.03.46.22; Fri, 11 Sep 2020 03:46:46 -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 S1725865AbgIKKn1 (ORCPT + 99 others); Fri, 11 Sep 2020 06:43:27 -0400 Received: from mx2.suse.de ([195.135.220.15]:49292 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725768AbgIKKn0 (ORCPT ); Fri, 11 Sep 2020 06:43:26 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 93D96B314; Fri, 11 Sep 2020 10:43:40 +0000 (UTC) Date: Fri, 11 Sep 2020 12:43:24 +0200 (CEST) From: Miroslav Benes To: Julien Thierry cc: linux-kernel@vger.kernel.org, jpoimboe@redhat.com, peterz@infradead.org, raphael.gault@arm.com, benh@kernel.crashing.org Subject: Re: [PATCH v3 00/10] Make check implementation arch agnostic In-Reply-To: <20200904153028.32676-1-jthierry@redhat.com> Message-ID: References: <20200904153028.32676-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 Fri, 4 Sep 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 > - Patches 7-10 makes unwind hint definitions shared across architectures > > Changes since v2 [4]: > - Rebased on v5.9-rc1 > - Under tools/objtool/arch/x86/, rename arch_special.c to special.c > - Rename include/linux/frame.h to inclide/linux/objtool.h > - Share unwind hint types across architectures > > [1] https://lkml.org/lkml/2019/8/16/400 > [2] https://lkml.org/lkml/2020/6/4/675 > [3] https://github.com/julien-thierry/linux/tree/arch-independent-check > [4] https://lkml.org/lkml/2020/7/30/424 Hi, Josh merged the patch set already, but FWIW Reviewed-by: Miroslav Benes for the new changes (patches 7, 9 and 10). Miroslav