Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3114981pxm; Mon, 28 Feb 2022 12:19:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJwKz+tDCd93g/fGGx+lUb2UCl7J4SD7zKy8RcuTdr8tcBqljR41luAgP3tOYcBCpAsxGgR6 X-Received: by 2002:a63:e543:0:b0:373:efe3:6f46 with SMTP id z3-20020a63e543000000b00373efe36f46mr18914323pgj.183.1646079583727; Mon, 28 Feb 2022 12:19:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646079583; cv=none; d=google.com; s=arc-20160816; b=lj+v/9StAJnjAwSls3MoPYTQnKhFG9AdtN6CNw886q5AsxXP5KT0G9Sq5CY+evOMAz FpACTD6RDDPYYxTrJcSzub87ZdxB1KGVJzw8LK8E+DKJGwzVVh/Vdtcm/zFxhKvE5cSQ aPh88g4x0TR6/Y/SmfgOWx/d3AzQ+yqKsg1Rqq2AtvAbzYjkzGa3/40zq8OB/KM4OMc9 QD5utnhsok3bYBp9gmo65tDLV9vvk+Gnv1RQdjgNUZFDASTOL8f6ztxUN6nb1p4/SVxO kNNoNq1WCl5m+j3qzLwZBmGT3/KRpLK3N9P/Sfdan8C3vcWSGwryaiwm6O9ANMVnOcWt i3YA== 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=YYnPRcJoTpCG8RY0Xhs+Z0SWKTQQX8UWXGmJNTY5wVU=; b=WSOkD1tEUhwt3/dip96lBnHRaRNV6DYgan9wKG4gf1arjp3doRgiv0cMDr7eqIfUSq e3lFLN6Q1ADESjJzeAoZVCPDBJoy1i1wZVSvO+BNWQWiF6MqtnpbjVj7ccJV38NhBSf3 laP6V82W2WcDezp8TK5nr6cbmC6SLo+8WdvD+a/Suvd5w1Mx81txJkJqrXL7PIL7vbxp HbpZZutb53ps/hwsrloOJLN3W7ccKFyLj0u4Y/uOh5Bq4Sp9aDXA982OzMIgD9o2yReP dM/fIj0/Di9Acgv/zL/BRhKa0kAa2FgKnF4qtqtJBCDvnvebR1NyPN2MEg6gcQbyU4S2 tRhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WP45q+Jf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 70-20020a621749000000b004f0fa03f780si9352738pfx.289.2022.02.28.12.19.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 12:19:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WP45q+Jf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 3C5B4186219; Mon, 28 Feb 2022 11:40:11 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238630AbiB1Rt6 (ORCPT + 99 others); Mon, 28 Feb 2022 12:49:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238876AbiB1RnZ (ORCPT ); Mon, 28 Feb 2022 12:43:25 -0500 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D476599EDA; Mon, 28 Feb 2022 09:35:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646069717; x=1677605717; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=aMYtjEOpxF59nZtGs1ODxKpgRksNDTdLFEt+1j+s4FA=; b=WP45q+JfRG3lHLZwqzBJhCGWGR9H4bbjdXq039X3LBcgrAaxtxUb/mDz szYmWH13mnne7r55OSbXV4sDPiXuWeqVLKQ/G1x1MAIwSGVOlAjcG1LB5 fFHfzycEG3pAgTHe/qpdnIVtp8q5Ic1eWIUbKNLr1Z4QP+mVkTNcqdpIf aZMolZTNY15ejHS/PkSu+f53L1Mkd5SnT1DSnc4iS5Y3T8QmnzqEDK5bm FNUilBM5nDNO9K7URxzvS7jCpPiszBbKzncyt1fnydveh+Lk3tiC3TszX VDlSDlqyHbfHD6IiAv2x7coNy/1w6BvpONJnnv3r7s6yjoyVkTSCxruRl w==; X-IronPort-AV: E=McAfee;i="6200,9189,10272"; a="339373860" X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="339373860" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2022 09:35:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="685411831" Received: from lkp-server01.sh.intel.com (HELO 788b1cd46f0d) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 28 Feb 2022 09:35:14 -0800 Received: from kbuild by 788b1cd46f0d with local (Exim 4.92) (envelope-from ) id 1nOjvW-0007ZN-6I; Mon, 28 Feb 2022 17:35:14 +0000 Date: Tue, 1 Mar 2022 01:34:58 +0800 From: kernel test robot To: Tiezhu Yang , Thomas Bogendoerfer , Mike Rapoport , Andrew Morton Cc: kbuild-all@lists.01.org, Linux Memory Management List , Xuefeng Li , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/4] MIPS: Refactor early_parse_mem() to fix mem= parameter Message-ID: <202202281751.WKuGplhT-lkp@intel.com> References: <1646029866-6692-2-git-send-email-yangtiezhu@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1646029866-6692-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-143251 base: https://github.com/hnaz/linux-mm master config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20220228/202202281751.WKuGplhT-lkp@intel.com/config) compiler: mips-linux-gcc (GCC) 11.2.0 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 # https://github.com/0day-ci/linux/commit/ed304f835ff384c8fe9b788e13d3ec4d93878416 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-143251 git checkout ed304f835ff384c8fe9b788e13d3ec4d93878416 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross 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 >>): In file included from include/asm-generic/bug.h:22, from arch/mips/include/asm/bug.h:42, from include/linux/bug.h:5, from include/linux/mmdebug.h:5, from include/linux/mm.h:6, from include/linux/memblock.h:12, from arch/mips/kernel/setup.c:17: arch/mips/kernel/setup.c: In function 'early_parse_mem': >> include/linux/kern_levels.h:5:25: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'phys_addr_t' {aka 'unsigned int'} [-Wformat=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ include/linux/printk.h:418:25: note: in definition of macro 'printk_index_wrap' 418 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ include/linux/printk.h:509:9: note: in expansion of macro 'printk' 509 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH' 13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */ | ^~~~~~~~ include/linux/printk.h:509:16: note: in expansion of macro 'KERN_NOTICE' 509 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ arch/mips/kernel/setup.c:350:9: note: in expansion of macro 'pr_notice' 350 | pr_notice("Memory limited to %lldMB\n", memory_limit >> 20); | ^~~~~~~~~ vim +5 include/linux/kern_levels.h 314ba3520e513a Joe Perches 2012-07-30 4 04d2c8c83d0e3a Joe Perches 2012-07-30 @5 #define KERN_SOH "\001" /* ASCII Start Of Header */ 04d2c8c83d0e3a Joe Perches 2012-07-30 6 #define KERN_SOH_ASCII '\001' 04d2c8c83d0e3a Joe Perches 2012-07-30 7 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org