From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gnuweeb.org (Postfix) with ESMTPS id A617B7E723 for ; Tue, 29 Mar 2022 23:54:36 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=iT5aQQ+s; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648598076; x=1680134076; h=date:from:to:cc:subject:message-id:mime-version; bh=nZCupvGOMdRKGS2B/ZmHcaF82OaDndyuxV8JykzLiVw=; b=iT5aQQ+snZQUaI0uWhaV50vTKhtJahFtQDiUwrR5HfP1lakadgLPsxx9 VOkT2w1sC/cKfK3B4cmCSRW2gnaUaiONC5kcugJaC86o9D34jjZjyzWVr DZEYah9Qfuhd1KKlSYhn/YAzfQlGd3jeCOivvy3AWKVdIWrD+K9n8l/Q9 uc8Go04brAqAiT4TzpRFXKZ5hdkokr59QSV3/rV0B2taDdWDb0vpCeiAS CwtNmnOxvcYLYmMw0mvW+WvlbJtTT0wwZ4zek4+oNWnQyxxLFUPh/dkqM mhfekjkcqX+kdvuBIcKrwi0zQEDP2M/lXlKG7/TmXawF9QFOYEaFbIYMU Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10301"; a="345841281" X-IronPort-AV: E=Sophos;i="5.90,220,1643702400"; d="scan'208";a="345841281" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2022 16:54:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,220,1643702400"; d="scan'208";a="585792390" Received: from lkp-server01.sh.intel.com (HELO 3965e2759b93) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 29 Mar 2022 16:54:33 -0700 Received: from kbuild by 3965e2759b93 with local (Exim 4.92) (envelope-from ) id 1nZLfU-0000me-9D; Tue, 29 Mar 2022 23:54:32 +0000 Date: Wed, 30 Mar 2022 07:53:49 +0800 From: kernel test robot To: Suzuki K Poulose Cc: kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org, Todd Kjos , Mike Leach , Mathieu Poirier , Anshuman Khandual , Qais Yousef Subject: [ammarfaizi2-block:google/android/kernel/common/android12-trusty-5.10 3280/5872] drivers/hwtracing/coresight/coresight-etm4x-core.c:118:5: warning: no previous prototype for 'ete_sysreg_read' Message-ID: <202203300748.xYUXZJT9-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: Hi Suzuki, FYI, the error/warning still remains. tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android12-trusty-5.10 head: 07055bfd3d810d41a38354693dfaa55a6f8c0025 commit: 82ce4a8af88d25d3f75de6e8437de3d2f049cac3 [3280/5872] FROMLIST: coresight: ete: Add support for ETE sysreg access config: arm64-randconfig-r015-20220329 (https://download.01.org/0day-ci/archive/20220330/202203300748.xYUXZJT9-lkp@intel.com/config) compiler: aarch64-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/ammarfaizi2/linux-block/commit/82ce4a8af88d25d3f75de6e8437de3d2f049cac3 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android12-trusty-5.10 git checkout 82ce4a8af88d25d3f75de6e8437de3d2f049cac3 # 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=arm64 SHELL=/bin/bash drivers/hwtracing/coresight/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/hwtracing/coresight/coresight-etm4x-core.c:118:5: warning: no previous prototype for 'ete_sysreg_read' [-Wmissing-prototypes] 118 | u64 ete_sysreg_read(u32 offset, bool _relaxed, bool _64bit) | ^~~~~~~~~~~~~~~ >> drivers/hwtracing/coresight/coresight-etm4x-core.c:135:6: warning: no previous prototype for 'ete_sysreg_write' [-Wmissing-prototypes] 135 | void ete_sysreg_write(u64 val, u32 offset, bool _relaxed, bool _64bit) | ^~~~~~~~~~~~~~~~ vim +/ete_sysreg_read +118 drivers/hwtracing/coresight/coresight-etm4x-core.c 117 > 118 u64 ete_sysreg_read(u32 offset, bool _relaxed, bool _64bit) 119 { 120 u64 res = 0; 121 122 switch (offset) { 123 ETE_READ_CASES(res) 124 default : 125 pr_warn_ratelimited("ete: trying to read unsupported register @%x\n", 126 offset); 127 } 128 129 if (!_relaxed) 130 __iormb(res); /* Imitate the !relaxed I/O helpers */ 131 132 return res; 133 } 134 > 135 void ete_sysreg_write(u64 val, u32 offset, bool _relaxed, bool _64bit) 136 { 137 if (!_relaxed) 138 __iowmb(); /* Imitate the !relaxed I/O helpers */ 139 if (!_64bit) 140 val &= GENMASK(31, 0); 141 142 switch (offset) { 143 ETE_WRITE_CASES(val) 144 default : 145 pr_warn_ratelimited("ete: trying to write to unsupported register @%x\n", 146 offset); 147 } 148 } 149 -- 0-DAY CI Kernel Test Service https://01.org/lkp