[linux-next:master 4089/9662] ld.lld: error: section .data..page_aligned at 0xFFFFFFFF8519F000 of size 0x2000 exceeds available address space
by kbuild test robot
TO: "Paul E. McKenney" <paulmck(a)kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: bdecf38f228bcca73b31ada98b5b7ba1215eb9c9
commit: b0afa0f056676ffe0a7213818f09d2460adbcc16 [4089/9662] rcu-tasks: Provide boot parameter to delay IPIs until late in grace period
config: mips-randconfig-r004-20200517 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 13d44b2a0c7ef404b13b16644765977cd5310fe2)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
git checkout b0afa0f056676ffe0a7213818f09d2460adbcc16
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
Note: the linux-next/master HEAD bdecf38f228bcca73b31ada98b5b7ba1215eb9c9 builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>, old ones prefixed by <<):
ld.lld: error: section .text at 0xFFFFFFFF84000000 of size 0xF857B4 exceeds available address space
ld.lld: error: section __ex_table at 0xFFFFFFFF84F857C0 of size 0x1DE8 exceeds available address space
ld.lld: error: section __dbe_table at 0xFFFFFFFF84F875A8 of size 0x0 exceeds available address space
ld.lld: error: section .rodata at 0xFFFFFFFF84F88000 of size 0x2169F7 exceeds available address space
>> ld.lld: error: section .data..page_aligned at 0xFFFFFFFF8519F000 of size 0x2000 exceeds available address space
>> ld.lld: error: section .got at 0xFFFFFFFF851A1000 of size 0x8 exceeds available address space
>> ld.lld: error: section .rodata1 at 0xFFFFFFFF851A1008 of size 0x0 exceeds available address space
>> ld.lld: error: section .pci_fixup at 0xFFFFFFFF851A1008 of size 0x1E80 exceeds available address space
>> ld.lld: error: section .builtin_fw at 0xFFFFFFFF851A2E88 of size 0x0 exceeds available address space
>> ld.lld: error: section __ksymtab at 0xFFFFFFFF851A2E88 of size 0x10350 exceeds available address space
ld.lld: error: section __ksymtab_gpl at 0xFFFFFFFF851B31D8 of size 0xEF4C exceeds available address space
ld.lld: error: section __ksymtab_unused at 0xFFFFFFFF851C2124 of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab_unused_gpl at 0xFFFFFFFF851C2124 of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab_gpl_future at 0xFFFFFFFF851C2124 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab at 0xFFFFFFFF851C2124 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_gpl at 0xFFFFFFFF851C2124 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_unused at 0xFFFFFFFF851C2124 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_unused_gpl at 0xFFFFFFFF851C2124 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_gpl_future at 0xFFFFFFFF851C2124 of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab_strings at 0xFFFFFFFF851C2124 of size 0x3435C exceeds available address space
ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[linux-next:master 9398/9662] drivers/clk/clk-hsdk-pll.c:314: undefined reference to `devm_ioremap_resource'
by kbuild test robot
Hi Stephen,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: bdecf38f228bcca73b31ada98b5b7ba1215eb9c9
commit: d2bf65df75c8660cf8b568274337b68fa366173a [9398/9662] Merge remote-tracking branch 'uml/linux-next'
config: um-randconfig-r015-20200517 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout d2bf65df75c8660cf8b568274337b68fa366173a
# save the attached .config to linux build tree
make ARCH=um
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
/usr/bin/ld: drivers/clk/clk-hsdk-pll.o: in function `hsdk_pll_clk_probe':
>> drivers/clk/clk-hsdk-pll.c:314: undefined reference to `devm_ioremap_resource'
/usr/bin/ld: drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.o: in function `clk_wzrd_probe':
>> drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c:145: undefined reference to `devm_platform_ioremap_resource'
collect2: error: ld returned 1 exit status
vim +314 drivers/clk/clk-hsdk-pll.c
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 298
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 299 static int hsdk_pll_clk_probe(struct platform_device *pdev)
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 300 {
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 301 int ret;
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 302 struct resource *mem;
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 303 const char *parent_name;
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 304 unsigned int num_parents;
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 305 struct hsdk_pll_clk *pll_clk;
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 306 struct clk_init_data init = { };
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 307 struct device *dev = &pdev->dev;
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 308
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 309 pll_clk = devm_kzalloc(dev, sizeof(*pll_clk), GFP_KERNEL);
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 310 if (!pll_clk)
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 311 return -ENOMEM;
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 312
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 313 mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 @314 pll_clk->regs = devm_ioremap_resource(dev, mem);
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 315 if (IS_ERR(pll_clk->regs))
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 316 return PTR_ERR(pll_clk->regs);
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 317
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 318 init.name = dev->of_node->name;
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 319 init.ops = &hsdk_pll_ops;
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 320 parent_name = of_clk_get_parent_name(dev->of_node, 0);
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 321 init.parent_names = &parent_name;
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 322 num_parents = of_clk_get_parent_count(dev->of_node);
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 323 if (num_parents == 0 || num_parents > CGU_PLL_SOURCE_MAX) {
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 324 dev_err(dev, "wrong clock parents number: %u\n", num_parents);
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 325 return -EINVAL;
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 326 }
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 327 init.num_parents = num_parents;
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 328
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 329 pll_clk->hw.init = &init;
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 330 pll_clk->dev = dev;
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 331 pll_clk->pll_devdata = of_device_get_match_data(dev);
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 332
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 333 if (!pll_clk->pll_devdata) {
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 334 dev_err(dev, "No OF match data provided\n");
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 335 return -EINVAL;
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 336 }
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 337
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 338 ret = devm_clk_hw_register(dev, &pll_clk->hw);
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 339 if (ret) {
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 340 dev_err(dev, "failed to register %s clock\n", init.name);
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 341 return ret;
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 342 }
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 343
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 344 return of_clk_add_hw_provider(dev->of_node, of_clk_hw_simple_get,
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 345 &pll_clk->hw);
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 346 }
daeeb438c052e37 Eugeniy Paltsev 2017-08-25 347
:::::: The code at line 314 was first introduced by commit
:::::: daeeb438c052e3763617c636943e07a8f3684e9e ARC: clk: introduce HSDK pll driver
:::::: TO: Eugeniy Paltsev <Eugeniy.Paltsev(a)synopsys.com>
:::::: CC: Stephen Boyd <sboyd(a)codeaurora.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[block:for-5.8/block 60/79] include/linux/blkdev.h:1834:26: error: 'sysctl_hung_task_timeout_secs' undeclared
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-5.8/block
head: 870c153cf0e6df1b8b5226af41b19945e8e0d143
commit: e6249cdd46e43a7d3bdb8cce5fe24565d6c11e94 [60/79] block: add blk_io_schedule() for avoiding task hung in sync dio
config: m68k-allnoconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout e6249cdd46e43a7d3bdb8cce5fe24565d6c11e94
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
Note: the block/for-5.8/block HEAD 870c153cf0e6df1b8b5226af41b19945e8e0d143 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>, old ones prefixed by <<):
In file included from include/linux/backing-dev.h:15,
from fs/open.c:16:
include/linux/blkdev.h: In function 'blk_io_schedule':
>> include/linux/blkdev.h:1834:26: error: 'sysctl_hung_task_timeout_secs' undeclared (first use in this function)
1834 | unsigned long timeout = sysctl_hung_task_timeout_secs * HZ / 2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/blkdev.h:1834:26: note: each undeclared identifier is reported only once for each function it appears in
vim +/sysctl_hung_task_timeout_secs +1834 include/linux/blkdev.h
1830
1831 static inline void blk_io_schedule(void)
1832 {
1833 /* Prevent hang_check timer from firing at us during very long I/O */
> 1834 unsigned long timeout = sysctl_hung_task_timeout_secs * HZ / 2;
1835
1836 if (timeout)
1837 io_schedule_timeout(timeout);
1838 else
1839 io_schedule();
1840 }
1841
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[sashal-linux-stable:queue-5.4 230/290] kernel/bpf/verifier.c:6365:3: note: in expansion of macro 'if'
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.4
head: de62e075613ad8d1b4979186b1962e3ae58156f2
commit: 669072417f9719ddb1075d10a7764ddd0f9e885c [230/290] bpf: Enforce 'return 0' in BTF-enabled raw_tp programs
config: um-randconfig-r015-20200517 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout 669072417f9719ddb1075d10a7764ddd0f9e885c
# save the attached .config to linux build tree
make ARCH=um
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from include/linux/kernel.h:11:0,
from kernel/bpf/verifier.c:7:
include/asm-generic/pgtable.h: In function 'pud_none_or_trans_huge_or_dev_or_clear_bad':
include/asm-generic/pgtable.h:920:52: error: implicit declaration of function 'pud_devmap'; did you mean 'pud_val'? [-Werror=implicit-function-declaration]
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
^~~~
include/asm-generic/pgtable.h:920:2: note: in expansion of macro 'if'
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^~
In file included from include/linux/bvec.h:13:0,
from include/linux/skbuff.h:17,
from include/linux/filter.h:13,
from include/linux/bpf_verifier.h:8,
from kernel/bpf/verifier.c:12:
include/linux/mm.h: At top level:
include/linux/mm.h:572:19: error: static declaration of 'pud_devmap' follows non-static declaration
static inline int pud_devmap(pud_t pud)
^~~~~~~~~~
In file included from include/linux/kernel.h:11:0,
from kernel/bpf/verifier.c:7:
include/asm-generic/pgtable.h:920:52: note: previous implicit declaration of 'pud_devmap' was here
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
^~~~
include/asm-generic/pgtable.h:920:2: note: in expansion of macro 'if'
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^~
In file included from include/linux/kernel.h:11:0,
from kernel/bpf/verifier.c:7:
kernel/bpf/verifier.c: In function 'check_return_code':
kernel/bpf/verifier.c:6365:22: error: 'struct bpf_prog_aux' has no member named 'attach_btf_id'
if (!env->prog->aux->attach_btf_id)
^
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
^~~~
>> kernel/bpf/verifier.c:6365:3: note: in expansion of macro 'if'
if (!env->prog->aux->attach_btf_id)
^~
kernel/bpf/verifier.c:6365:22: error: 'struct bpf_prog_aux' has no member named 'attach_btf_id'
if (!env->prog->aux->attach_btf_id)
^
include/linux/compiler.h:58:61: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
^~~~
>> kernel/bpf/verifier.c:6365:3: note: in expansion of macro 'if'
if (!env->prog->aux->attach_btf_id)
^~
kernel/bpf/verifier.c:6365:22: error: 'struct bpf_prog_aux' has no member named 'attach_btf_id'
if (!env->prog->aux->attach_btf_id)
^
include/linux/compiler.h:69:3: note: in definition of macro '__trace_if_value'
(cond) ? ^~~~
include/linux/compiler.h:56:28: note: in expansion of macro '__trace_if_var'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~~~~~~~~~~~
>> kernel/bpf/verifier.c:6365:3: note: in expansion of macro 'if'
if (!env->prog->aux->attach_btf_id)
^~
cc1: some warnings being treated as errors
vim +/if +6365 kernel/bpf/verifier.c
6339
6340 static int check_return_code(struct bpf_verifier_env *env)
6341 {
6342 struct tnum enforce_attach_type_range = tnum_unknown;
6343 struct bpf_reg_state *reg;
6344 struct tnum range = tnum_range(0, 1);
6345
6346 switch (env->prog->type) {
6347 case BPF_PROG_TYPE_CGROUP_SOCK_ADDR:
6348 if (env->prog->expected_attach_type == BPF_CGROUP_UDP4_RECVMSG ||
6349 env->prog->expected_attach_type == BPF_CGROUP_UDP6_RECVMSG)
6350 range = tnum_range(1, 1);
6351 break;
6352 case BPF_PROG_TYPE_CGROUP_SKB:
6353 if (env->prog->expected_attach_type == BPF_CGROUP_INET_EGRESS) {
6354 range = tnum_range(0, 3);
6355 enforce_attach_type_range = tnum_range(2, 3);
6356 }
6357 break;
6358 case BPF_PROG_TYPE_CGROUP_SOCK:
6359 case BPF_PROG_TYPE_SOCK_OPS:
6360 case BPF_PROG_TYPE_CGROUP_DEVICE:
6361 case BPF_PROG_TYPE_CGROUP_SYSCTL:
6362 case BPF_PROG_TYPE_CGROUP_SOCKOPT:
6363 break;
6364 case BPF_PROG_TYPE_RAW_TRACEPOINT:
> 6365 if (!env->prog->aux->attach_btf_id)
6366 return 0;
6367 range = tnum_const(0);
6368 break;
6369 default:
6370 return 0;
6371 }
6372
6373 reg = cur_regs(env) + BPF_REG_0;
6374 if (reg->type != SCALAR_VALUE) {
6375 verbose(env, "At program exit the register R0 is not a known value (%s)\n",
6376 reg_type_str[reg->type]);
6377 return -EINVAL;
6378 }
6379
6380 if (!tnum_in(range, reg->var_off)) {
6381 char tn_buf[48];
6382
6383 verbose(env, "At program exit the register R0 ");
6384 if (!tnum_is_unknown(reg->var_off)) {
6385 tnum_strn(tn_buf, sizeof(tn_buf), reg->var_off);
6386 verbose(env, "has value %s", tn_buf);
6387 } else {
6388 verbose(env, "has unknown scalar value");
6389 }
6390 tnum_strn(tn_buf, sizeof(tn_buf), range);
6391 verbose(env, " should have been in %s\n", tn_buf);
6392 return -EINVAL;
6393 }
6394
6395 if (!tnum_is_unknown(enforce_attach_type_range) &&
6396 tnum_in(enforce_attach_type_range, reg->var_off))
6397 env->prog->enforce_expected_attach_type = 1;
6398 return 0;
6399 }
6400
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[linux-stable-rc:linux-5.6.y 991/1124] ld.lld: error: can't create dynamic relocation R_PPC_ADDR16_HI against symbol: init_thread_union in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
by kbuild test robot
TO: Nathan Chancellor <natechancellor(a)gmail.com>
CC: "Greg Kroah-Hartman" <gregkh(a)linuxfoundation.org>
CC: Michael Ellerman <mpe(a)ellerman.id.au>
CC: Sasha Levin <alexander.levin(a)microsoft.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.6.y
head: 5821a5593fa9f28eb6fcc95c35d00454d9bb8624
commit: 6f7eb520c385d6b7b97a136376296ec475b0d48b [991/1124] lib/mpi: Fix building for powerpc with clang
config: powerpc-randconfig-r021-20200517 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 13d44b2a0c7ef404b13b16644765977cd5310fe2)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
git checkout 6f7eb520c385d6b7b97a136376296ec475b0d48b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>, old ones prefixed by <<):
>> WARNING: vmlinux.o(.text+0x3a1f0): Section mismatch in reference from the function ppc47x_pin_tlb() to the function .init.text:ppc47x_find_free_bolted()
The function ppc47x_pin_tlb() references
the function __init ppc47x_find_free_bolted().
This is often because ppc47x_pin_tlb lacks a __init
annotation or the annotation of ppc47x_find_free_bolted is wrong.
--
>> ld.lld: error: can't create dynamic relocation R_PPC_ADDR16_HI against symbol: init_thread_union in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in
>>> referenced by head_44x.S:109 (arch/powerpc/kernel/head_44x.S:109)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0x4E)
--
>> ld.lld: error: can't create dynamic relocation R_PPC_ADDR16_LO against symbol: init_thread_union in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in
>>> referenced by head_44x.S:110 (arch/powerpc/kernel/head_44x.S:110)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0x52)
--
>> ld.lld: error: can't create dynamic relocation R_PPC_ADDR32 against symbol: ret_from_except in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in arch/powerpc/built-in.a(kernel/entry_32.o)
>>> referenced by head_44x.S:260 (arch/powerpc/kernel/head_44x.S:260)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0x480)
--
>> ld.lld: error: can't create dynamic relocation R_PPC_ADDR32 against symbol: handle_page_fault in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in arch/powerpc/built-in.a(kernel/entry_32.o)
>>> referenced by head_44x.S:263 (arch/powerpc/kernel/head_44x.S:263)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0x560)
--
>> ld.lld: error: can't create dynamic relocation R_PPC_ADDR32 against symbol: ret_from_except in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in arch/powerpc/built-in.a(kernel/entry_32.o)
>>> referenced by head_44x.S:263 (arch/powerpc/kernel/head_44x.S:263)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0x564)
--
>> ld.lld: error: can't create dynamic relocation R_PPC_ADDR32 against symbol: ret_from_except in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in arch/powerpc/built-in.a(kernel/entry_32.o)
>>> referenced by head_44x.S:266 (arch/powerpc/kernel/head_44x.S:266)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0x634)
--
>> ld.lld: error: can't create dynamic relocation R_PPC_ADDR32 against symbol: ret_from_except_full in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in arch/powerpc/built-in.a(kernel/entry_32.o)
>>> referenced by head_44x.S:270 (arch/powerpc/kernel/head_44x.S:270)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0x6FC)
--
>> ld.lld: error: can't create dynamic relocation R_PPC_ADDR32 against symbol: ret_from_except_full in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in arch/powerpc/built-in.a(kernel/entry_32.o)
>>> referenced by head_44x.S:273 (arch/powerpc/kernel/head_44x.S:273)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0x7BC)
--
>> ld.lld: error: can't create dynamic relocation R_PPC_ADDR32 against symbol: ret_from_except_full in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in arch/powerpc/built-in.a(kernel/entry_32.o)
>>> referenced by head_44x.S:277 (arch/powerpc/kernel/head_44x.S:277)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0x880)
--
>> ld.lld: error: can't create dynamic relocation R_PPC_ADDR16_HA against symbol: global_dbcr0 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in arch/powerpc/built-in.a(kernel/entry_32.o)
>>> referenced by head_44x.S:284 (arch/powerpc/kernel/head_44x.S:284)
>>> arch/powerpc/kernel/head_44x.o:(.head.text+0x952)
..
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
Re: [Intel-gfx] [PATCH v8 6/7] drm/i915: Adjust CDCLK accordingly to our DBuf bw needs
by kbuild test robot
Hi Stanislav,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[cannot apply to drm-tip/drm-tip v5.7-rc5 next-20200515]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Stanislav-Lisovskiy/Consider-DBu...
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-allyesconfig (attached as .config)
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-193-gb8fad4bc-dirty
# save the attached .config to linux build tree
make C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
drivers/gpu/drm/i915/display/intel_display.c: In function 'intel_atomic_check_planes':
drivers/gpu/drm/i915/display/intel_display.c:14695:2: error: 'new_cdclk_state' undeclared (first use in this function); did you mean 'intel_cdclk_state'?
new_cdclk_state = intel_atomic_get_new_cdclk_state(state);
^~~~~~~~~~~~~~~
intel_cdclk_state
drivers/gpu/drm/i915/display/intel_display.c:14695:2: note: each undeclared identifier is reported only once for each function it appears in
drivers/gpu/drm/i915/display/intel_display.c:14698:4: error: 'need_cdclk_calc' undeclared (first use in this function); did you mean 'intel_cdclk_vals'?
*need_cdclk_calc = true;
^~~~~~~~~~~~~~~
intel_cdclk_vals
In file included from include/linux/list.h:9:0,
from include/linux/kobject.h:19,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from include/linux/i2c.h:13,
from drivers/gpu/drm/i915/display/intel_display.c:27:
>> include/linux/kernel.h:866:2: error: first argument to '__builtin_choose_expr' not a constant
__builtin_choose_expr(__safe_cmp(x, y), ^
include/linux/kernel.h:882:19: note: in expansion of macro '__careful_cmp'
#define max(x, y) __careful_cmp(x, y, >)
^~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_display.c:14711:15: note: in expansion of macro 'max'
min_cdclk = max(new_cdclk_state->min_cdclk[crtc->pipe], min_cdclk);
^~~
drivers/gpu/drm/i915/display/intel_display.c: In function 'intel_atomic_check_cdclk':
drivers/gpu/drm/i915/display/intel_display.c:14736:21: warning: unused variable 'crtc' [-Wunused-variable]
struct intel_crtc *crtc;
^~~~
drivers/gpu/drm/i915/display/intel_display.c:14735:27: warning: unused variable 'new_crtc_state' [-Wunused-variable]
struct intel_crtc_state *new_crtc_state;
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_display.c:14734:28: warning: unused variable 'new_cdclk_state' [-Wunused-variable]
struct intel_cdclk_state *new_cdclk_state;
^~~~~~~~~~~~~~~
vim +/__builtin_choose_expr +866 include/linux/kernel.h
3c8ba0d61d04ce Kees Cook 2018-03-30 859
e9092d0d979611 Linus Torvalds 2018-04-09 860 #define __cmp_once(x, y, unique_x, unique_y, op) ({ \
e9092d0d979611 Linus Torvalds 2018-04-09 861 typeof(x) unique_x = (x); \
e9092d0d979611 Linus Torvalds 2018-04-09 862 typeof(y) unique_y = (y); \
e9092d0d979611 Linus Torvalds 2018-04-09 863 __cmp(unique_x, unique_y, op); })
3c8ba0d61d04ce Kees Cook 2018-03-30 864
3c8ba0d61d04ce Kees Cook 2018-03-30 865 #define __careful_cmp(x, y, op) \
3c8ba0d61d04ce Kees Cook 2018-03-30 @866 __builtin_choose_expr(__safe_cmp(x, y), \
e9092d0d979611 Linus Torvalds 2018-04-09 867 __cmp(x, y, op), \
e9092d0d979611 Linus Torvalds 2018-04-09 868 __cmp_once(x, y, __UNIQUE_ID(__x), __UNIQUE_ID(__y), op))
e8c97af0c1f23d Randy Dunlap 2017-10-13 869
:::::: The code at line 866 was first introduced by commit
:::::: 3c8ba0d61d04ced9f8d9ff93977995a9e4e96e91 kernel.h: Retain constant expression output for max()/min()
:::::: TO: Kees Cook <keescook(a)chromium.org>
:::::: CC: Linus Torvalds <torvalds(a)linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[dhowells-fs:fsinfo-core 24/31] ld.lld: error: section .text at 0xFFFFFFFF84000000 of size 0xF87724 exceeds available address space
by kbuild test robot
TO: David Howells <dhowells(a)redhat.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git fsinfo-core
head: 702c6a07c77e7f7068e2e20480d36ec79e14ea8e
commit: b139eda92fda76ad3a48c6b677284b2d292d8b25 [24/31] fsinfo: Allow mount information to be queried
config: mips-randconfig-r004-20200517 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 13d44b2a0c7ef404b13b16644765977cd5310fe2)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
git checkout b139eda92fda76ad3a48c6b677284b2d292d8b25
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ld.lld: error: section .text at 0xFFFFFFFF84000000 of size 0xF87724 exceeds available address space
>> ld.lld: error: section __ex_table at 0xFFFFFFFF84F87730 of size 0x1DE8 exceeds available address space
>> ld.lld: error: section __dbe_table at 0xFFFFFFFF84F89518 of size 0x0 exceeds available address space
ld.lld: error: section .rodata at 0xFFFFFFFF84F8A000 of size 0x21665F exceeds available address space
ld.lld: error: section .data..page_aligned at 0xFFFFFFFF851A1000 of size 0x2000 exceeds available address space
ld.lld: error: section .got at 0xFFFFFFFF851A3000 of size 0x8 exceeds available address space
ld.lld: error: section .rodata1 at 0xFFFFFFFF851A3008 of size 0x0 exceeds available address space
ld.lld: error: section .pci_fixup at 0xFFFFFFFF851A3008 of size 0x1E90 exceeds available address space
ld.lld: error: section .builtin_fw at 0xFFFFFFFF851A4E98 of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab at 0xFFFFFFFF851A4E98 of size 0x1038C exceeds available address space
ld.lld: error: section __ksymtab_gpl at 0xFFFFFFFF851B5224 of size 0xEF40 exceeds available address space
ld.lld: error: section __ksymtab_unused at 0xFFFFFFFF851C4164 of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab_unused_gpl at 0xFFFFFFFF851C4164 of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab_gpl_future at 0xFFFFFFFF851C4164 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab at 0xFFFFFFFF851C4164 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_gpl at 0xFFFFFFFF851C4164 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_unused at 0xFFFFFFFF851C4164 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_unused_gpl at 0xFFFFFFFF851C4164 of size 0x0 exceeds available address space
ld.lld: error: section __kcrctab_gpl_future at 0xFFFFFFFF851C4164 of size 0x0 exceeds available address space
ld.lld: error: section __ksymtab_strings at 0xFFFFFFFF851C4164 of size 0x34391 exceeds available address space
ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[sashal-linux-stable:queue-5.4 196/290] include/asm-generic/pgtable.h:920:2: note: in expansion of macro 'if'
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.4
head: de62e075613ad8d1b4979186b1962e3ae58156f2
commit: c13517e00945f874d87a7d9e140ea0f6c5384f9a [196/290] mm/memory.c: fix a huge pud insertion race during faulting
config: um-randconfig-r015-20200517 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout c13517e00945f874d87a7d9e140ea0f6c5384f9a
# save the attached .config to linux build tree
make ARCH=um
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from include/asm-generic/bug.h:5:0,
from ./arch/um/include/generated/asm/bug.h:1,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/gfp.h:5,
from include/linux/slab.h:15,
from kernel/fork.c:16:
include/asm-generic/pgtable.h: In function 'pud_none_or_trans_huge_or_dev_or_clear_bad':
include/asm-generic/pgtable.h:920:52: error: implicit declaration of function 'pud_devmap'; did you mean 'pud_val'? [-Werror=implicit-function-declaration]
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
^~~~
>> include/asm-generic/pgtable.h:920:2: note: in expansion of macro 'if'
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^~
In file included from include/linux/dax.h:6:0,
from include/linux/mempolicy.h:11,
from kernel/fork.c:34:
include/linux/mm.h: At top level:
include/linux/mm.h:572:19: error: static declaration of 'pud_devmap' follows non-static declaration
static inline int pud_devmap(pud_t pud)
^~~~~~~~~~
In file included from include/asm-generic/bug.h:5:0,
from ./arch/um/include/generated/asm/bug.h:1,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/gfp.h:5,
from include/linux/slab.h:15,
from kernel/fork.c:16:
include/asm-generic/pgtable.h:920:52: note: previous implicit declaration of 'pud_devmap' was here
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
^~~~
>> include/asm-generic/pgtable.h:920:2: note: in expansion of macro 'if'
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^~
cc1: some warnings being treated as errors
--
In file included from include/linux/kernel.h:11:0,
from include/linux/list.h:9,
from include/linux/wait.h:7,
from include/linux/wait_bit.h:8,
from include/linux/fs.h:6,
from include/linux/proc_fs.h:9,
from kernel/cpu.c:6:
include/asm-generic/pgtable.h: In function 'pud_none_or_trans_huge_or_dev_or_clear_bad':
include/asm-generic/pgtable.h:920:52: error: implicit declaration of function 'pud_devmap'; did you mean 'put_device'? [-Werror=implicit-function-declaration]
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
^~~~
>> include/asm-generic/pgtable.h:920:2: note: in expansion of macro 'if'
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^~
In file included from include/linux/oom.h:11:0,
from kernel/cpu.c:17:
include/linux/mm.h: At top level:
include/linux/mm.h:572:19: error: static declaration of 'pud_devmap' follows non-static declaration
static inline int pud_devmap(pud_t pud)
^~~~~~~~~~
In file included from include/linux/kernel.h:11:0,
from include/linux/list.h:9,
from include/linux/wait.h:7,
from include/linux/wait_bit.h:8,
from include/linux/fs.h:6,
from include/linux/proc_fs.h:9,
from kernel/cpu.c:6:
include/asm-generic/pgtable.h:920:52: note: previous implicit declaration of 'pud_devmap' was here
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
^~~~
>> include/asm-generic/pgtable.h:920:2: note: in expansion of macro 'if'
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^~
cc1: some warnings being treated as errors
--
In file included from include/linux/string.h:6:0,
from include/linux/seq_file.h:6,
from kernel/bpf/btf.c:6:
include/asm-generic/pgtable.h: In function 'pud_none_or_trans_huge_or_dev_or_clear_bad':
include/asm-generic/pgtable.h:920:52: error: implicit declaration of function 'pud_devmap'; did you mean 'pud_val'? [-Werror=implicit-function-declaration]
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
^~~~
>> include/asm-generic/pgtable.h:920:2: note: in expansion of macro 'if'
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^~
In file included from include/linux/bvec.h:13:0,
from include/linux/skbuff.h:17,
from include/linux/filter.h:13,
from include/linux/bpf_verifier.h:8,
from kernel/bpf/btf.c:17:
include/linux/mm.h: At top level:
include/linux/mm.h:572:19: error: static declaration of 'pud_devmap' follows non-static declaration
static inline int pud_devmap(pud_t pud)
^~~~~~~~~~
In file included from include/linux/string.h:6:0,
from include/linux/seq_file.h:6,
from kernel/bpf/btf.c:6:
include/asm-generic/pgtable.h:920:52: note: previous implicit declaration of 'pud_devmap' was here
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
^~~~
>> include/asm-generic/pgtable.h:920:2: note: in expansion of macro 'if'
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^~
kernel/bpf/btf.c: In function 'btf_ctx_access':
kernel/bpf/btf.c:3446:24: error: 'struct bpf_prog_aux' has no member named 'attach_btf_id'
u32 btf_id = prog->aux->attach_btf_id;
^~
cc1: some warnings being treated as errors
--
In file included from include/linux/kernel.h:11:0,
from include/linux/list.h:9,
from include/linux/module.h:9,
from net/ieee802154/trace.c:1:
include/asm-generic/pgtable.h: In function 'pud_none_or_trans_huge_or_dev_or_clear_bad':
include/asm-generic/pgtable.h:920:52: error: implicit declaration of function 'pud_devmap'; did you mean 'pud_val'? [-Werror=implicit-function-declaration]
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
^~~~
>> include/asm-generic/pgtable.h:920:2: note: in expansion of macro 'if'
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^~
In file included from include/linux/bvec.h:13:0,
from include/linux/skbuff.h:17,
from include/linux/if_ether.h:19,
from include/uapi/linux/ethtool.h:19,
from include/linux/ethtool.h:18,
from include/linux/netdevice.h:37,
from include/net/cfg802154.h:13,
from net/ieee802154/trace.h:12,
from net/ieee802154/trace.c:5:
include/linux/mm.h: At top level:
include/linux/mm.h:572:19: error: static declaration of 'pud_devmap' follows non-static declaration
static inline int pud_devmap(pud_t pud)
^~~~~~~~~~
In file included from include/linux/kernel.h:11:0,
from include/linux/list.h:9,
from include/linux/module.h:9,
from net/ieee802154/trace.c:1:
include/asm-generic/pgtable.h:920:52: note: previous implicit declaration of 'pud_devmap' was here
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
^~~~
>> include/asm-generic/pgtable.h:920:2: note: in expansion of macro 'if'
if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
^~
In file included from net/ieee802154/trace.h:319:0,
from net/ieee802154/trace.c:5:
include/trace/define_trace.h:95:42: fatal error: ./trace.h: No such file or directory
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
^
cc1: some warnings being treated as errors
compilation terminated.
vim +/if +920 include/asm-generic/pgtable.h
914
915 /* See pmd_none_or_trans_huge_or_clear_bad for discussion. */
916 static inline int pud_none_or_trans_huge_or_dev_or_clear_bad(pud_t *pud)
917 {
918 pud_t pudval = READ_ONCE(*pud);
919
> 920 if (pud_none(pudval) || pud_trans_huge(pudval) || pud_devmap(pudval))
921 return 1;
922 if (unlikely(pud_bad(pudval))) {
923 pud_clear_bad(pud);
924 return 1;
925 }
926 return 0;
927 }
928
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
undefined reference to `start_isolate_page_range'
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3d1c1e5931ce45b3a3f309385bbc00c78e9951c6
commit: 2602276d3d3811b1a48c48113042cd75fcbfc27d microblaze: Wire CMA allocator
date: 3 months ago
config: microblaze-randconfig-r036-20200517 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 2602276d3d3811b1a48c48113042cd75fcbfc27d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=microblaze
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
microblaze-linux-ld: mm/page_alloc.o: in function `alloc_contig_range':
>> (.text+0x9b58): undefined reference to `start_isolate_page_range'
>> microblaze-linux-ld: (.text+0x9c98): undefined reference to `test_pages_isolated'
>> microblaze-linux-ld: (.text+0x9cdc): undefined reference to `undo_isolate_page_range'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[sashal-linux-stable:queue-5.4 140/290] drivers/irqchip/irq-gic-v3-its.c:698:8: error: implicit declaration of function 'dev_event_to_vlpi_map'
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.4
head: de62e075613ad8d1b4979186b1962e3ae58156f2
commit: 25cd5e71375469c4d85f61610e10d1b309bdec87 [140/290] irqchip/gic-v3-its: Synchronise INV command targetting a VLPI using VSYNC
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 25cd5e71375469c4d85f61610e10d1b309bdec87
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>, old ones prefixed by <<):
drivers/irqchip/irq-gic-v3-its.c: In function 'its_build_vinv_cmd':
>> drivers/irqchip/irq-gic-v3-its.c:698:8: error: implicit declaration of function 'dev_event_to_vlpi_map' [-Werror=implicit-function-declaration]
698 | map = dev_event_to_vlpi_map(desc->its_inv_cmd.dev,
| ^~~~~~~~~~~~~~~~~~~~~
>> drivers/irqchip/irq-gic-v3-its.c:698:6: warning: assignment to 'struct its_vlpi_map *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
698 | map = dev_event_to_vlpi_map(desc->its_inv_cmd.dev,
| ^
cc1: some warnings being treated as errors
vim +/dev_event_to_vlpi_map +698 drivers/irqchip/irq-gic-v3-its.c
691
692 static struct its_vpe *its_build_vinv_cmd(struct its_node *its,
693 struct its_cmd_block *cmd,
694 struct its_cmd_desc *desc)
695 {
696 struct its_vlpi_map *map;
697
> 698 map = dev_event_to_vlpi_map(desc->its_inv_cmd.dev,
699 desc->its_inv_cmd.event_id);
700
701 its_encode_cmd(cmd, GITS_CMD_INV);
702 its_encode_devid(cmd, desc->its_inv_cmd.dev->device_id);
703 its_encode_event_id(cmd, desc->its_inv_cmd.event_id);
704
705 its_fixup_cmd(cmd);
706
707 return valid_vpe(its, map->vpe);
708 }
709
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months