Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3946901ybz; Mon, 20 Apr 2020 12:25:34 -0700 (PDT) X-Google-Smtp-Source: APiQypIwDwTsTQmQm8G7eIxYZn1hhr2tDcm1lH6Cgkj1ZV93OkTUFy4tMMfDylNCBbeWish2Q274 X-Received: by 2002:a17:906:328f:: with SMTP id 15mr5288532ejw.33.1587410734136; Mon, 20 Apr 2020 12:25:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587410734; cv=none; d=google.com; s=arc-20160816; b=chHANWIx59PPNPS6ijZbGUg16UOeTrqMflTbPlugDnXISj6K9jQdSMnvY+lfKEN8Fz 31q7S9INPEmHl9SwqSvXVbK2QQPY4PcEX2rwQPFUv6rOE23qoWGQNJzs1DlLw/13Q5wi jcSZNR010g5r8RtT/Z1SYYalrIHm3k6Fsj2HzqdfsjLQLN+ZXquhLUCc+fbRqc+W448d /dyg5xJ4qmVo/KHxZQSGdRWzxe3zSUCP3f7jp9SqwroiEIHlE3F62oPT5126e5BBNU2H 7walTIBMck7GjKc1gOrdbhq4ZT6BxkfWOvVEQnkbByyFCiYKYH17B8eY4G6luhWKN7Yj vl3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=C1HzF2sOztrpcTRfVFdugi5Ct8XpBV9p5oRnE61v5SA=; b=Z628+oT2pxIiKy8+4/89nlWkFiVMCp/tv78WqoWLA4Jt6wVrA4LHVyLS2WULAxOK3t q6Ag9hFDOj8VHuimBwPYjcia7hErY6rY4F1QKwKWjM9Sfuf6quWx4Cbn1JK2rzERIK8C acVL2VapdeoBggM9t4UK9zjqw77GgaQAlP/9xolCikwjSr7xAipw5CD3qLSni8EvL38f 8v0nh76+i5NvLDXqGUFE+ZHnZ6CFmHve3129igJSwP1In/aQ0Jy29tUKjJac1bGYynTo KsTbFPvOHYnH2q6zazCDznKC6waXpaCtnszXbjvmIOi2n2EfIjdv2LYfMxZm9gGx9uxW /4jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=azUDQqKv; 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 n21si118899ejc.113.2020.04.20.12.25.10; Mon, 20 Apr 2020 12:25:34 -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=@linux-foundation.org header.s=google header.b=azUDQqKv; 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 S1727988AbgDTTWH (ORCPT + 99 others); Mon, 20 Apr 2020 15:22:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726181AbgDTTWH (ORCPT ); Mon, 20 Apr 2020 15:22:07 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E6C4C061A0C for ; Mon, 20 Apr 2020 12:22:05 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id g4so3216371ljl.2 for ; Mon, 20 Apr 2020 12:22:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=C1HzF2sOztrpcTRfVFdugi5Ct8XpBV9p5oRnE61v5SA=; b=azUDQqKvtBu1FS8xYE2w20wgDfMJnOZlpfw5ZFTGGkuOgGqcBMAcNEUripeNwoyvqT 6SBn/TsaOp2zXMTuDV1JuIJLDWlFYyiJ9FSLx/AO68UT30t7SKyCzL8+yQFSwvKJL3N1 +sWY3AS3P3R48RAsJpWVmyLCAXTK6HUd156JY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=C1HzF2sOztrpcTRfVFdugi5Ct8XpBV9p5oRnE61v5SA=; b=ddugta0WqJjax2oKFbXh61CdfWJVT3+nugh+YJGFhP/9hOrK2tGIURMmDYLzkd+PIm mKUOBR2PN5ZnJfpfGcUcD/jbcsyBY70qnWjdudocoMQc9L8SALZja1AP7WH/v5Do005f Y6qs85LFSxB+F7pzdcWq/yAsmWttUdS/NEnH56fR/e9Tw14ao5zvdu4CQZ+8D/iUyxor 45uWfC+iKbrGPkvYSOyOuF2z9rO+a7S8gtjiYBAdTaa/Vgm1YDFuxk+L9A80PVVN32Rb wNprH4x98ZjLq5SDkDsfHjWTLukCGsrf/Tdx9Wy/CgEgrmuGyNB+1hvCGNcO+sYtRKGP nuTQ== X-Gm-Message-State: AGi0PuZ2/30q/0ZIyvceZB/pk5nLDUQEIBPRQDp16bDWs8LYmPvn3V7K qpq7JowMuGbrL9yPq2OdMD73VnazmwE= X-Received: by 2002:a2e:7301:: with SMTP id o1mr5550988ljc.264.1587410523350; Mon, 20 Apr 2020 12:22:03 -0700 (PDT) Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com. [209.85.208.171]) by smtp.gmail.com with ESMTPSA id q26sm270946ljg.47.2020.04.20.12.22.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Apr 2020 12:22:02 -0700 (PDT) Received: by mail-lj1-f171.google.com with SMTP id j3so11298384ljg.8 for ; Mon, 20 Apr 2020 12:22:02 -0700 (PDT) X-Received: by 2002:a2e:1418:: with SMTP id u24mr11441148ljd.265.1587410521788; Mon, 20 Apr 2020 12:22:01 -0700 (PDT) MIME-Version: 1.0 References: <158730459860.31269.9496277256253823777.tglx@nanos.tec.linutronix.de> <158730460101.31269.5005570498545135614.tglx@nanos.tec.linutronix.de> <20200419200758.3xry3vn2a5caxapx@treble> <20200420074845.GA72554@gmail.com> <20200420174031.GM20730@hirez.programming.kicks-ass.net> <20200420181730.4bmggezf2zhu4ffb@treble> In-Reply-To: <20200420181730.4bmggezf2zhu4ffb@treble> From: Linus Torvalds Date: Mon, 20 Apr 2020 12:21:46 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT pull] perf/urgent for 5.7-rc2 To: Josh Poimboeuf Cc: Peter Zijlstra , Ingo Molnar , Thomas Gleixner , Masahiro Yamada , Linux Kernel Mailing List , "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 20, 2020 at 11:17 AM Josh Poimboeuf wrote: > > If you added something bad to a file, and just rebuilt that file, you > wouldn't see the objtool warning until later when you build the entire > kernel. Yes, that's not optimal, but I think I'd personally still prefer that behavior. Especially since I seldom build single files, and in fact rather seldom build without some "make -j32" or similar: so build errors don't happen linearly in the first place. > (Of course the same complaint would apply to vmlinux.o > validation.) But the warning shows the .o file, which could be > confusing. The warning should show the proper loe-level *.o file, so I don't see what's confusing about that. Yes, the error would happen while trying to link (say) kernel/built-in.a, and 'make' would report that creating that archive had failed, but 'objtool' itself would report the particular object file it was working on that had issues. So the errors should be pretty obvious. But like PeterZ, the makefile magic escapes me. Linus