linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: <Conor.Dooley@microchip.com>
To: <lkp@intel.com>, <palmer@rivosinc.com>, <heiko@sntech.de>
Cc: <llvm@lists.linux.dev>, <kbuild-all@lists.01.org>, <linux-mm@kvack.org>
Subject: Re: [linux-next:master 6256/7172] arch/riscv/errata/thead/errata.c:40:2: error: use of undeclared identifier 'riscv_cbom_block_size'
Date: Wed, 14 Sep 2022 12:27:19 +0000	[thread overview]
Message-ID: <2d0d917d-9bc8-a1e4-1569-af3921a18139@microchip.com> (raw)
In-Reply-To: <202209141913.Nxzv3hwM-lkp@intel.com>

@Heiko is this the same issue that LKP previously complained about
that you have a fix for, or should I sent a fix for it tonight?

On 14/09/2022 12:37, kernel test robot wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> 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 <lkp@intel.com>
> 
> 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


  reply	other threads:[~2022-09-14 12:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-14 11:37 [linux-next:master 6256/7172] arch/riscv/errata/thead/errata.c:40:2: error: use of undeclared identifier 'riscv_cbom_block_size' kernel test robot
2022-09-14 12:27 ` Conor.Dooley [this message]
2022-09-14 14:38   ` Heiko Stuebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2d0d917d-9bc8-a1e4-1569-af3921a18139@microchip.com \
    --to=conor.dooley@microchip.com \
    --cc=heiko@sntech.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=palmer@rivosinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).