Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3075737pxm; Mon, 28 Feb 2022 11:30:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJy+0jXcKTgcEFfD5HeTjcQ8sVjiZiYK2fbzDnk78Y4Es3InBOaCfwgTSkK73tfObJ7/GuZo X-Received: by 2002:a63:ac58:0:b0:373:9e90:3b7a with SMTP id z24-20020a63ac58000000b003739e903b7amr18266665pgn.262.1646076653189; Mon, 28 Feb 2022 11:30:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646076653; cv=none; d=google.com; s=arc-20160816; b=egItdxcl7HhE54QRDDvfOA9nmh5GZ0G8BFz2E/kmNX39/L218kZwrzqjPASGvSde4L uC++5H7dg/z45Sx/hJlI1Wt2a04Adb1SLX8+gbpQEVJiVYVHup2GQbxjJUH8oVDAthWt DV3BBsVApJi4XaM2K3l/wclf8XhSjhyC9r+NfGnVjj8YYAHpidO7yV+yAEE9z052NyDy oKSmMp1xM0/ltnAHZ9HVdULlkPs0ZIMsuKJVm7FTUX6bCNTc95107PsRRuOl2ylnrf5/ 3Upa/pg96ZEvd/JQRLGB05RVPh2ac7Opq4BB7yEfJFvJP8X7x9Hmlrl8NbPKgChX5heG Prhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Zsv3XTIVEZMjdcnHOnqITupzed1pORS/IV3z2VhGG+s=; b=O5GXAcOJcWl9vpBccRHZmCnIAr/bFO5BuUgyeGcAlb01Leogu5TZwHvEicGtLrIlOE zpI3Kng3/OyhCc6nvI/hrU1ZUyquFVx5NudLa7zBr7DSlwdZZ3loVsh78F8uPPJuG5Rc 23SwGrfLjxW7ybMUPKbPIWGCX4fXsnxR1EMw1u5JcBF0/e7oxWPkjhKjlV4BiCENc8co TkJHocmge8C6HYabB727uXjoYBk9KVyu5Jd7dYqWeCAMjMQVGeZNcit0HRgpx2j/cp0b kgRqo5D7YyLLGvGN8+4GoURb+BZcaDIoFm6vINtC89I1pY19eJE8mJVOvZzXCCKL6r/T 4rSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VFnCmoMu; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id bj25-20020a056a02019900b0037450b454b1si10218346pgb.878.2022.02.28.11.30.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 11:30:53 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VFnCmoMu; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C257EE61D6; Mon, 28 Feb 2022 11:16:29 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237804AbiB1Rsq (ORCPT + 99 others); Mon, 28 Feb 2022 12:48:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239871AbiB1Rop (ORCPT ); Mon, 28 Feb 2022 12:44:45 -0500 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 105A613F97; Mon, 28 Feb 2022 09:37:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646069839; x=1677605839; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=EUN0iBxb6qJUpWGGlQLJZRyk0KG5mMjx/0wyD9IfUo0=; b=VFnCmoMu6b3TtjKDzKXYOwwFvvU5U8/jHghoV+cvzItxR+HXlPiAlxux FgUnuuoHL0UXvjyC4MN5GK17dzTgq/XIkpfoPVyIJWIxHDLZOHIBlffWu +NmES0AkDODUPCuWo6I8PEE90MK/1BaVHU61B+NkaV0TKm9tUEuPVs+1t nrmE1QLPIUArzFIDCl8nVvtQyH2oiwLqQ3fX7h/+iBTeEiVgY16jyxDKY HF7kcYaHDZYtyjyMCu7rIo3F/mHbbezdcXd3YamrL+9wBZff8dIY2GZi2 mw0wOdZQyCzgjVcoCMSWLbwh1RMiivy/3wy4ISgF4apj/bAEf0hFrs7l4 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10272"; a="252669861" X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="252669861" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2022 09:37:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="492791347" Received: from lkp-server01.sh.intel.com (HELO 788b1cd46f0d) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 28 Feb 2022 09:37:15 -0800 Received: from kbuild by 788b1cd46f0d with local (Exim 4.92) (envelope-from ) id 1nOjxS-0007c7-GK; Mon, 28 Feb 2022 17:37:14 +0000 Date: Tue, 1 Mar 2022 01:36:15 +0800 From: kernel test robot To: Tiezhu Yang , Thomas Bogendoerfer , Mike Rapoport , Andrew Morton Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Xuefeng Li , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/4] MIPS: Refactor early_parse_mem() to fix mem= parameter Message-ID: <202202282330.uO0sH1Bk-lkp@intel.com> References: <1646054617-16799-2-git-send-email-yangtiezhu@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1646054617-16799-2-git-send-email-yangtiezhu@loongson.cn> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tiezhu, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on hnaz-mm/master] [also build test WARNING on linus/master v5.17-rc6 next-20220225] [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/Tiezhu-Yang/MIPS-Modify-mem-and-memmap-parameter/20220228-212554 base: https://github.com/hnaz/linux-mm master config: mips-randconfig-r025-20220228 (https://download.01.org/0day-ci/archive/20220228/202202282330.uO0sH1Bk-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu # https://github.com/0day-ci/linux/commit/8e3bd7f4c0a4003c328ef2d816454dd50810b974 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Tiezhu-Yang/MIPS-Modify-mem-and-memmap-parameter/20220228-212554 git checkout 8e3bd7f4c0a4003c328ef2d816454dd50810b974 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash arch/mips/kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/mips/kernel/setup.c:350:42: warning: format specifies type 'long long' but the argument has type 'phys_addr_t' (aka 'unsigned int') [-Wformat] pr_notice("Memory limited to %lldMB\n", memory_limit >> 20); ~~~~ ^~~~~~~~~~~~~~~~~~ %u include/linux/printk.h:509:36: note: expanded from macro 'pr_notice' printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/printk.h:446:60: note: expanded from macro 'printk' #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) ~~~ ^~~~~~~~~~~ include/linux/printk.h:418:19: note: expanded from macro 'printk_index_wrap' _p_func(_fmt, ##__VA_ARGS__); \ ~~~~ ^~~~~~~~~~~ 1 warning generated. vim +350 arch/mips/kernel/setup.c 343 344 static int __init early_parse_mem(char *p) 345 { 346 if (!p) 347 return 1; 348 349 memory_limit = memparse(p, &p) & PAGE_MASK; > 350 pr_notice("Memory limited to %lldMB\n", memory_limit >> 20); 351 352 return 0; 353 } 354 early_param("mem", early_parse_mem); 355 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org