[linux-next:master 8165/9362] drivers/remoteproc/qcom_q6v5_wcss.c:563:2: error: too few arguments to function 'qcom_add_glink_subdev'
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: c9529331c7a22b8eb7eb03e1e0e221d0f58b43de
commit: 8a226e2c71bb3763e27a063d36eac5fa4ea53c3f [8165/9362] remoteproc: wcss: add support for rpmsg communication
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-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 8a226e2c71bb3763e27a063d36eac5fa4ea53c3f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arm
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/remoteproc/qcom_q6v5_wcss.c: In function 'q6v5_wcss_probe':
>> drivers/remoteproc/qcom_q6v5_wcss.c:563:2: error: too few arguments to function 'qcom_add_glink_subdev'
563 | qcom_add_glink_subdev(rproc, &wcss->glink_subdev);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from drivers/remoteproc/qcom_q6v5_wcss.c:16:
drivers/remoteproc/qcom_common.h:35:6: note: declared here
35 | void qcom_add_glink_subdev(struct rproc *rproc, struct qcom_rproc_glink *glink,
| ^~~~~~~~~~~~~~~~~~~~~
vim +/qcom_add_glink_subdev +563 drivers/remoteproc/qcom_q6v5_wcss.c
530
531 static int q6v5_wcss_probe(struct platform_device *pdev)
532 {
533 struct q6v5_wcss *wcss;
534 struct rproc *rproc;
535 int ret;
536
537 rproc = rproc_alloc(&pdev->dev, pdev->name, &q6v5_wcss_ops,
538 "IPQ8074/q6_fw.mdt", sizeof(*wcss));
539 if (!rproc) {
540 dev_err(&pdev->dev, "failed to allocate rproc\n");
541 return -ENOMEM;
542 }
543
544 wcss = rproc->priv;
545 wcss->dev = &pdev->dev;
546
547 ret = q6v5_wcss_init_mmio(wcss, pdev);
548 if (ret)
549 goto free_rproc;
550
551 ret = q6v5_alloc_memory_region(wcss);
552 if (ret)
553 goto free_rproc;
554
555 ret = q6v5_wcss_init_reset(wcss);
556 if (ret)
557 goto free_rproc;
558
559 ret = qcom_q6v5_init(&wcss->q6v5, pdev, rproc, WCSS_CRASH_REASON, NULL);
560 if (ret)
561 goto free_rproc;
562
> 563 qcom_add_glink_subdev(rproc, &wcss->glink_subdev);
564 qcom_add_ssr_subdev(rproc, &wcss->ssr_subdev, "q6wcss");
565
566 ret = rproc_add(rproc);
567 if (ret)
568 goto free_rproc;
569
570 platform_set_drvdata(pdev, rproc);
571
572 return 0;
573
574 free_rproc:
575 rproc_free(rproc);
576
577 return ret;
578 }
579
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
Re: [PATCH v5 3/5] remoteproc: qcom: Update PIL relocation info on load
by kbuild test robot
Hi Bjorn,
I love your patch! Yet something to improve:
[auto build test ERROR on robh/for-next]
[also build test ERROR on linus/master v5.7-rc5 next-20200514]
[cannot apply to agross-msm/qcom/for-next remoteproc/for-next rpmsg/for-next hwspinlock/for-next]
[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/Bjorn-Andersson/remoteproc-qcom-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
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
# 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 errors (new ones prefixed by >>):
drivers/remoteproc/qcom_q6v5_wcss.c: In function 'q6v5_wcss_load':
>> drivers/remoteproc/qcom_q6v5_wcss.c:433:2: error: implicit declaration of function 'qcom_pil_info_store' [-Werror=implicit-function-declaration]
433 | qcom_pil_info_store("wcnss", wcss->mem_reloc, wcss->mem_size);
| ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/qcom_pil_info_store +433 drivers/remoteproc/qcom_q6v5_wcss.c
420
421 static int q6v5_wcss_load(struct rproc *rproc, const struct firmware *fw)
422 {
423 struct q6v5_wcss *wcss = rproc->priv;
424 int ret;
425
426 ret = qcom_mdt_load_no_init(wcss->dev, fw, rproc->firmware,
427 0, wcss->mem_region, wcss->mem_phys,
428 wcss->mem_size, &wcss->mem_reloc);
429 if (ret)
430 return ret;
431
432 /* Failures only affect post mortem debugging, so ignore return value */
> 433 qcom_pil_info_store("wcnss", wcss->mem_reloc, wcss->mem_size);
434
435 return ret;
436 }
437
---
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]
[also build test ERROR on next-20200514]
[cannot apply to drm-tip/drm-tip v5.7-rc5]
[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: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
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/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 +14695 drivers/gpu/drm/i915/display/intel_display.c
14638
14639 static int intel_atomic_check_planes(struct intel_atomic_state *state)
14640 {
14641 struct drm_i915_private *dev_priv = to_i915(state->base.dev);
14642 struct intel_crtc_state *old_crtc_state, *new_crtc_state;
14643 struct intel_plane_state *plane_state;
14644 struct intel_plane *plane;
14645 struct intel_crtc *crtc;
14646 int i, ret;
14647
14648 ret = icl_add_linked_planes(state);
14649 if (ret)
14650 return ret;
14651
14652 for_each_new_intel_plane_in_state(state, plane, plane_state, i) {
14653 ret = intel_plane_atomic_check(state, plane);
14654 if (ret) {
14655 drm_dbg_atomic(&dev_priv->drm,
14656 "[PLANE:%d:%s] atomic driver check failed\n",
14657 plane->base.base.id, plane->base.name);
14658 return ret;
14659 }
14660 }
14661
14662 for_each_oldnew_intel_crtc_in_state(state, crtc, old_crtc_state,
14663 new_crtc_state, i) {
14664 u8 old_active_planes, new_active_planes;
14665
14666 ret = icl_check_nv12_planes(new_crtc_state);
14667 if (ret)
14668 return ret;
14669
14670 /*
14671 * On some platforms the number of active planes affects
14672 * the planes' minimum cdclk calculation. Add such planes
14673 * to the state before we compute the minimum cdclk.
14674 */
14675 if (!active_planes_affects_min_cdclk(dev_priv))
14676 continue;
14677
14678 old_active_planes = old_crtc_state->active_planes & ~BIT(PLANE_CURSOR);
14679 new_active_planes = new_crtc_state->active_planes & ~BIT(PLANE_CURSOR);
14680
14681 /*
14682 * Not only the number of planes, but if the plane configuration had
14683 * changed might already mean we need to recompute min CDCLK,
14684 * because different planes might consume different amount of Dbuf bandwidth
14685 * according to formula: Bw per plane = Pixel rate * bpp * pipe/plane scale factor
14686 */
14687 if (old_active_planes == new_active_planes)
14688 continue;
14689
14690 ret = intel_crtc_add_planes_to_state(state, crtc, new_active_planes);
14691 if (ret)
14692 return ret;
14693 }
14694
14695 new_cdclk_state = intel_atomic_get_new_cdclk_state(state);
14696
14697 if (new_cdclk_state && new_cdclk_state->force_min_cdclk_changed)
14698 *need_cdclk_calc = true;
14699
14700 ret = intel_bw_calc_min_cdclk(state);
14701 if (ret)
14702 return ret;
14703
14704 if (!new_cdclk_state)
14705 return 0;
14706
14707 for_each_new_intel_crtc_in_state(state, crtc, new_crtc_state, i) {
14708 struct intel_bw_state *bw_state;
14709 int min_cdclk = 0;
14710
14711 min_cdclk = max(new_cdclk_state->min_cdclk[crtc->pipe], min_cdclk);
14712
14713 bw_state = intel_atomic_get_bw_state(state);
14714 if (IS_ERR(bw_state))
14715 return PTR_ERR(bw_state);
14716
14717 /*
14718 * Currently do this change only if we need to increase
14719 */
14720 if (bw_state->min_cdclk > min_cdclk)
14721 *need_cdclk_calc = true;
14722 }
14723
14724 return 0;
14725 }
14726
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[jjs-linux-tpmdd:next 3/3] ld.lld: error: undefined symbol: tpm_tis_spi_read16
by kbuild test robot
tree: git://git.infradead.org/users/jjs/linux-tpmdd.git next
head: fa05dc792ea02043f3c21467cb4485a38ac19bdf
commit: fa05dc792ea02043f3c21467cb4485a38ac19bdf [3/3] tpm: tpm_tis: Make implementation of read16, read32 and write32 optional
config: arm-randconfig-r016-20200514 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project a52f10b5a382c040e7ad1ce933cda6c07a4b3a8d)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
git checkout fa05dc792ea02043f3c21467cb4485a38ac19bdf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
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: warning: lld uses blx instruction, no object with architecture supporting feature detected
ld.lld: warning: lld uses blx instruction, no object with architecture supporting feature detected
>> ld.lld: error: undefined symbol: tpm_tis_spi_read16
>>> referenced by tpm_tis_spi_cr50.c
>>> char/tpm/tpm_tis_spi_cr50.o:(tpm_spi_cr50_phy_ops) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: tpm_tis_spi_read32
>>> referenced by tpm_tis_spi_cr50.c
>>> char/tpm/tpm_tis_spi_cr50.o:(tpm_spi_cr50_phy_ops) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: tpm_tis_spi_write32
>>> referenced by tpm_tis_spi_cr50.c
>>> char/tpm/tpm_tis_spi_cr50.o:(tpm_spi_cr50_phy_ops) in archive drivers/built-in.a
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
Re: [RFC PATCH 2/8] qaic: Add and init a basic mhi controller
by kbuild test robot
Hi Jeffrey,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on char-misc/char-misc-testing]
[also build test WARNING on arm-soc/for-next linus/master v5.7-rc5 next-20200514]
[cannot apply to linux/master]
[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/Jeffrey-Hugo/Qualcomm-Cloud-AI-1...
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git 84c1e51d7df85332705ffebc40ef135205492036
config: parisc-allyesconfig (attached as .config)
compiler: hppa-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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=parisc
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:7,
from arch/parisc/include/asm/bug.h:5,
from include/linux/bug.h:5,
from include/linux/thread_info.h:12,
from include/asm-generic/current.h:5,
from ./arch/parisc/include/generated/asm/current.h:1,
from include/linux/sched.h:12,
from include/linux/ratelimit.h:6,
from include/linux/dev_printk.h:16,
from include/linux/device.h:15,
from include/linux/mhi.h:9,
from drivers/misc/qaic/mhi_controller.c:6:
drivers/misc/qaic/mhi_controller.c: In function 'qaic_mhi_register_controller':
>> include/linux/limits.h:22:18: warning: conversion from 'long long unsigned int' to 'dma_addr_t' {aka 'unsigned int'} changes value from '18446744073709551614' to '4294967294' [-Woverflow]
22 | #define U64_MAX ((u64)~0ULL)
| ^
>> drivers/misc/qaic/mhi_controller.c:450:24: note: in expansion of macro 'U64_MAX'
450 | mhi_cntl->iova_stop = U64_MAX - 1;
| ^~~~~~~
drivers/misc/qaic/mhi_controller.c:455:10: error: 'struct mhi_controller' has no member named 'link_status'
455 | mhi_cntl->link_status = mhi_link_status;
| ^~
vim +/U64_MAX +450 drivers/misc/qaic/mhi_controller.c
428
429 struct mhi_controller *qaic_mhi_register_controller(struct pci_dev *pci_dev,
430 void *mhi_bar,
431 int mhi_irq)
432 {
433 struct mhi_controller *mhi_cntl;
434 int ret;
435
436 pci_dbg(pci_dev, "%s\n", __func__);
437
438 mhi_cntl = kzalloc(sizeof(*mhi_cntl), GFP_KERNEL);
439 if (!mhi_cntl)
440 return ERR_PTR(-ENOMEM);
441
442 mhi_cntl->cntrl_dev = &pci_dev->dev;
443
444 /*
445 * Covers the entire possible physical ram region. Remote side is
446 * going to calculate a size of this range, so subtract 1 to prevent
447 * rollover.
448 */
449 mhi_cntl->iova_start = 0;
> 450 mhi_cntl->iova_stop = U64_MAX - 1;
451
452 mhi_cntl->status_cb = mhi_status_cb;
453 mhi_cntl->runtime_get = mhi_runtime_get;
454 mhi_cntl->runtime_put = mhi_runtime_put;
455 mhi_cntl->link_status = mhi_link_status;
456 mhi_cntl->regs = mhi_bar;
457 mhi_cntl->nr_irqs = 1;
458 mhi_cntl->irq = kmalloc(sizeof(*mhi_cntl->irq), GFP_KERNEL);
459
460 if (!mhi_cntl->irq)
461 return ERR_PTR(-ENOMEM);
462
463 mhi_cntl->irq[0] = mhi_irq;
464
465 mhi_cntl->fw_image = "qcom/aic100/sbl.bin";
466
467 /* use latest configured timeout */
468 aic100_config.timeout_ms = mhi_timeout;
469 ret = mhi_register_controller(mhi_cntl, &aic100_config);
470 if (ret) {
471 pci_err(pci_dev, "register_mhi_controller failed %d\n", ret);
472 kfree(mhi_cntl->irq);
473 kfree(mhi_cntl);
474 return ERR_PTR(ret);
475 }
476
477 ret = mhi_async_power_up(mhi_cntl);
478 if (ret) {
479 pci_err(pci_dev, "mhi_async_power_up failed %d\n", ret);
480 mhi_unregister_controller(mhi_cntl);
481 kfree(mhi_cntl->irq);
482 kfree(mhi_cntl);
483 return ERR_PTR(ret);
484 }
485
486 return mhi_cntl;
487 }
488
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[hch-misc:set_fs-net-ioctl 4/4] net/appletalk/ddp.c:1868:10: error: implicit declaration of function 'atrtr_ioctl_add'; did you mean 'atrtr_ioctl_addrt'?
by kbuild test robot
tree: git://git.infradead.org/users/hch/misc.git set_fs-net-ioctl
head: 14f156db8b84f1cd41f870a1c5b10228ef2b5378
commit: 14f156db8b84f1cd41f870a1c5b10228ef2b5378 [4/4] ipv4,appletalk: move SIOCADDRT and SIOCDELRT handling into ->compat_ioctl
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-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 14f156db8b84f1cd41f870a1c5b10228ef2b5378
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 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 errors (new ones prefixed by >>, old ones prefixed by <<):
net/appletalk/ddp.c: In function 'atalk_compat_routing_ioctl':
>> net/appletalk/ddp.c:1868:10: error: implicit declaration of function 'atrtr_ioctl_add'; did you mean 'atrtr_ioctl_addrt'? [-Werror=implicit-function-declaration]
1868 | return atrtr_ioctl_add(&rt);
| ^~~~~~~~~~~~~~~
| atrtr_ioctl_addrt
cc1: some warnings being treated as errors
vim +1868 net/appletalk/ddp.c
1840
1841
1842 #ifdef CONFIG_COMPAT
1843 static int atalk_compat_routing_ioctl(struct sock *sk, unsigned int cmd,
1844 struct compat_rtentry __user *ur)
1845 {
1846 struct rtentry rt;
1847 compat_uptr_t rtdev;
1848
1849 if (copy_from_user(&rt.rt_dst, &ur->rt_dst,
1850 3 * sizeof(struct sockaddr)) ||
1851 get_user(rt.rt_flags, &ur->rt_flags) ||
1852 get_user(rt.rt_metric, &ur->rt_metric) ||
1853 get_user(rt.rt_mtu, &ur->rt_mtu) ||
1854 get_user(rt.rt_window, &ur->rt_window) ||
1855 get_user(rt.rt_irtt, &ur->rt_irtt) ||
1856 get_user(rtdev, &ur->rt_dev))
1857 return -EFAULT;
1858
1859 switch (cmd) {
1860 case SIOCDELRT:
1861 if (rt.rt_dst.sa_family != AF_APPLETALK)
1862 return -EINVAL;
1863 return atrtr_delete(&((struct sockaddr_at *)
1864 &rt.rt_dst)->sat_addr);
1865
1866 case SIOCADDRT:
1867 rt.rt_dev = compat_ptr(rtdev);
> 1868 return atrtr_ioctl_add(&rt);
1869 default:
1870 return -EINVAL;
1871 }
1872 }
1873 static int atalk_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
1874 {
1875 struct sock *sk = sock->sk;
1876 void __user *argp = compat_ptr(arg);
1877
1878 switch (cmd) {
1879 case SIOCADDRT:
1880 case SIOCDELRT:
1881 return atalk_compat_routing_ioctl(sk, cmd, argp);
1882 /*
1883 * SIOCATALKDIFADDR is a SIOCPROTOPRIVATE ioctl number, so we
1884 * cannot handle it in common code. The data we access if ifreq
1885 * here is compatible, so we can simply call the native
1886 * handler.
1887 */
1888 case SIOCATALKDIFADDR:
1889 return atalk_ioctl(sock, cmd, (unsigned long)argp);
1890 default:
1891 return -ENOIOCTLCMD;
1892 }
1893 }
1894 #endif /* CONFIG_COMPAT */
1895
1896
---
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 8275/9362] cc1: error: '-mloongson-mmi' must be used with '-mhard-float'
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: c9529331c7a22b8eb7eb03e1e0e221d0f58b43de
commit: 26bff9eb49201aeb4e1b32d698c191831a39f5d4 [8275/9362] MIPS: Only include the platform file needed
config: mips-fuloong2e_defconfig (attached as .config)
compiler: mips64el-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 26bff9eb49201aeb4e1b32d698c191831a39f5d4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 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 <<):
>> cc1: error: '-mloongson-mmi' must be used with '-mhard-float'
>> cc1: error: '-mloongson-mmi' must be used with '-mhard-float'
make[2]: *** [scripts/Makefile.build:100: kernel/bounds.s] Error 1
make[2]: Target 'missing-syscalls' not remade because of errors.
make[1]: *** [arch/mips/Makefile:394: archprepare] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:180: sub-make] Error 2
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[jfern:rcu/refperf 1/3] kernel/rcu/tree.c:3979:8: error: passing argument 4 of 'proc_create' from incompatible pointer type
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git rcu/refperf
head: df3410c1f7436cf0a91127b2629a33923cc62140
commit: e9577008869a8d050252b346823d54ab84af4021 [1/3] test
config: i386-randconfig-r015-20200514 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout e9577008869a8d050252b346823d54ab84af4021
# save the attached .config to linux build tree
make ARCH=i386
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 <<):
kernel/rcu/tree.c: In function 'rcu_pr_kthread':
kernel/rcu/tree.c:3852:35: warning: unused variable 'spincnt2' [-Wunused-variable]
unsigned long spincnt, spincnt1, spincnt2, x=0;
^~~~~~~~
kernel/rcu/tree.c:3852:25: warning: unused variable 'spincnt1' [-Wunused-variable]
unsigned long spincnt, spincnt1, spincnt2, x=0;
^~~~~~~~
kernel/rcu/tree.c:3851:7: warning: unused variable 'work' [-Wunused-variable]
char work, *workp = this_cpu_ptr(&rcu_data.rcu_pr_has_work);
^~~~
kernel/rcu/tree.c:3850:16: warning: unused variable 'statusp' [-Wunused-variable]
unsigned int *statusp = this_cpu_ptr(&rcu_data.rcu_pr_kthread_status);
^~~~~~~
kernel/rcu/tree.c: In function 'rcu_spawn_pr_kthreads':
>> kernel/rcu/tree.c:3979:8: error: passing argument 4 of 'proc_create' from incompatible pointer type [-Werror=incompatible-pointer-types]
&pr_ops);
^
In file included from kernel/rcu/tree.c:23:0:
include/linux/proc_fs.h:79:24: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
struct proc_dir_entry *proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct proc_ops *proc_ops);
^~~~~~~~~~~
kernel/rcu/tree.c: In function 'pr_proc_write':
>> kernel/rcu/tree.c:3957:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
cc1: some warnings being treated as errors
vim +/proc_create +3979 kernel/rcu/tree.c
3935
3936 ssize_t pr_proc_write(struct file * f, const char __user * b, size_t s, loff_t * off)
3937 {
3938 u64 before, after;
3939
3940 WRITE_ONCE(work_type, PERCPU_RWSEM);
3941 repeat:
3942 smp_mb();
3943
3944 before = ktime_get_mono_fast_ns();
3945 do_one_pr_test();
3946 after = ktime_get_mono_fast_ns();
3947
3948 pr_err("Total time: %lu us , type: %s\n", (unsigned long)((after - before) / 1000),
3949 (work_type == PERCPU_RWSEM ? "percpu-rwsem" : "rwsem") );
3950
3951 if (work_type != RWSEM) {
3952 work_type = RWSEM;
3953 msleep(100);
3954 goto repeat;
3955 }
3956
> 3957 }
3958
3959 static const struct file_operations pr_ops = {
3960 .write = pr_proc_write,
3961 .llseek = default_llseek,
3962 };
3963
3964 /*
3965 * Spawn boost kthreads -- called as soon as the scheduler is running.
3966 */
3967 static void __init rcu_spawn_pr_kthreads(void)
3968 {
3969 int cpu;
3970
3971 for_each_possible_cpu(cpu)
3972 per_cpu(rcu_data.rcu_pr_has_work, cpu) = 0;
3973
3974 if (WARN_ONCE(smpboot_register_percpu_thread(&rcu_pr_thread_spec),
3975 "%s: Could not start rcub kthread, OOM is now expected behavior\n", __func__))
3976 return;
3977
3978 proc_create("prw_test", 0777, NULL,
> 3979 &pr_ops);
3980
3981 /*
3982 for_each_online_cpu(cpu) {
3983 pr_err("waking up thread on online cpu %d\n", cpu);
3984 per_cpu(rcu_data.rcu_pr_has_work, cpu) = 1;
3985 smp_mb();
3986 wake_up_process(per_cpu(rcu_data.pr_kthread, cpu));
3987 }
3988 */
3989 }
3990
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
Re: [PATCH net-next 1/4] net: sched: introduce terse dump flag
by kbuild test robot
Hi Vlad,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on net-next/master]
[also build test ERROR on net/master linus/master v5.7-rc5 next-20200512]
[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/Vlad-Buslov/Implement-filter-ter...
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 6545be82807cc01712411321730656ad8ad30474
config: um-allmodconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
# 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 <<):
In file included from include/net/rtnetlink.h:6:0,
from include/net/sch_generic.h:20,
from include/linux/filter.h:25,
from include/net/sock.h:59,
from net/sched/cls_api.c:27:
>> net/sched/cls_api.c:2591:43: error: initializer element is not constant
[TCA_DUMP_FLAGS] = NLA_POLICY_BITFIELD32(tca_dump_flags_allowed),
^
include/net/netlink.h:370:48: note: in definition of macro 'NLA_POLICY_BITFIELD32'
{ .type = NLA_BITFIELD32, .bitfield32_valid = valid }
^~~~~
net/sched/cls_api.c:2591:43: note: (near initialization for 'tcf_tfilter_dump_policy[15].<anonymous>.bitfield32_valid')
[TCA_DUMP_FLAGS] = NLA_POLICY_BITFIELD32(tca_dump_flags_allowed),
^
include/net/netlink.h:370:48: note: in definition of macro 'NLA_POLICY_BITFIELD32'
{ .type = NLA_BITFIELD32, .bitfield32_valid = valid }
^~~~~
vim +2591 net/sched/cls_api.c
2589
2590 static const struct nla_policy tcf_tfilter_dump_policy[TCA_MAX + 1] = {
> 2591 [TCA_DUMP_FLAGS] = NLA_POLICY_BITFIELD32(tca_dump_flags_allowed),
2592 };
2593
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months