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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5AC7AECAAD8 for ; Wed, 14 Sep 2022 11:38:05 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 988FA6B0073; Wed, 14 Sep 2022 07:38:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 938628D0001; Wed, 14 Sep 2022 07:38:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7FF726B0075; Wed, 14 Sep 2022 07:38:04 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 6DE056B0073 for ; Wed, 14 Sep 2022 07:38:04 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 48F2740A2D for ; Wed, 14 Sep 2022 11:38:04 +0000 (UTC) X-FDA: 79910492088.03.1733A3B Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by imf17.hostedemail.com (Postfix) with ESMTP id 3368140096 for ; Wed, 14 Sep 2022 11:38:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663155483; x=1694691483; h=date:from:to:cc:subject:message-id:mime-version; bh=ChpsJOCbWEiNwO2FqMWNtvFuQxOIOOWWobtbp+M73i0=; b=lsf+U59Qu3LvPBbalPYDjmu2AoU+yaV0BaBIdFpyX/ALoVbM/JzzR3Sa 5xdYgut5iHo0qFxIMNq3xX/MEXUXarQhN0DsgYygoaVJCLjQBlvbZzRQ/ J+Q1Dz/KqCChchoXyLNw97QErgLTN++QGQhpeybk7H1CjuhlQXddd4un5 iKf/hG/Sotm4jGwcYKMKF81Nj9q40PsVcmxJkV5nOLgAW50PYAtxKHTlH QL9uGatPvoLzEEfY/zgb2Kj7P8TQxc8PajMTLLV19HD5g3Z2Z5ZtQGbqW hdbI6lOVp/7lEIReqwltPXq5HpKRHHX2E7BQ7NNWAQo5QsJXHHghzp3aU w==; X-IronPort-AV: E=McAfee;i="6500,9779,10469"; a="299217958" X-IronPort-AV: E=Sophos;i="5.93,315,1654585200"; d="scan'208";a="299217958" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2022 04:38:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,315,1654585200"; d="scan'208";a="650049243" Received: from lkp-server01.sh.intel.com (HELO d6e6b7c4e5a2) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 14 Sep 2022 04:37:59 -0700 Received: from kbuild by d6e6b7c4e5a2 with local (Exim 4.96) (envelope-from ) id 1oYQiM-00009L-1l; Wed, 14 Sep 2022 11:37:58 +0000 Date: Wed, 14 Sep 2022 19:37:41 +0800 From: kernel test robot To: Palmer Dabbelt Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Conor Dooley Subject: [linux-next:master 6256/7172] arch/riscv/errata/thead/errata.c:40:2: error: use of undeclared identifier 'riscv_cbom_block_size' Message-ID: <202209141913.Nxzv3hwM-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=lsf+U59Q; spf=pass (imf17.hostedemail.com: domain of lkp@intel.com designates 134.134.136.24 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1663155484; a=rsa-sha256; cv=none; b=pGFuf/+tVlVFPhSpsK7HIL0TYTU1kWBS9i5uq74/9KblYw1By4CRO7GvT3JNZ7zUokyiK0 Jeoap+1TkGwMKniTnknimGwp5WvbEwT9CKviOF64Xt+rx2tdY7s5HzerFaNqZtHdrCxi2L 5UN9Gqq1TPo1huut3WYusvX5sLYcdzk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1663155484; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=EGlDfFhkiVqlc+PSA6Gw0lqQaQsxHg7+EiKbDJoV0ZA=; b=QGC7WkTKi8HuCrco6ZMT6+fbV+sedl1wPBIoT/+IUAU0e8WmQXWebckxMeNFmj72Lrim1I yMp+qY3lAAWmggy9SIQn0EwSH1tet8TEJBGfJ1oJHtYCjXCi8RqL6lDQkRype+cHAgEX7z ZHUOPDrTWDFx5RIPZdm/Wrgj5ITDXls= X-Stat-Signature: x11ppuzc41af1qw4pdhm97u7jj183nzg X-Rspamd-Queue-Id: 3368140096 X-Rspam-User: Authentication-Results: imf17.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=lsf+U59Q; spf=pass (imf17.hostedemail.com: domain of lkp@intel.com designates 134.134.136.24 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam12 X-HE-Tag: 1663155482-823126 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: f117c01187301a087412bd6697fcf5463cb427d8 commit: 8f7e001e0325de63a42f23342ac3b8139150c5cf [6256/7172] RISC-V: Clean up the Zicbom block size probing config: riscv-randconfig-r042-20220914 (https://download.01.org/0day-ci/archive/20220914/202209141913.Nxzv3hwM-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 1546df49f5a6d09df78f569e4137ddb365a3e827) 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 riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=8f7e001e0325de63a42f23342ac3b8139150c5cf git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 8f7e001e0325de63a42f23342ac3b8139150c5cf # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/errata/thead/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> arch/riscv/errata/thead/errata.c:40:2: error: use of undeclared identifier 'riscv_cbom_block_size' riscv_cbom_block_size = L1_CACHE_BYTES; ^ 1 error generated. vim +/riscv_cbom_block_size +40 arch/riscv/errata/thead/errata.c 29 30 static bool errata_probe_cmo(unsigned int stage, 31 unsigned long arch_id, unsigned long impid) 32 { 33 #ifdef CONFIG_ERRATA_THEAD_CMO 34 if (arch_id != 0 || impid != 0) 35 return false; 36 37 if (stage == RISCV_ALTERNATIVES_EARLY_BOOT) 38 return false; 39 > 40 riscv_cbom_block_size = L1_CACHE_BYTES; 41 riscv_noncoherent_supported(); 42 return true; 43 #else 44 return false; 45 #endif 46 } 47 -- 0-DAY CI Kernel Test Service https://01.org/lkp