Re: [PATCH v2 12/16] ASoC: qcom: audioreach: add q6prm support
by kernel test robot
Hi Srinivas,
I love your patch! Yet something to improve:
[auto build test ERROR on asoc/for-next]
[also build test ERROR on robh/for-next sound/for-next linus/master v5.14-rc1 next-20210715]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Srinivas-Kandagatla/ASoC-qcom-Ad...
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 9.3.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/0day-ci/linux/commit/35523398d3578485b21933796d33e6e65...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Srinivas-Kandagatla/ASoC-qcom-Add-AudioReach-support/20210714-233339
git checkout 35523398d3578485b21933796d33e6e65aa988d9
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "of_clk_add_hw_provider" [sound/soc/qcom/audioreach/snd-prm.ko] undefined!
ERROR: modpost: "audioreach_alloc_cmd_pkt" [sound/soc/qcom/audioreach/snd-prm.ko] undefined!
>> ERROR: modpost: "devm_clk_hw_register" [sound/soc/qcom/audioreach/snd-prm.ko] undefined!
ERROR: modpost: "q6apm_graph_stop" [sound/soc/qcom/audioreach/snd-apm-bedai.ko] undefined!
ERROR: modpost: "q6apm_graph_close" [sound/soc/qcom/audioreach/snd-apm-bedai.ko] undefined!
ERROR: modpost: "q6apm_graph_start" [sound/soc/qcom/audioreach/snd-apm-bedai.ko] undefined!
ERROR: modpost: "q6apm_graph_open" [sound/soc/qcom/audioreach/snd-apm-bedai.ko] undefined!
ERROR: modpost: "q6apm_graph_prepare" [sound/soc/qcom/audioreach/snd-apm-bedai.ko] undefined!
ERROR: modpost: "q6apm_graph_stop" [sound/soc/qcom/audioreach/snd-apm-dai.ko] undefined!
ERROR: modpost: "q6apm_graph_close" [sound/soc/qcom/audioreach/snd-apm-dai.ko] undefined!
WARNING: modpost: suppressed 6 unresolved symbol warnings because there were too many)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
Re: [PATCH] arm64: kexec: add support for kexec with spin-table
by kernel test robot
Hi Henry,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on arm64/for-next/core]
[also build test ERROR on v5.14-rc1 next-20210715]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Henry-Willard/arm64-kexec-add-su...
base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
config: arm64-randconfig-r025-20210715 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 10.3.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/0day-ci/linux/commit/3dd4112e1b67732182a5e12891867db4e...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Henry-Willard/arm64-kexec-add-support-for-kexec-with-spin-table/20210715-014204
git checkout 3dd4112e1b67732182a5e12891867db4e139980c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/arm64/kernel/smp_spin_table.c:235:3: error: 'const struct cpu_operations' has no member named 'cpu_die'
235 | .cpu_die = smp_spin_table_cpu_die,
| ^~~~~~~
arch/arm64/kernel/smp_spin_table.c:235:13: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(unsigned int)' [-Werror=incompatible-pointer-types]
235 | .cpu_die = smp_spin_table_cpu_die,
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/smp_spin_table.c:235:13: note: (near initialization for 'smp_spin_table_ops.cpu_postboot')
arch/arm64/kernel/smp_spin_table.c:236:3: error: 'const struct cpu_operations' has no member named 'cpu_kill'
236 | .cpu_kill = smp_spin_table_cpu_kill,
| ^~~~~~~~
arch/arm64/kernel/smp_spin_table.c:237:3: error: 'const struct cpu_operations' has no member named 'cpu_disable'
237 | .cpu_disable = smp_spin_table_cpu_disable,
| ^~~~~~~~~~~
>> arch/arm64/kernel/smp_spin_table.c:237:17: error: initialization of 'int (*)(long unsigned int)' from incompatible pointer type 'int (*)(unsigned int)' [-Werror=incompatible-pointer-types]
237 | .cpu_disable = smp_spin_table_cpu_disable,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/smp_spin_table.c:237:17: note: (near initialization for 'smp_spin_table_ops.cpu_suspend')
cc1: some warnings being treated as errors
vim +237 arch/arm64/kernel/smp_spin_table.c
229
230 const struct cpu_operations smp_spin_table_ops = {
231 .name = "spin-table",
232 .cpu_init = smp_spin_table_cpu_init,
233 .cpu_prepare = smp_spin_table_cpu_prepare,
234 .cpu_boot = smp_spin_table_cpu_boot,
> 235 .cpu_die = smp_spin_table_cpu_die,
236 .cpu_kill = smp_spin_table_cpu_kill,
> 237 .cpu_disable = smp_spin_table_cpu_disable,
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
Re: [PATCH v4 15/26] mm/hugetlb: Drop __unmap_hugepage_range definition from hugetlb.h
by kernel test robot
Hi Peter,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.14-rc1 next-20210714]
[cannot apply to hnaz-linux-mm/master asm-generic/master linux/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Peter-Xu/userfaultfd-wp-Support-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 8096acd7442e613fad0354fc8dfdb2003cceea0b
config: powerpc64-randconfig-r032-20210714 (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.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/0day-ci/linux/commit/f8dd355edbfe948f84c8aaa10a5173656...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Peter-Xu/userfaultfd-wp-Support-shmem-and-hugetlbfs/20210715-062718
git checkout f8dd355edbfe948f84c8aaa10a5173656aa2778c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> mm/hugetlb.c:4334:6: warning: no previous prototype for '__unmap_hugepage_range' [-Wmissing-prototypes]
4334 | void __unmap_hugepage_range(struct mmu_gather *tlb, struct vm_area_struct *vma,
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/__unmap_hugepage_range +4334 mm/hugetlb.c
63551ae0feaaa2 David Gibson 2005-06-21 4333
24669e58477e27 Aneesh Kumar K.V 2012-07-31 @4334 void __unmap_hugepage_range(struct mmu_gather *tlb, struct vm_area_struct *vma,
24669e58477e27 Aneesh Kumar K.V 2012-07-31 4335 unsigned long start, unsigned long end,
24669e58477e27 Aneesh Kumar K.V 2012-07-31 4336 struct page *ref_page)
63551ae0feaaa2 David Gibson 2005-06-21 4337 {
63551ae0feaaa2 David Gibson 2005-06-21 4338 struct mm_struct *mm = vma->vm_mm;
63551ae0feaaa2 David Gibson 2005-06-21 4339 unsigned long address;
c7546f8f03f5a4 David Gibson 2005-08-05 4340 pte_t *ptep;
63551ae0feaaa2 David Gibson 2005-06-21 4341 pte_t pte;
cb900f41215447 Kirill A. Shutemov 2013-11-14 4342 spinlock_t *ptl;
63551ae0feaaa2 David Gibson 2005-06-21 4343 struct page *page;
a5516438959d90 Andi Kleen 2008-07-23 4344 struct hstate *h = hstate_vma(vma);
a5516438959d90 Andi Kleen 2008-07-23 4345 unsigned long sz = huge_page_size(h);
ac46d4f3c43241 Jérôme Glisse 2018-12-28 4346 struct mmu_notifier_range range;
a5516438959d90 Andi Kleen 2008-07-23 4347
63551ae0feaaa2 David Gibson 2005-06-21 4348 WARN_ON(!is_vm_hugetlb_page(vma));
a5516438959d90 Andi Kleen 2008-07-23 4349 BUG_ON(start & ~huge_page_mask(h));
a5516438959d90 Andi Kleen 2008-07-23 4350 BUG_ON(end & ~huge_page_mask(h));
63551ae0feaaa2 David Gibson 2005-06-21 4351
07e326610e5634 Aneesh Kumar K.V 2016-12-12 4352 /*
07e326610e5634 Aneesh Kumar K.V 2016-12-12 4353 * This is a hugetlb vma, all the pte entries should point
07e326610e5634 Aneesh Kumar K.V 2016-12-12 4354 * to huge page.
07e326610e5634 Aneesh Kumar K.V 2016-12-12 4355 */
ed6a79352cad00 Peter Zijlstra 2018-08-31 4356 tlb_change_page_size(tlb, sz);
24669e58477e27 Aneesh Kumar K.V 2012-07-31 4357 tlb_start_vma(tlb, vma);
dff11abe280b47 Mike Kravetz 2018-10-05 4358
dff11abe280b47 Mike Kravetz 2018-10-05 4359 /*
dff11abe280b47 Mike Kravetz 2018-10-05 4360 * If sharing possible, alert mmu notifiers of worst case.
dff11abe280b47 Mike Kravetz 2018-10-05 4361 */
6f4f13e8d9e27c Jérôme Glisse 2019-05-13 4362 mmu_notifier_range_init(&range, MMU_NOTIFY_UNMAP, 0, vma, mm, start,
6f4f13e8d9e27c Jérôme Glisse 2019-05-13 4363 end);
ac46d4f3c43241 Jérôme Glisse 2018-12-28 4364 adjust_range_if_pmd_sharing_possible(vma, &range.start, &range.end);
ac46d4f3c43241 Jérôme Glisse 2018-12-28 4365 mmu_notifier_invalidate_range_start(&range);
569f48b85813f0 Hillf Danton 2014-12-10 4366 address = start;
569f48b85813f0 Hillf Danton 2014-12-10 4367 for (; address < end; address += sz) {
7868a2087ec13e Punit Agrawal 2017-07-06 4368 ptep = huge_pte_offset(mm, address, sz);
c7546f8f03f5a4 David Gibson 2005-08-05 4369 if (!ptep)
c7546f8f03f5a4 David Gibson 2005-08-05 4370 continue;
c7546f8f03f5a4 David Gibson 2005-08-05 4371
cb900f41215447 Kirill A. Shutemov 2013-11-14 4372 ptl = huge_pte_lock(h, mm, ptep);
34ae204f18519f Mike Kravetz 2020-08-11 4373 if (huge_pmd_unshare(mm, vma, &address, ptep)) {
31d49da5ad0172 Aneesh Kumar K.V 2016-07-26 4374 spin_unlock(ptl);
dff11abe280b47 Mike Kravetz 2018-10-05 4375 /*
dff11abe280b47 Mike Kravetz 2018-10-05 4376 * We just unmapped a page of PMDs by clearing a PUD.
dff11abe280b47 Mike Kravetz 2018-10-05 4377 * The caller's TLB flush range should cover this area.
dff11abe280b47 Mike Kravetz 2018-10-05 4378 */
31d49da5ad0172 Aneesh Kumar K.V 2016-07-26 4379 continue;
31d49da5ad0172 Aneesh Kumar K.V 2016-07-26 4380 }
39dde65c9940c9 Kenneth W Chen 2006-12-06 4381
6629326b89b6e6 Hillf Danton 2012-03-23 4382 pte = huge_ptep_get(ptep);
31d49da5ad0172 Aneesh Kumar K.V 2016-07-26 4383 if (huge_pte_none(pte)) {
31d49da5ad0172 Aneesh Kumar K.V 2016-07-26 4384 spin_unlock(ptl);
31d49da5ad0172 Aneesh Kumar K.V 2016-07-26 4385 continue;
31d49da5ad0172 Aneesh Kumar K.V 2016-07-26 4386 }
6629326b89b6e6 Hillf Danton 2012-03-23 4387
6629326b89b6e6 Hillf Danton 2012-03-23 4388 /*
9fbc1f635fd0bd Naoya Horiguchi 2015-02-11 4389 * Migrating hugepage or HWPoisoned hugepage is already
9fbc1f635fd0bd Naoya Horiguchi 2015-02-11 4390 * unmapped and its refcount is dropped, so just clear pte here.
6629326b89b6e6 Hillf Danton 2012-03-23 4391 */
9fbc1f635fd0bd Naoya Horiguchi 2015-02-11 4392 if (unlikely(!pte_present(pte))) {
9386fac34c7cbe Punit Agrawal 2017-07-06 4393 huge_pte_clear(mm, address, ptep, sz);
31d49da5ad0172 Aneesh Kumar K.V 2016-07-26 4394 spin_unlock(ptl);
31d49da5ad0172 Aneesh Kumar K.V 2016-07-26 4395 continue;
8c4894c6bc790d Naoya Horiguchi 2012-12-12 4396 }
6629326b89b6e6 Hillf Danton 2012-03-23 4397
6629326b89b6e6 Hillf Danton 2012-03-23 4398 page = pte_page(pte);
04f2cbe35699d2 Mel Gorman 2008-07-23 4399 /*
04f2cbe35699d2 Mel Gorman 2008-07-23 4400 * If a reference page is supplied, it is because a specific
04f2cbe35699d2 Mel Gorman 2008-07-23 4401 * page is being unmapped, not a range. Ensure the page we
04f2cbe35699d2 Mel Gorman 2008-07-23 4402 * are about to unmap is the actual page of interest.
04f2cbe35699d2 Mel Gorman 2008-07-23 4403 */
04f2cbe35699d2 Mel Gorman 2008-07-23 4404 if (ref_page) {
31d49da5ad0172 Aneesh Kumar K.V 2016-07-26 4405 if (page != ref_page) {
31d49da5ad0172 Aneesh Kumar K.V 2016-07-26 4406 spin_unlock(ptl);
31d49da5ad0172 Aneesh Kumar K.V 2016-07-26 4407 continue;
31d49da5ad0172 Aneesh Kumar K.V 2016-07-26 4408 }
04f2cbe35699d2 Mel Gorman 2008-07-23 4409 /*
04f2cbe35699d2 Mel Gorman 2008-07-23 4410 * Mark the VMA as having unmapped its page so that
04f2cbe35699d2 Mel Gorman 2008-07-23 4411 * future faults in this VMA will fail rather than
04f2cbe35699d2 Mel Gorman 2008-07-23 4412 * looking like data was lost
04f2cbe35699d2 Mel Gorman 2008-07-23 4413 */
04f2cbe35699d2 Mel Gorman 2008-07-23 4414 set_vma_resv_flags(vma, HPAGE_RESV_UNMAPPED);
04f2cbe35699d2 Mel Gorman 2008-07-23 4415 }
04f2cbe35699d2 Mel Gorman 2008-07-23 4416
c7546f8f03f5a4 David Gibson 2005-08-05 4417 pte = huge_ptep_get_and_clear(mm, address, ptep);
b528e4b6405b9f Aneesh Kumar K.V 2016-12-12 4418 tlb_remove_huge_tlb_entry(h, tlb, ptep, address);
106c992a5ebef2 Gerald Schaefer 2013-04-29 4419 if (huge_pte_dirty(pte))
6649a3863232eb Ken Chen 2007-02-08 4420 set_page_dirty(page);
9e81130b7ce230 Hillf Danton 2012-03-21 4421
5d317b2b653659 Naoya Horiguchi 2015-11-05 4422 hugetlb_count_sub(pages_per_huge_page(h), mm);
d281ee61451835 Kirill A. Shutemov 2016-01-15 4423 page_remove_rmap(page, true);
31d49da5ad0172 Aneesh Kumar K.V 2016-07-26 4424
cb900f41215447 Kirill A. Shutemov 2013-11-14 4425 spin_unlock(ptl);
e77b0852b551ff Aneesh Kumar K.V 2016-07-26 4426 tlb_remove_page_size(tlb, page, huge_page_size(h));
24669e58477e27 Aneesh Kumar K.V 2012-07-31 4427 /*
31d49da5ad0172 Aneesh Kumar K.V 2016-07-26 4428 * Bail out after unmapping reference page if supplied
24669e58477e27 Aneesh Kumar K.V 2012-07-31 4429 */
31d49da5ad0172 Aneesh Kumar K.V 2016-07-26 4430 if (ref_page)
31d49da5ad0172 Aneesh Kumar K.V 2016-07-26 4431 break;
fe1668ae5bf014 Kenneth W Chen 2006-10-04 4432 }
ac46d4f3c43241 Jérôme Glisse 2018-12-28 4433 mmu_notifier_invalidate_range_end(&range);
24669e58477e27 Aneesh Kumar K.V 2012-07-31 4434 tlb_end_vma(tlb, vma);
^1da177e4c3f41 Linus Torvalds 2005-04-16 4435 }
63551ae0feaaa2 David Gibson 2005-06-21 4436
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
Re: [PATCH v3 19/19] auxdisplay: ht16k33: Add LED support
by kernel test robot
Hi Geert,
I love your patch! Yet something to improve:
[auto build test ERROR on robh/for-next]
[also build test ERROR on staging/staging-testing linus/master v5.14-rc1 next-20210714]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Geert-Uytterhoeven/auxdisplay-ht...
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: arc-randconfig-r016-20210715 (attached as .config)
compiler: arc-elf-gcc (GCC) 10.3.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/0day-ci/linux/commit/a8d991401542b45f91eb59e1cdf24fd6c...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Geert-Uytterhoeven/auxdisplay-ht16k33-Add-character-display-support/20210714-231351
git checkout a8d991401542b45f91eb59e1cdf24fd6c419360e
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arc-elf-ld: lib/stackdepot.o: in function `filter_irq_stacks':
stackdepot.c:(.text+0x8): undefined reference to `__irqentry_text_start'
arc-elf-ld: stackdepot.c:(.text+0x8): undefined reference to `__irqentry_text_start'
arc-elf-ld: stackdepot.c:(.text+0x28): undefined reference to `__irqentry_text_end'
arc-elf-ld: stackdepot.c:(.text+0x28): undefined reference to `__irqentry_text_end'
arc-elf-ld: stackdepot.c:(.text+0x38): undefined reference to `__softirqentry_text_start'
arc-elf-ld: stackdepot.c:(.text+0x38): undefined reference to `__softirqentry_text_start'
arc-elf-ld: stackdepot.c:(.text+0x40): undefined reference to `__softirqentry_text_end'
arc-elf-ld: stackdepot.c:(.text+0x40): undefined reference to `__softirqentry_text_end'
arc-elf-ld: drivers/auxdisplay/ht16k33.o: in function `ht16k33_probe':
>> ht16k33.c:(.text+0xfda): undefined reference to `devm_led_classdev_register_ext'
>> arc-elf-ld: ht16k33.c:(.text+0xfda): undefined reference to `devm_led_classdev_register_ext'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
[tegra-drm:drm/tegra/for-next 9/14] drivers/gpu/drm/tegra/uapi.c:278:5: warning: no previous prototype for function 'tegra_drm_ioctl_gem_create'
by kernel test robot
tree: git://anongit.freedesktop.org/tegra/linux.git drm/tegra/for-next
head: b19502d1a683c11f6f2c92ad63c61288b0fbe1a1
commit: cdf631031f3e574b76afed51bda0ccc9d71d4a4e [9/14] drm/tegra: Implement new UAPI
config: arm64-randconfig-r025-20210714 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 0e49c54a8cbd3e779e5526a5888c683c01cc3c50)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
git remote add tegra-drm git://anongit.freedesktop.org/tegra/linux.git
git fetch --no-tags tegra-drm drm/tegra/for-next
git checkout cdf631031f3e574b76afed51bda0ccc9d71d4a4e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/tegra/uapi.c:278:5: warning: no previous prototype for function 'tegra_drm_ioctl_gem_create' [-Wmissing-prototypes]
int tegra_drm_ioctl_gem_create(struct drm_device *drm, void *data,
^
drivers/gpu/drm/tegra/uapi.c:278:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int tegra_drm_ioctl_gem_create(struct drm_device *drm, void *data,
^
static
>> drivers/gpu/drm/tegra/uapi.c:295:5: warning: no previous prototype for function 'tegra_drm_ioctl_gem_mmap' [-Wmissing-prototypes]
int tegra_drm_ioctl_gem_mmap(struct drm_device *drm, void *data,
^
drivers/gpu/drm/tegra/uapi.c:295:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int tegra_drm_ioctl_gem_mmap(struct drm_device *drm, void *data,
^
static
2 warnings generated.
vim +/tegra_drm_ioctl_gem_create +278 drivers/gpu/drm/tegra/uapi.c
277
> 278 int tegra_drm_ioctl_gem_create(struct drm_device *drm, void *data,
279 struct drm_file *file)
280 {
281 struct drm_tegra_gem_create *args = data;
282 struct tegra_bo *bo;
283
284 if (args->flags)
285 return -EINVAL;
286
287 bo = tegra_bo_create_with_handle(file, drm, args->size, args->flags,
288 &args->handle);
289 if (IS_ERR(bo))
290 return PTR_ERR(bo);
291
292 return 0;
293 }
294
> 295 int tegra_drm_ioctl_gem_mmap(struct drm_device *drm, void *data,
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
[tegra-drm:drm/tegra/for-next 1/14] drivers/gpu/host1x/fence.c:168:5: warning: no previous prototype for function 'host1x_fence_create_fd'
by kernel test robot
tree: git://anongit.freedesktop.org/tegra/linux.git drm/tegra/for-next
head: b19502d1a683c11f6f2c92ad63c61288b0fbe1a1
commit: ad0529424defbbe0b6a154cc100e82c1a9f91400 [1/14] gpu: host1x: Add DMA fence implementation
config: arm64-randconfig-r025-20210714 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 0e49c54a8cbd3e779e5526a5888c683c01cc3c50)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
git remote add tegra-drm git://anongit.freedesktop.org/tegra/linux.git
git fetch --no-tags tegra-drm drm/tegra/for-next
git checkout ad0529424defbbe0b6a154cc100e82c1a9f91400
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/host1x/fence.c:168:5: warning: no previous prototype for function 'host1x_fence_create_fd' [-Wmissing-prototypes]
int host1x_fence_create_fd(struct host1x_syncpt *sp, u32 threshold)
^
drivers/gpu/host1x/fence.c:168:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int host1x_fence_create_fd(struct host1x_syncpt *sp, u32 threshold)
^
static
1 warning generated.
vim +/host1x_fence_create_fd +168 drivers/gpu/host1x/fence.c
167
> 168 int host1x_fence_create_fd(struct host1x_syncpt *sp, u32 threshold)
169 {
170 struct sync_file *file;
171 struct dma_fence *f;
172 int fd;
173
174 f = host1x_fence_create(sp, threshold);
175 if (IS_ERR(f))
176 return PTR_ERR(f);
177
178 fd = get_unused_fd_flags(O_CLOEXEC);
179 if (fd < 0) {
180 dma_fence_put(f);
181 return fd;
182 }
183
184 file = sync_file_create(f);
185 dma_fence_put(f);
186 if (!file)
187 return -ENOMEM;
188
189 fd_install(fd, file->file);
190
191 return fd;
192 }
193 EXPORT_SYMBOL(host1x_fence_create_fd);
194
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
Re: [PATCH v2 03/18] dmaengine: idxd: add 'struct idxd_dev' as wrapper for conf_dev
by kernel test robot
Hi Dave,
I love your patch! Perhaps something to improve:
[auto build test WARNING on vkoul-dmaengine/next]
[also build test WARNING on v5.14-rc1 next-20210714]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Dave-Jiang/Fix-idxd-sub-drivers-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next
config: x86_64-randconfig-a006-20210714 (attached as .config)
compiler: gcc-10 (Debian 10.2.1-6) 10.2.1 20210110
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/b3be8eaa8a16899b6c4084b14d5a2173b...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Dave-Jiang/Fix-idxd-sub-drivers-setup/20210715-072229
git checkout b3be8eaa8a16899b6c4084b14d5a2173b43299e5
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/dma/idxd/init.c: In function 'idxd_alloc':
>> drivers/dma/idxd/init.c:498:47: warning: implicit conversion from 'enum idxd_type' to 'enum idxd_dev_type' [-Wenum-conversion]
498 | idxd_dev_set_type(&idxd->idxd_dev, idxd->data->type);
| ~~~~~~~~~~^~~~~~
vim +498 drivers/dma/idxd/init.c
483
484 static struct idxd_device *idxd_alloc(struct pci_dev *pdev, struct idxd_driver_data *data)
485 {
486 struct device *dev = &pdev->dev;
487 struct device *conf_dev;
488 struct idxd_device *idxd;
489 int rc;
490
491 idxd = kzalloc_node(sizeof(*idxd), GFP_KERNEL, dev_to_node(dev));
492 if (!idxd)
493 return NULL;
494
495 conf_dev = idxd_confdev(idxd);
496 idxd->pdev = pdev;
497 idxd->data = data;
> 498 idxd_dev_set_type(&idxd->idxd_dev, idxd->data->type);
499 idxd->id = ida_alloc(&idxd_ida, GFP_KERNEL);
500 if (idxd->id < 0)
501 return NULL;
502
503 device_initialize(conf_dev);
504 conf_dev->parent = dev;
505 conf_dev->bus = &dsa_bus_type;
506 conf_dev->type = idxd->data->dev_type;
507 rc = dev_set_name(conf_dev, "%s%d", idxd->data->name_prefix, idxd->id);
508 if (rc < 0) {
509 put_device(conf_dev);
510 return NULL;
511 }
512
513 spin_lock_init(&idxd->dev_lock);
514 spin_lock_init(&idxd->cmd_lock);
515
516 return idxd;
517 }
518
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months
[intel-linux-intel-lts:5.4/yocto 1/1] drivers/counter/intel-qep.c:808:6: warning: variable 'cgsr_reg' set but not used
by kernel test robot
tree: https://github.com/intel/linux-intel-lts.git 5.4/yocto
head: 2e228f3df9479e9e061cc7e0b7aba0c071ea22bf
commit: 2e228f3df9479e9e061cc7e0b7aba0c071ea22bf [1/1] REVERT-ME: Temporary Enable D0i3 flow for PSE IOs
config: x86_64-randconfig-a006-20210713 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8d69635ed9ecf36fd0ca85906bfde17949671cbe)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/intel/linux-intel-lts/commit/2e228f3df9479e9e061cc7e0b...
git remote add intel-linux-intel-lts https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-linux-intel-lts 5.4/yocto
git checkout 2e228f3df9479e9e061cc7e0b7aba0c071ea22bf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/counter/intel-qep.c:808:6: warning: variable 'cgsr_reg' set but not used [-Wunused-but-set-variable]
u32 cgsr_reg;
^
1 warning generated.
vim +/cgsr_reg +808 drivers/counter/intel-qep.c
800
801 #ifdef CONFIG_PM
802 static int intel_qep_runtime_suspend(struct device *dev)
803 {
804 struct pci_dev *pdev = container_of(dev, struct pci_dev, dev);
805 struct intel_qep *qep = pci_get_drvdata(pdev);
806 unsigned long j0, j1, delay;
807 u32 d0i3c_reg;
> 808 u32 cgsr_reg;
809
810 delay = msecs_to_jiffies(100);
811 j0 = jiffies;
812 j1 = j0 + delay;
813
814 cgsr_reg = intel_qep_readl(qep->regs, INTEL_QEP_CGSR);
815 intel_qep_writel(qep->regs, INTEL_QEP_CGSR, INTEL_QEP_CGSR_CG);
816
817 d0i3c_reg = intel_qep_readl(qep->regs, INTEL_QEP_D0I3C);
818
819 if (d0i3c_reg & INTEL_QEP_D0I3_CIP) {
820 dev_info(dev, "%s d0i3c CIP detected", __func__);
821 } else {
822 intel_qep_writel(qep->regs, INTEL_QEP_D0I3C, INTEL_QEP_D0I3_EN);
823 d0i3c_reg = intel_qep_readl(qep->regs, INTEL_QEP_D0I3C);
824 }
825
826 while (time_before(jiffies, j1)) {
827 d0i3c_reg = intel_qep_readl(qep->regs, INTEL_QEP_D0I3C);
828 if (!(d0i3c_reg & INTEL_QEP_D0I3_CIP))
829 break;
830 }
831
832 if (d0i3c_reg & INTEL_QEP_D0I3_CIP)
833 dev_info(dev, "%s: timeout waiting CIP to be cleared",
834 __func__);
835 return 0;
836 }
837
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 2 months