Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp577035ybb; Wed, 1 Apr 2020 05:55:51 -0700 (PDT) X-Google-Smtp-Source: APiQypKV1PNoE4mGP0TTwjwvsxPS4MeLqB4Q0L7V0lCQtITIlPRGcPZsE/btWdA97VVws4+JjHge X-Received: by 2002:aca:cf0d:: with SMTP id f13mr2527939oig.162.1585745751566; Wed, 01 Apr 2020 05:55:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585745751; cv=none; d=google.com; s=arc-20160816; b=CER1WwkAD4XT+XngAE1Jj/UWjOkcE/wlpLF0hMgpGhFi4HSFisDLvmjSHBaaBY6zuK 3bivVeXY88cP9gVHW4Za0eCaF6vK8jcmFHLmnTOstadnOF2spuijG7BCYtb+bTZfhnvk kyB+uiSa/sFNCXHA95VLt/s/nl/8fy30dPDdO1B6lYxGvLqFKBE8OgSi43qQCnsuohxD k7ZEGTGf2VE1h7N2EFosZQ8UMXMfWJPqVYSW2rnKRzo8PBp0uvjkQfrnhDHoDJmzTtDH zKONk5FjvD7gqc0fjJMJWvOAVUrV933BFrnNVEjb1v1pfAeTAYlB62WBpoVoV/gB+WEA FGVA== 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=aHGnTYPH9xphTkzIdbxtt48V1smTE3I9ilzU7VgyM6Y=; b=Z7iFaxI6Lmb86q4nUJurExALWI7qm+mfjENNkZx/smOAZy8kp634QFvdRVMELQAnSs VsqKU2/yufqv1eoFvEHM+20z95I3q1LWMelC93oREscbEtN2z7EExszyR7D1f3SdmfLr t4mvhgGsV6RMCNKS9CFyLwMpEwmLGhxmHeNv8PNLOgOxjhrYCcyVCemC/Towq59n3rwm aLcDRayAqyqeqL+68d7Ew4uYIZ9PlePpoeai0wZFARY+csnwDMM+dBh6vrFhJhkuNvg+ m/AOEbBjBmZXNsTqkGRHTJhdM+atURGDD4eQqftSqrfF43IMsE3Kd2tFirV65Y8E+Ol+ dnDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c26si933664ooe.30.2020.04.01.05.55.39; Wed, 01 Apr 2020 05:55:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732576AbgDAMzQ (ORCPT + 99 others); Wed, 1 Apr 2020 08:55:16 -0400 Received: from mx2.suse.de ([195.135.220.15]:57668 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732289AbgDAMzQ (ORCPT ); Wed, 1 Apr 2020 08:55:16 -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 DA95CAE59; Wed, 1 Apr 2020 12:55:14 +0000 (UTC) Date: Wed, 1 Apr 2020 14:55:14 +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 v2 01/10] objtool: Move header sync-check ealier in build In-Reply-To: <315c119a-0986-a3a0-7243-5fe0dd9038ea@redhat.com> Message-ID: References: <20200327152847.15294-1-jthierry@redhat.com> <20200327152847.15294-2-jthierry@redhat.com> <315c119a-0986-a3a0-7243-5fe0dd9038ea@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 Wed, 1 Apr 2020, Julien Thierry wrote: > > > On 4/1/20 1:32 PM, Miroslav Benes wrote: > > On Fri, 27 Mar 2020, Julien Thierry wrote: > > > >> Currently, the check of tools files against kernel equivalent is only > >> done after every object file has been built. > > > >> This means one might fix > >> build issues against outdated headers without seeing a warning about > >> this. > > > > Could you explain the above in more detail, please? > > > > I must admit that this patch is more fixing the issues I've faced while > working on the arm64 support and sharing some kernel headers from the > arch/arm64 tree. > > The annoying part was: > - Have build errors in objtool > - Fix them > - Objtool build succeeds, but have warning about outdated headers > - Update headers > - New errors come up, potentially making obsolete the ealier fixes Ah right, yes. > So it's not really a "must have" change. But it's nice to have when bringing > new kernel headers to objtool. No, I think it is useful. > I hope this makes things clearer. Yes, it does. Thanks Miroslav