From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9F7EC433E0 for ; Tue, 12 Jan 2021 17:22:42 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 7386D2311C for ; Tue, 12 Jan 2021 17:22:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7386D2311C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 0E51D6B0074; Tue, 12 Jan 2021 12:22:42 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 06D966B0075; Tue, 12 Jan 2021 12:22:41 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E779D6B0078; Tue, 12 Jan 2021 12:22:41 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0197.hostedemail.com [216.40.44.197]) by kanga.kvack.org (Postfix) with ESMTP id CAAF26B0074 for ; Tue, 12 Jan 2021 12:22:41 -0500 (EST) Received: from smtpin17.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 859001EE6 for ; Tue, 12 Jan 2021 17:22:41 +0000 (UTC) X-FDA: 77697792522.17.swing87_490617527517 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin17.hostedemail.com (Postfix) with ESMTP id 67976180D018B for ; Tue, 12 Jan 2021 17:22:41 +0000 (UTC) X-HE-Tag: swing87_490617527517 X-Filterd-Recvd-Size: 6085 Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) by imf29.hostedemail.com (Postfix) with ESMTP for ; Tue, 12 Jan 2021 17:22:40 +0000 (UTC) Received: by mail-qk1-f178.google.com with SMTP id d14so2486699qkc.13 for ; Tue, 12 Jan 2021 09:22:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Cekwa6Gg8tFAQMdvQMX54ozrri2M75odcKtK/zwsgg0=; b=dm6lBlHFrKWfvEFQDoGKdvc8cGFBVbyku1WFw7oWjrIWT9iA9Uv7hEr7klthM8iI8V Jqmds2eSlencuXDnTe6vOf0sG7ZEupGgYbjt7HRQyUDXiFSqmm7pGGKKU+bF78vNe1Tt aoJIFzfjFvYPJwgsjih3xIo8bsf2b/gwcfu/zBaBzq5+zCRSLPYBRyto+8M2p1vehT/Y OeJLwQPPtHl04LNdTNj0K0WaIVtrSixICog5eHOENN0Ny2OCKMtVxIloBVlX0rYDDB41 bB+09QjiiXmTi8l2P0XXvKbwJgtCMbEuVwOWak+47L29fXqltJp0oyqE11RwyBA36/Iu CNdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Cekwa6Gg8tFAQMdvQMX54ozrri2M75odcKtK/zwsgg0=; b=LHvCd1Oy2Vsvkll7c1j0wJ/fO7kDFnFARcmSfMmuxWvOLsGJSrIasKguwqze1+VMxG PDpzREC1cm90+xMFq+4Eu0E+p7uf3b5TvPcY/x0RuxPwepyVxOgWK9xYXHsEI3twxtjQ wJ8qeba0Ba597uElGwned+e3S54kRhsuUmVg46JDyLnEW4hsSheD/3R8EawBFuW3MIj1 SLvV9u+DYd2+Y388sNarO0nwB0BuWVe0dZHpmsUO3iq0cXExeOS3SQXtBU2iFlt/OJ16 0pSvdegM2Fv9AK9a+KwRT9QD/Jzq6ezWmL4Eb6KICHWX/xC7k4AFAor6jkN/PciUwjAQ SM4g== X-Gm-Message-State: AOAM532ijlKAQpP0HAgkeFuCZlrXWkEDQWcoUGajWRwxEVy1VBRVY3m2 qO3os4AZR+YK+oRHSpcY8Ug= X-Google-Smtp-Source: ABdhPJxR9EN4Bi/GC/cHsHL0Wklo8RdvqQuhoTzQlheMI5t1BVqMwTVoYpHa3hRgayKDRCupixQOIw== X-Received: by 2002:ae9:c010:: with SMTP id u16mr352562qkk.346.1610472159841; Tue, 12 Jan 2021 09:22:39 -0800 (PST) Received: from ubuntu-m3-large-x86 ([2604:1380:45f1:1d00::1]) by smtp.gmail.com with ESMTPSA id d1sm1628462qkf.102.2021.01.12.09.22.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jan 2021 09:22:38 -0800 (PST) Date: Tue, 12 Jan 2021 10:22:37 -0700 From: Nathan Chancellor To: kernel test robot Cc: Bill Wendling , Jonathan Corbet , Masahiro Yamada , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, clang-built-linux@googlegroups.com, Andrew Morton , kbuild-all@lists.01.org, Linux Memory Management List , Nick Desaulniers Subject: Re: [PATCH v3] pgo: add clang's Profile Guided Optimization infrastructure Message-ID: <20210112172237.GA1792840@ubuntu-m3-large-x86> References: <20210112053113.4180271-1-morbo@google.com> <202101121755.pyYoRozB-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202101121755.pyYoRozB-lkp@intel.com> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Jan 12, 2021 at 05:10:04PM +0800, kernel test robot wrote: > Hi Bill, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on linus/master] > [also build test WARNING on v5.11-rc3] > [cannot apply to powerpc/next s390/features tip/x86/core next-20210111] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: https://github.com/0day-ci/linux/commits/Bill-Wendling/pgo-add-clang-s-Profile-Guided-Optimization-infrastructure/20210112-133315 > base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a0d54b4f5b219fb31f0776e9f53aa137e78ae431 > config: x86_64-allyesconfig (attached as .config) > compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 Hmmm... This should probably be gated on CC_IS_CLANG? Or even better CLANG_VERSION >= 120000 due to https://github.com/ClangBuiltLinux/linux/issues/1252? > reproduce (this is a W=1 build): > # https://github.com/0day-ci/linux/commit/6ab85bae7667afd0aa68c6442b7ca5c369fa1088 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Bill-Wendling/pgo-add-clang-s-Profile-Guided-Optimization-infrastructure/20210112-133315 > git checkout 6ab85bae7667afd0aa68c6442b7ca5c369fa1088 > # save the attached .config to linux build tree > make W=1 ARCH=x86_64 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > kernel/pgo/instrument.c:72:6: warning: no previous prototype for '__llvm_profile_instrument_target' [-Wmissing-prototypes] > 72 | void __llvm_profile_instrument_target(u64 target_value, void *data, u32 index) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > kernel/pgo/instrument.c:135:6: warning: no previous prototype for '__llvm_profile_instrument_range' [-Wmissing-prototypes] > 135 | void __llvm_profile_instrument_range(u64 target_value, void *data, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> kernel/pgo/instrument.c:179:6: warning: no previous prototype for '__llvm_profile_instrument_memop' [-Wmissing-prototypes] > 179 | void __llvm_profile_instrument_memop(u64 target_value, void *data, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > I still think that this warning will show up with clang at W=1. Given that these are compiler inserted functions, the prototypes don't matter but we could shut it up by just putting the prototypes right above the functions like was done in commit 1e1b6d63d634 ("lib/string.c: implement stpcpy"). Cheers, Nathan