mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [csky-linux:riscv_compat_v2_sv48_v3_xtpbmt 32/32] arch/riscv/errata/thead/errata.c:40:50: error: '__riscv_svpbmt' undeclared
@ 2021-12-29 23:15 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-29 23:15 UTC (permalink / raw)
  To: Guo Ren; +Cc: kbuild-all, linux-kernel, Liu Shaohua, Wei Fu

tree:   https://github.com/c-sky/csky-linux riscv_compat_v2_sv48_v3_xtpbmt
head:   ff10a70d2ed4fbef7238b315145d1aa0d137f80f
commit: ff10a70d2ed4fbef7238b315145d1aa0d137f80f [32/32] riscv: errata: pgtable: Add custom Svpbmt supported for Allwinner D1
config: riscv-buildonly-randconfig-r002-20211230 (https://download.01.org/0day-ci/archive/20211230/202112300758.KEBcJ4W5-lkp@intel.com/config)
compiler: riscv32-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/c-sky/csky-linux/commit/ff10a70d2ed4fbef7238b315145d1aa0d137f80f
        git remote add csky-linux https://github.com/c-sky/csky-linux
        git fetch --no-tags csky-linux riscv_compat_v2_sv48_v3_xtpbmt
        git checkout ff10a70d2ed4fbef7238b315145d1aa0d137f80f
        # 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=riscv SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arch/riscv/errata/thead/errata.c: In function 'thead_errata_setup_vm':
>> arch/riscv/errata/thead/errata.c:40:50: error: '__riscv_svpbmt' undeclared (first use in this function)
      40 |                 pgprot_val(protection_map[i]) |= __riscv_svpbmt.mt_pma;
         |                                                  ^~~~~~~~~~~~~~
   arch/riscv/errata/thead/errata.c:40:50: note: each undeclared identifier is reported only once for each function it appears in

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for SERIAL_8250_DW
   Depends on TTY && HAS_IOMEM && SERIAL_8250
   Selected by
   - ERRATA_THEAD && RISCV_ERRATA_ALTERNATIVE


vim +/__riscv_svpbmt +40 arch/riscv/errata/thead/errata.c

    38	
    39		for (i = 0; i < 16; i++)
  > 40			pgprot_val(protection_map[i]) |= __riscv_svpbmt.mt_pma;

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-29 23:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-29 23:15 [csky-linux:riscv_compat_v2_sv48_v3_xtpbmt 32/32] arch/riscv/errata/thead/errata.c:40:50: error: '__riscv_svpbmt' undeclared kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®