From: kernel test robot <lkp@intel.com> To: Vitaly Wool <vitaly.wool@konsulko.com> Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, Linux Memory Management List <linux-mm@kvack.org>, Palmer Dabbelt <palmerdabbelt@google.com> Subject: [linux-next:master 3955/7588] arch/riscv/mm/init.c:485:18: error: use of undeclared identifier 'xip_pmd' Date: Sat, 27 Mar 2021 23:24:20 +0800 [thread overview] Message-ID: <202103272318.X3R7MwEm-lkp@intel.com> (raw) [-- Attachment #1: Type: text/plain, Size: 3471 bytes --] tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 931294922e65a23e1aad6398b9ae02df74044679 commit: 06c7c914de26c5a4f1418fd54e4dfd0be4215de6 [3955/7588] RISC-V: enable XIP config: riscv-randconfig-r026-20210327 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project d50fe9f0d6b9ee61df8830a67ea0a33c27a637e7) 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=06c7c914de26c5a4f1418fd54e4dfd0be4215de6 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 06c7c914de26c5a4f1418fd54e4dfd0be4215de6 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv 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/mm/init.c:485:18: error: use of undeclared identifier 'xip_pmd' (uintptr_t)xip_pmd, PGDIR_SIZE, PAGE_TABLE); ^ >> arch/riscv/mm/init.c:489:3: error: implicit declaration of function 'create_pmd_mapping' [-Werror,-Wimplicit-function-declaration] create_pmd_mapping(xip_pmd, va, ^ arch/riscv/mm/init.c:489:3: note: did you mean 'create_pgd_mapping'? arch/riscv/mm/init.c:360:13: note: 'create_pgd_mapping' declared here void __init create_pgd_mapping(pgd_t *pgdp, ^ arch/riscv/mm/init.c:489:22: error: use of undeclared identifier 'xip_pmd' create_pmd_mapping(xip_pmd, va, ^ arch/riscv/mm/init.c:495:18: error: use of undeclared identifier 'xip_pmd' (uintptr_t)xip_pmd, PGDIR_SIZE, PAGE_TABLE); ^ 4 errors generated. vim +/xip_pmd +485 arch/riscv/mm/init.c 482 483 #ifdef CONFIG_XIP_KERNEL 484 create_pgd_mapping(trampoline_pg_dir, XIP_VIRT_ADDR_START, > 485 (uintptr_t)xip_pmd, PGDIR_SIZE, PAGE_TABLE); 486 for (va = XIP_VIRT_ADDR_START; 487 va < XIP_VIRT_ADDR_START + xiprom_sz; 488 va += PMD_SIZE) { > 489 create_pmd_mapping(xip_pmd, va, 490 xiprom + (va - XIP_VIRT_ADDR_START), 491 PMD_SIZE, PAGE_KERNEL_EXEC); 492 } 493 494 create_pgd_mapping(early_pg_dir, XIP_VIRT_ADDR_START, 495 (uintptr_t)xip_pmd, PGDIR_SIZE, PAGE_TABLE); 496 #endif 497 498 /* 499 * Setup early PGD covering entire kernel which will allows 500 * us to reach paging_init(). We map all memory banks later 501 * in setup_vm_final() below. 502 */ 503 end_va = PAGE_OFFSET + load_sz; 504 for (va = PAGE_OFFSET; va < end_va; va += map_size) 505 create_pgd_mapping(early_pg_dir, va, 506 load_pa + (va - PAGE_OFFSET), 507 map_size, PAGE_KERNEL_EXEC); 508 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 28703 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: [linux-next:master 3955/7588] arch/riscv/mm/init.c:485:18: error: use of undeclared identifier 'xip_pmd' Date: Sat, 27 Mar 2021 23:24:20 +0800 [thread overview] Message-ID: <202103272318.X3R7MwEm-lkp@intel.com> (raw) [-- Attachment #1: Type: text/plain, Size: 3545 bytes --] tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 931294922e65a23e1aad6398b9ae02df74044679 commit: 06c7c914de26c5a4f1418fd54e4dfd0be4215de6 [3955/7588] RISC-V: enable XIP config: riscv-randconfig-r026-20210327 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project d50fe9f0d6b9ee61df8830a67ea0a33c27a637e7) 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=06c7c914de26c5a4f1418fd54e4dfd0be4215de6 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 06c7c914de26c5a4f1418fd54e4dfd0be4215de6 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv 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/mm/init.c:485:18: error: use of undeclared identifier 'xip_pmd' (uintptr_t)xip_pmd, PGDIR_SIZE, PAGE_TABLE); ^ >> arch/riscv/mm/init.c:489:3: error: implicit declaration of function 'create_pmd_mapping' [-Werror,-Wimplicit-function-declaration] create_pmd_mapping(xip_pmd, va, ^ arch/riscv/mm/init.c:489:3: note: did you mean 'create_pgd_mapping'? arch/riscv/mm/init.c:360:13: note: 'create_pgd_mapping' declared here void __init create_pgd_mapping(pgd_t *pgdp, ^ arch/riscv/mm/init.c:489:22: error: use of undeclared identifier 'xip_pmd' create_pmd_mapping(xip_pmd, va, ^ arch/riscv/mm/init.c:495:18: error: use of undeclared identifier 'xip_pmd' (uintptr_t)xip_pmd, PGDIR_SIZE, PAGE_TABLE); ^ 4 errors generated. vim +/xip_pmd +485 arch/riscv/mm/init.c 482 483 #ifdef CONFIG_XIP_KERNEL 484 create_pgd_mapping(trampoline_pg_dir, XIP_VIRT_ADDR_START, > 485 (uintptr_t)xip_pmd, PGDIR_SIZE, PAGE_TABLE); 486 for (va = XIP_VIRT_ADDR_START; 487 va < XIP_VIRT_ADDR_START + xiprom_sz; 488 va += PMD_SIZE) { > 489 create_pmd_mapping(xip_pmd, va, 490 xiprom + (va - XIP_VIRT_ADDR_START), 491 PMD_SIZE, PAGE_KERNEL_EXEC); 492 } 493 494 create_pgd_mapping(early_pg_dir, XIP_VIRT_ADDR_START, 495 (uintptr_t)xip_pmd, PGDIR_SIZE, PAGE_TABLE); 496 #endif 497 498 /* 499 * Setup early PGD covering entire kernel which will allows 500 * us to reach paging_init(). We map all memory banks later 501 * in setup_vm_final() below. 502 */ 503 end_va = PAGE_OFFSET + load_sz; 504 for (va = PAGE_OFFSET; va < end_va; va += map_size) 505 create_pgd_mapping(early_pg_dir, va, 506 load_pa + (va - PAGE_OFFSET), 507 map_size, PAGE_KERNEL_EXEC); 508 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 28703 bytes --]
next reply other threads:[~2021-03-27 15:24 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-03-27 15:24 kernel test robot [this message] 2021-03-27 15:24 ` [linux-next:master 3955/7588] arch/riscv/mm/init.c:485:18: error: use of undeclared identifier 'xip_pmd' kernel test robot
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=202103272318.X3R7MwEm-lkp@intel.com \ --to=lkp@intel.com \ --cc=clang-built-linux@googlegroups.com \ --cc=kbuild-all@lists.01.org \ --cc=linux-mm@kvack.org \ --cc=palmerdabbelt@google.com \ --cc=vitaly.wool@konsulko.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.