Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp569562ybb; Wed, 1 Apr 2020 05:45:50 -0700 (PDT) X-Google-Smtp-Source: APiQypKO5j/IjfCUSrNTWCDBDWV6WrGli6Qs9IihDqykIpszA6y50iAU9Dgu0yui1EYZMevyE5mD X-Received: by 2002:a54:4797:: with SMTP id o23mr2477507oic.12.1585745150331; Wed, 01 Apr 2020 05:45:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585745150; cv=none; d=google.com; s=arc-20160816; b=tkgF0wQZ9NpnNldPPqSla1C8xWMYaHw/IzqCnzneVZJcFWxykWHDTFAnaAdUi03tQs M/OGdc2xISnWwqycnOYQp7b2wm/iW60lIbmhzpSYWSXsnTEwiI6ta7rJXDM/Sf07Qyf7 e/MzJpYJyDuhntHqKbcid+tYI3OygvteaGm+ixA9VUZIxM/IbGbBLN2t3ztivvdhp9xO R9E9A/csJwW1SI7t21Sl1k+Yoa/aSun5oJcpxmuw6fVUG944/abtugySClq+2EstKyw8 B2Jz7MqIJnCCcAcrXMHPiLLduaS6nMrejWAhDHOERLcsAAA5GQkh/a7j5noLxLREzHFD hfRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=tcijslMDnWOfEx2XWs1GjD/Qz1G2+HgOCl78SG26EZw=; b=GdMoyOjo3mUddLjymPH4faEEYSkcwHIqGNmZdqSdsF0DblfjxnNHPh/gWagbl2Pw5/ 602byvU19WRPGLxrZxpNcZVdQEFcFtOy6cHVl8FhSqE6Ol/2cvALnr00JlgcViXTGCTy zJxxvlSm5kQ4pTV2n809S8cYk/ddJ4SWQG1riQmah3M3nwQpeSYMcNCCHSaiqFTw6DFv ZmJlIois2OSTqTKDWZ54a7g1cQMzwsvTvoT0xyTnQsxui+9rU/yl/iYyd9vlWgwub9cv V7kgLLSmUwAhvjkVJDD8lxluU0JeNzx0rHfRXvz1qEpiIo6Sctq9yspkDMY8WobH90pw 2mmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=X1x0ZSoZ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v1si768600otp.155.2020.04.01.05.45.37; Wed, 01 Apr 2020 05:45:50 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=X1x0ZSoZ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732537AbgDAMov (ORCPT + 99 others); Wed, 1 Apr 2020 08:44:51 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:34188 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732396AbgDAMov (ORCPT ); Wed, 1 Apr 2020 08:44:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585745090; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tcijslMDnWOfEx2XWs1GjD/Qz1G2+HgOCl78SG26EZw=; b=X1x0ZSoZL+9GmhrjwDFILO8hmbzkGe4I5liQKq+eqRDaTQpm2y01ACi2TP+/GeU3XQeanO yjgvSNduIG7smqIHAVAHO1VZ61FF2oUsBsh4rYOUHQRGkp67N2qYjqu99wa93OthlfP/ia oJcO3OGLWh8eQNk2ojS9Lf6uIy9D6gE= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-275-mR7k_A5LMp6IPau-SFrA9Q-1; Wed, 01 Apr 2020 08:44:49 -0400 X-MC-Unique: mR7k_A5LMp6IPau-SFrA9Q-1 Received: by mail-wm1-f69.google.com with SMTP id o5so2403826wmo.6 for ; Wed, 01 Apr 2020 05:44:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tcijslMDnWOfEx2XWs1GjD/Qz1G2+HgOCl78SG26EZw=; b=HXJPeONL9jGadkQjx7bynj+SKaRFNmhOp7p6PQxDYRcILcw0E13XDwflGuGIyCyS7/ 1NuMkcs9xgsmQBKhtdYA5onRMP5pPEPBnnX0mW1McMFY5/r98pgvxCvlYlTjob6mJuVc UBAcMcriPBY0fOoZh2cSlPXmv95JobkveGCw8SV6Obl9ljMwrlXsUUMe1dAz/oc4DsY+ WR4yXyI3/XAx4qP2LKbO1kQVC7azcZ17QkTfqMm/eyEY2Hd7MnuVoSArci2fCvQHXLRR ELRk9u4PXEKjQus5pcDQvM2VxuKcpn5Hy5p/Whp+q7O4Z93EqeBVmK8DXiKhb8CF4sMd DdFA== X-Gm-Message-State: AGi0PuZLMQemOpeCpjpyApW1BkeHsHc24IX1KizWia1INItw+1GMda28 hpIpteJoopkk0tOu8qn0gyMgcZwjB0gJ245SlGncGcnCe0U86wxvvIkP4SvyNCYNWnMP37Ni1Fw UnhNvbypOV2UJgbZCf8OTBlbk X-Received: by 2002:a1c:f407:: with SMTP id z7mr4091925wma.36.1585745088010; Wed, 01 Apr 2020 05:44:48 -0700 (PDT) X-Received: by 2002:a1c:f407:: with SMTP id z7mr4091905wma.36.1585745087755; Wed, 01 Apr 2020 05:44:47 -0700 (PDT) Received: from ?IPv6:2a01:cb14:58d:8400:ecf6:58e2:9c06:a308? ([2a01:cb14:58d:8400:ecf6:58e2:9c06:a308]) by smtp.gmail.com with ESMTPSA id d21sm2777071wrb.51.2020.04.01.05.44.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Apr 2020 05:44:47 -0700 (PDT) Subject: Re: [PATCH v2 01/10] objtool: Move header sync-check ealier in build To: Miroslav Benes Cc: linux-kernel@vger.kernel.org, jpoimboe@redhat.com, peterz@infradead.org, raphael.gault@arm.com References: <20200327152847.15294-1-jthierry@redhat.com> <20200327152847.15294-2-jthierry@redhat.com> From: Julien Thierry Message-ID: <315c119a-0986-a3a0-7243-5fe0dd9038ea@redhat.com> Date: Wed, 1 Apr 2020 13:44:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 So it's not really a "must have" change. But it's nice to have when bringing new kernel headers to objtool. I hope this makes things clearer. Cheers, -- Julien Thierry