[linux-rt-devel:linux-5.4.y-rt 237/325] kernel/softirq.c:162:6: warning: no previous prototype for '_local_bh_enable_rt'
by kernel test robot
Hi Sebastian,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.4.y-rt
head: 5fbf1e70f11dba64cc05c9d85120a3aa7c67a4a2
commit: 5f56dae2384176bb7669c19eeb1a2e22ba633b0a [237/325] x86: Enable RT also on 32bit
config: i386-randconfig-a011-20201115 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/com...
git remote add linux-rt-devel https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
git fetch --no-tags linux-rt-devel linux-5.4.y-rt
git checkout 5f56dae2384176bb7669c19eeb1a2e22ba633b0a
# save the attached .config to linux build tree
make W=1 ARCH=i386
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 >>):
>> kernel/softirq.c:162:6: warning: no previous prototype for '_local_bh_enable_rt' [-Wmissing-prototypes]
162 | void _local_bh_enable_rt(void)
| ^~~~~~~~~~~~~~~~~~~
--
kernel/time/hrtimer.c:120:21: warning: initialized field overwritten [-Woverride-init]
120 | [CLOCK_REALTIME] = HRTIMER_BASE_REALTIME,
| ^~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:120:21: note: (near initialization for 'hrtimer_clock_to_base_table[0]')
kernel/time/hrtimer.c:121:22: warning: initialized field overwritten [-Woverride-init]
121 | [CLOCK_MONOTONIC] = HRTIMER_BASE_MONOTONIC,
| ^~~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:121:22: note: (near initialization for 'hrtimer_clock_to_base_table[1]')
kernel/time/hrtimer.c:122:21: warning: initialized field overwritten [-Woverride-init]
122 | [CLOCK_BOOTTIME] = HRTIMER_BASE_BOOTTIME,
| ^~~~~~~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:122:21: note: (near initialization for 'hrtimer_clock_to_base_table[7]')
kernel/time/hrtimer.c:123:17: warning: initialized field overwritten [-Woverride-init]
123 | [CLOCK_TAI] = HRTIMER_BASE_TAI,
| ^~~~~~~~~~~~~~~~
kernel/time/hrtimer.c:123:17: note: (near initialization for 'hrtimer_clock_to_base_table[11]')
>> kernel/time/hrtimer.c:1986:6: warning: no previous prototype for 'cpu_chill' [-Wmissing-prototypes]
1986 | void cpu_chill(void)
| ^~~~~~~~~
vim +/_local_bh_enable_rt +162 kernel/softirq.c
96fac6731743240 Sebastian Andrzej Siewior 2019-05-20 161
96fac6731743240 Sebastian Andrzej Siewior 2019-05-20 @162 void _local_bh_enable_rt(void)
96fac6731743240 Sebastian Andrzej Siewior 2019-05-20 163 {
96fac6731743240 Sebastian Andrzej Siewior 2019-05-20 164 _local_bh_enable();
96fac6731743240 Sebastian Andrzej Siewior 2019-05-20 165 }
96fac6731743240 Sebastian Andrzej Siewior 2019-05-20 166
:::::: The code at line 162 was first introduced by commit
:::::: 96fac67317432408cc4b8b1f317673cb0ede399d softirq: Add preemptible softirq
:::::: TO: Sebastian Andrzej Siewior <bigeasy(a)linutronix.de>
:::::: CC: Sebastian Andrzej Siewior <bigeasy(a)linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
drivers/media/platform/exynos4-is/fimc-isp-video.h:35:6: warning: no previous prototype for 'fimc_isp_video_device_unregister'
by kernel test robot
Hi Stephen,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f01c30de86f1047e9bae1b1b1417b0ce8dcd15b1
commit: bbd7ffdbef6888459f301c5889f3b14ada38b913 clk: Allow the common clk framework to be selectable
date: 6 months ago
config: alpha-randconfig-r004-20201115 (attached as .config)
compiler: alpha-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout bbd7ffdbef6888459f301c5889f3b14ada38b913
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha
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 >>):
In file included from drivers/media/platform/exynos4-is/fimc-isp.c:25:
>> drivers/media/platform/exynos4-is/fimc-isp-video.h:35:6: warning: no previous prototype for 'fimc_isp_video_device_unregister' [-Wmissing-prototypes]
35 | void fimc_isp_video_device_unregister(struct fimc_isp *isp,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/fimc_isp_video_device_unregister +35 drivers/media/platform/exynos4-is/fimc-isp-video.h
34947b8aebe3f2d Sylwester Nawrocki 2013-12-20 34
34947b8aebe3f2d Sylwester Nawrocki 2013-12-20 @35 void fimc_isp_video_device_unregister(struct fimc_isp *isp,
34947b8aebe3f2d Sylwester Nawrocki 2013-12-20 36 enum v4l2_buf_type type)
34947b8aebe3f2d Sylwester Nawrocki 2013-12-20 37 {
34947b8aebe3f2d Sylwester Nawrocki 2013-12-20 38 }
34947b8aebe3f2d Sylwester Nawrocki 2013-12-20 39 #endif /* !CONFIG_VIDEO_EXYNOS4_ISP_DMA_CAPTURE */
34947b8aebe3f2d Sylwester Nawrocki 2013-12-20 40
:::::: The code at line 35 was first introduced by commit
:::::: 34947b8aebe3f2d4eceb65fceafa92bf8dc97d96 [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver
:::::: TO: Sylwester Nawrocki <s.nawrocki(a)samsung.com>
:::::: CC: Mauro Carvalho Chehab <m.chehab(a)samsung.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
[ti:ti-rt-linux-5.4.y 2653/12234] drivers/crypto/sa2ul.c:473:31: sparse: sparse: cast to restricted __be32
by kernel test robot
tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.4.y
head: b956d57638aa031e0b660684c0152dd698ecf150
commit: 5b8516f3bedb3e1c273e7747b6e4a85c6e47907a [2653/12234] crypto: sa2ul: Add crypto driver
config: xtensa-randconfig-s032-20201115 (attached as .config)
compiler: xtensa-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
# apt-get install sparse
# sparse version: v0.6.3-107-gaf3512a6-dirty
git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git fetch --no-tags ti ti-rt-linux-5.4.y
git checkout 5b8516f3bedb3e1c273e7747b6e4a85c6e47907a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=xtensa
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
"sparse warnings: (new ones prefixed by >>)"
>> drivers/crypto/sa2ul.c:473:31: sparse: sparse: cast to restricted __be32
>> drivers/crypto/sa2ul.c:902:35: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@
>> drivers/crypto/sa2ul.c:902:35: sparse: expected unsigned int [usertype]
>> drivers/crypto/sa2ul.c:902:35: sparse: got restricted __be32 [usertype]
>> drivers/crypto/sa2ul.c:1169:6: sparse: sparse: symbol 'sa_register_algos' was not declared. Should it be static?
>> drivers/crypto/sa2ul.c:1198:6: sparse: sparse: symbol 'sa_unregister_algos' was not declared. Should it be static?
drivers/crypto/sa2ul.c:503:41: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@
drivers/crypto/sa2ul.c:503:41: sparse: expected unsigned int [usertype]
drivers/crypto/sa2ul.c:503:41: sparse: got restricted __be32 [usertype]
drivers/crypto/sa2ul.c:364:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@
drivers/crypto/sa2ul.c:364:22: sparse: expected unsigned int [usertype]
drivers/crypto/sa2ul.c:364:22: sparse: got restricted __be32 [usertype]
drivers/crypto/sa2ul.c: note: in included file (through arch/xtensa/include/asm/io.h, include/linux/scatterlist.h, include/linux/dmapool.h):
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
vim +473 drivers/crypto/sa2ul.c
369
370 /* Format general command label */
371 static int sa_format_cmdl_gen(struct sa_cmdl_cfg *cfg, u8 *cmdl,
372 struct sa_cmdl_upd_info *upd_info)
373 {
374 u8 enc_offset = 0, auth_offset = 0, total = 0;
375 u8 enc_next_eng = SA_ENG_ID_OUTPORT2;
376 u8 auth_next_eng = SA_ENG_ID_OUTPORT2;
377 u32 *word_ptr = (u32 *)cmdl;
378 int i;
379
380 /* Clear the command label */
381 memzero_explicit(cmdl, (SA_MAX_CMDL_WORDS * sizeof(u32)));
382
383 /* Iniialize the command update structure */
384 memzero_explicit(upd_info, sizeof(*upd_info));
385
386 if (cfg->enc1st) {
387 if (cfg->enc_eng_id != SA_ENG_ID_NONE)
388 auth_offset = SA_CMDL_HEADER_SIZE_BYTES;
389
390 if (cfg->iv_size)
391 auth_offset += cfg->iv_size;
392
393 if (cfg->auth_eng_id != SA_ENG_ID_NONE)
394 enc_next_eng = cfg->auth_eng_id;
395 else
396 enc_next_eng = SA_ENG_ID_OUTPORT2;
397 } else {
398 if (cfg->auth_eng_id != SA_ENG_ID_NONE)
399 enc_offset = SA_CMDL_HEADER_SIZE_BYTES;
400
401 if (cfg->auth_subkey_len)
402 enc_offset += cfg->auth_subkey_len;
403
404 if (cfg->enc_eng_id != SA_ENG_ID_NONE)
405 auth_next_eng = cfg->enc_eng_id;
406 else
407 auth_next_eng = SA_ENG_ID_OUTPORT2;
408 }
409
410 if (cfg->enc_eng_id != SA_ENG_ID_NONE) {
411 upd_info->flags |= SA_CMDL_UPD_ENC;
412 upd_info->enc_size.index = enc_offset >> 2;
413 upd_info->enc_offset.index = upd_info->enc_size.index + 1;
414 /* Encryption command label */
415 cmdl[enc_offset + SA_CMDL_OFFSET_NESC] = enc_next_eng;
416
417 /* Encryption modes requiring IV */
418 if (cfg->iv_size) {
419 upd_info->flags |= SA_CMDL_UPD_ENC_IV;
420 upd_info->enc_iv.index =
421 (enc_offset + SA_CMDL_HEADER_SIZE_BYTES) >> 2;
422 upd_info->enc_iv.size = cfg->iv_size;
423
424 cmdl[enc_offset + SA_CMDL_OFFSET_LABEL_LEN] =
425 SA_CMDL_HEADER_SIZE_BYTES + cfg->iv_size;
426
427 cmdl[enc_offset + SA_CMDL_OFFSET_OPTION_CTRL1] =
428 (SA_CTX_ENC_AUX2_OFFSET | (cfg->iv_size >> 3));
429 enc_offset += SA_CMDL_HEADER_SIZE_BYTES + cfg->iv_size;
430 } else {
431 cmdl[enc_offset + SA_CMDL_OFFSET_LABEL_LEN] =
432 SA_CMDL_HEADER_SIZE_BYTES;
433 enc_offset += SA_CMDL_HEADER_SIZE_BYTES;
434 }
435 }
436
437 if (cfg->auth_eng_id != SA_ENG_ID_NONE) {
438 upd_info->flags |= SA_CMDL_UPD_AUTH;
439 upd_info->auth_size.index = auth_offset >> 2;
440 upd_info->auth_offset.index = upd_info->auth_size.index + 1;
441 cmdl[auth_offset + SA_CMDL_OFFSET_NESC] = auth_next_eng;
442
443 /* Algorithm with subkeys */
444 if (cfg->aalg == SA_AALG_ID_AES_XCBC ||
445 cfg->aalg == SA_AALG_ID_CMAC) {
446 upd_info->flags |= SA_CMDL_UPD_AUX_KEY;
447 upd_info->aux_key_info.index =
448 (auth_offset + SA_CMDL_HEADER_SIZE_BYTES) >> 2;
449 cmdl[auth_offset + SA_CMDL_OFFSET_LABEL_LEN] =
450 SA_CMDL_HEADER_SIZE_BYTES +
451 cfg->auth_subkey_len;
452 cmdl[auth_offset + SA_CMDL_OFFSET_OPTION_CTRL1] =
453 (SA_CTX_ENC_AUX1_OFFSET |
454 (cfg->auth_subkey_len >> 3));
455
456 auth_offset += SA_CMDL_HEADER_SIZE_BYTES +
457 cfg->auth_subkey_len;
458 } else {
459 cmdl[auth_offset + SA_CMDL_OFFSET_LABEL_LEN] =
460 SA_CMDL_HEADER_SIZE_BYTES;
461 auth_offset += SA_CMDL_HEADER_SIZE_BYTES;
462 }
463 }
464
465 if (cfg->enc1st)
466 total = auth_offset;
467 else
468 total = enc_offset;
469
470 total = roundup(total, 8);
471
472 for (i = 0; i < total / 4; i++)
> 473 word_ptr[i] = be32_to_cpu(word_ptr[i]);
474
475 return total;
476 }
477
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [PATCH] venus: guard load_scale
by kernel test robot
Hi Fritz,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v5.10-rc3 next-20201113]
[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/Fritz-Koenig/venus-guard-load_sc...
base: git://linuxtv.org/media_tree.git master
config: arm64-randconfig-r013-20201114 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 9a85643cd357e412cff69067bb5c4840e228c2ab)
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
# https://github.com/0day-ci/linux/commit/0f286c3baefce09c2d1845a683814847f...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Fritz-Koenig/venus-guard-load_scale/20201110-144916
git checkout 0f286c3baefce09c2d1845a683814847fed9e45d
# 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 errors (new ones prefixed by >>):
In file included from drivers/media/platform/qcom/venus/core.c:23:
>> drivers/media/platform/qcom/venus/pm_helpers.h:39:12: error: no member named 'enc_state' in 'struct venus_inst'
inst->enc_state == VENUS_ENC_STATE_INIT)
~~~~ ^
>> drivers/media/platform/qcom/venus/pm_helpers.h:39:25: error: use of undeclared identifier 'VENUS_ENC_STATE_INIT'; did you mean 'VENUS_DEC_STATE_INIT'?
inst->enc_state == VENUS_ENC_STATE_INIT)
^~~~~~~~~~~~~~~~~~~~
VENUS_DEC_STATE_INIT
drivers/media/platform/qcom/venus/core.h:270:2: note: 'VENUS_DEC_STATE_INIT' declared here
VENUS_DEC_STATE_INIT = 1,
^
2 errors generated.
vim +39 drivers/media/platform/qcom/venus/pm_helpers.h
30
31 static inline int venus_pm_load_scale(struct venus_inst *inst)
32 {
33 struct venus_core *core = inst->core;
34
35 if (!core->pm_ops || !core->pm_ops->load_scale)
36 return 0;
37
38 if (inst->session_type == VIDC_SESSION_TYPE_ENC &&
> 39 inst->enc_state == VENUS_ENC_STATE_INIT)
40 return 0;
41
42 return core->pm_ops->load_scale(inst);
43 }
44
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [PATCH] afs: Fix afs_write_end() when called with copied == 0 [ver #2]
by kernel test robot
Hi David,
I love your patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on linux/master v5.10-rc3 next-20201113]
[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/David-Howells/afs-Fix-afs_write_...
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f01c30de86f1047e9bae1b1b1417b0ce8dcd15b1
config: x86_64-randconfig-a006-20201115 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 9a85643cd357e412cff69067bb5c4840e228c2ab)
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/0day-ci/linux/commit/3486f1e413fba9587ced6c768d75e993e...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review David-Howells/afs-Fix-afs_write_end-when-called-with-copied-0-ver-2/20201115-012626
git checkout 3486f1e413fba9587ced6c768d75e993ef78ce9d
# 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 errors (new ones prefixed by >>):
>> fs/afs/write.c:202:3: error: implicit declaration of function 'SetPageUptoodate' [-Werror,-Wimplicit-function-declaration]
SetPageUptoodate(page);
^
fs/afs/write.c:202:3: note: did you mean 'SetPageUptodate'?
include/linux/page-flags.h:539:29: note: 'SetPageUptodate' declared here
static __always_inline void SetPageUptodate(struct page *page)
^
1 error generated.
vim +/SetPageUptoodate +202 fs/afs/write.c
158
159 /*
160 * finalise part of a write to a page
161 */
162 int afs_write_end(struct file *file, struct address_space *mapping,
163 loff_t pos, unsigned len, unsigned copied,
164 struct page *page, void *fsdata)
165 {
166 struct afs_vnode *vnode = AFS_FS_I(file_inode(file));
167 struct key *key = afs_file_key(file);
168 unsigned long priv;
169 unsigned int f, from = pos & (PAGE_SIZE - 1);
170 unsigned int t, to = from + copied;
171 loff_t i_size, maybe_i_size;
172 int ret = 0;
173
174 _enter("{%llx:%llu},{%lx}",
175 vnode->fid.vid, vnode->fid.vnode, page->index);
176
177 if (copied == 0)
178 goto out;
179
180 maybe_i_size = pos + copied;
181
182 i_size = i_size_read(&vnode->vfs_inode);
183 if (maybe_i_size > i_size) {
184 write_seqlock(&vnode->cb_lock);
185 i_size = i_size_read(&vnode->vfs_inode);
186 if (maybe_i_size > i_size)
187 i_size_write(&vnode->vfs_inode, maybe_i_size);
188 write_sequnlock(&vnode->cb_lock);
189 }
190
191 if (!PageUptodate(page)) {
192 if (copied < len) {
193 /* Try and load any missing data from the server. The
194 * unmarshalling routine will take care of clearing any
195 * bits that are beyond the EOF.
196 */
197 ret = afs_fill_page(vnode, key, pos + copied,
198 len - copied, page);
199 if (ret < 0)
200 goto out;
201 }
> 202 SetPageUptoodate(page);
203 }
204
205 if (PagePrivate(page)) {
206 priv = page_private(page);
207 f = afs_page_dirty_from(priv);
208 t = afs_page_dirty_to(priv);
209 if (from < f)
210 f = from;
211 if (to > t)
212 t = to;
213 priv = afs_page_dirty(f, t);
214 set_page_private(page, priv);
215 trace_afs_page_dirty(vnode, tracepoint_string("dirty+"),
216 page->index, priv);
217 } else {
218 priv = afs_page_dirty(from, to);
219 attach_page_private(page, (void *)priv);
220 trace_afs_page_dirty(vnode, tracepoint_string("dirty"),
221 page->index, priv);
222 }
223
224 set_page_dirty(page);
225 if (PageDirty(page))
226 _debug("dirtied");
227 ret = copied;
228
229 out:
230 unlock_page(page);
231 put_page(page);
232 return ret;
233 }
234
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [PATCH] afs: Fix afs_write_end() when called with copied == 0 [ver #2]
by kernel test robot
Hi David,
I love your patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on linux/master v5.10-rc3 next-20201113]
[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/David-Howells/afs-Fix-afs_write_...
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f01c30de86f1047e9bae1b1b1417b0ce8dcd15b1
config: microblaze-randconfig-r022-20201115 (attached as .config)
compiler: microblaze-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/3486f1e413fba9587ced6c768d75e993e...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review David-Howells/afs-Fix-afs_write_end-when-called-with-copied-0-ver-2/20201115-012626
git checkout 3486f1e413fba9587ced6c768d75e993ef78ce9d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=microblaze
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 >>):
fs/afs/write.c: In function 'afs_write_end':
>> fs/afs/write.c:202:3: error: implicit declaration of function 'SetPageUptoodate'; did you mean 'SetPageUptodate'? [-Werror=implicit-function-declaration]
202 | SetPageUptoodate(page);
| ^~~~~~~~~~~~~~~~
| SetPageUptodate
cc1: some warnings being treated as errors
vim +202 fs/afs/write.c
158
159 /*
160 * finalise part of a write to a page
161 */
162 int afs_write_end(struct file *file, struct address_space *mapping,
163 loff_t pos, unsigned len, unsigned copied,
164 struct page *page, void *fsdata)
165 {
166 struct afs_vnode *vnode = AFS_FS_I(file_inode(file));
167 struct key *key = afs_file_key(file);
168 unsigned long priv;
169 unsigned int f, from = pos & (PAGE_SIZE - 1);
170 unsigned int t, to = from + copied;
171 loff_t i_size, maybe_i_size;
172 int ret = 0;
173
174 _enter("{%llx:%llu},{%lx}",
175 vnode->fid.vid, vnode->fid.vnode, page->index);
176
177 if (copied == 0)
178 goto out;
179
180 maybe_i_size = pos + copied;
181
182 i_size = i_size_read(&vnode->vfs_inode);
183 if (maybe_i_size > i_size) {
184 write_seqlock(&vnode->cb_lock);
185 i_size = i_size_read(&vnode->vfs_inode);
186 if (maybe_i_size > i_size)
187 i_size_write(&vnode->vfs_inode, maybe_i_size);
188 write_sequnlock(&vnode->cb_lock);
189 }
190
191 if (!PageUptodate(page)) {
192 if (copied < len) {
193 /* Try and load any missing data from the server. The
194 * unmarshalling routine will take care of clearing any
195 * bits that are beyond the EOF.
196 */
197 ret = afs_fill_page(vnode, key, pos + copied,
198 len - copied, page);
199 if (ret < 0)
200 goto out;
201 }
> 202 SetPageUptoodate(page);
203 }
204
205 if (PagePrivate(page)) {
206 priv = page_private(page);
207 f = afs_page_dirty_from(priv);
208 t = afs_page_dirty_to(priv);
209 if (from < f)
210 f = from;
211 if (to > t)
212 t = to;
213 priv = afs_page_dirty(f, t);
214 set_page_private(page, priv);
215 trace_afs_page_dirty(vnode, tracepoint_string("dirty+"),
216 page->index, priv);
217 } else {
218 priv = afs_page_dirty(from, to);
219 attach_page_private(page, (void *)priv);
220 trace_afs_page_dirty(vnode, tracepoint_string("dirty"),
221 page->index, priv);
222 }
223
224 set_page_dirty(page);
225 if (PageDirty(page))
226 _debug("dirtied");
227 ret = copied;
228
229 out:
230 unlock_page(page);
231 put_page(page);
232 return ret;
233 }
234
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [PATCH v2 05/19] powerpc: interrupt handler wrapper functions
by kernel test robot
Hi Nicholas,
I love your patch! Perhaps something to improve:
[auto build test WARNING on powerpc/next]
[also build test WARNING on v5.10-rc3 next-20201113]
[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/Nicholas-Piggin/powerpc-interrup...
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-randconfig-r035-20201111 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a719eef73ec447b2c5fc8b70f69564a2e0f78e1e)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://github.com/0day-ci/linux/commit/36805b0ebcf1760588efad86b8b5db534...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Nicholas-Piggin/powerpc-interrupt-wrappers/20201111-183954
git checkout 36805b0ebcf1760588efad86b8b5db5344329148
# 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: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> arch/powerpc/kernel/traps.c:1950:30: warning: no previous prototype for function 'performance_monitor_exception_nmi' [-Wmissing-prototypes]
DEFINE_INTERRUPT_HANDLER_NMI(performance_monitor_exception_nmi)
^
arch/powerpc/kernel/traps.c:1950:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
DEFINE_INTERRUPT_HANDLER_NMI(performance_monitor_exception_nmi)
^
arch/powerpc/include/asm/interrupt.h:146:19: note: expanded from macro 'DEFINE_INTERRUPT_HANDLER_NMI'
__visible noinstr long func(struct pt_regs *regs) \
^
>> arch/powerpc/kernel/traps.c:1963:32: warning: no previous prototype for function 'performance_monitor_exception_async' [-Wmissing-prototypes]
DEFINE_INTERRUPT_HANDLER_ASYNC(performance_monitor_exception_async)
^
arch/powerpc/kernel/traps.c:1963:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
DEFINE_INTERRUPT_HANDLER_ASYNC(performance_monitor_exception_async)
^
arch/powerpc/include/asm/interrupt.h:118:19: note: expanded from macro 'DEFINE_INTERRUPT_HANDLER_ASYNC'
__visible noinstr void func(struct pt_regs *regs) \
^
2 warnings generated.
vim +/performance_monitor_exception_nmi +1950 arch/powerpc/kernel/traps.c
1949
> 1950 DEFINE_INTERRUPT_HANDLER_NMI(performance_monitor_exception_nmi)
1951 {
1952 nmi_enter();
1953
1954 __this_cpu_inc(irq_stat.pmu_irqs);
1955
1956 perf_irq(regs);
1957
1958 nmi_exit();
1959
1960 return 0;
1961 }
1962
> 1963 DEFINE_INTERRUPT_HANDLER_ASYNC(performance_monitor_exception_async)
1964 {
1965 irq_enter();
1966
1967 __this_cpu_inc(irq_stat.pmu_irqs);
1968
1969 perf_irq(regs);
1970
1971 irq_exit();
1972 }
1973
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
ERROR: modpost: "vhost_iotlb_itree_next" undefined!
by kernel test robot
Hi Eli,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f01c30de86f1047e9bae1b1b1417b0ce8dcd15b1
commit: 1a86b377aa2147a7c866b03142e848c18e5f3cb8 vdpa/mlx5: Add VDPA driver for supported mlx5 devices
date: 3 months ago
config: microblaze-randconfig-c004-20201031 (attached as .config)
compiler: microblaze-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 1a86b377aa2147a7c866b03142e848c18e5f3cb8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=microblaze
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: "min_low_pfn" [net/smc/smc.ko] undefined!
ERROR: modpost: "min_low_pfn" [net/ipv6/ah6.ko] undefined!
ERROR: modpost: "min_low_pfn" [net/ipv4/ah4.ko] undefined!
ERROR: modpost: "min_low_pfn" [drivers/ntb/test/ntb_perf.ko] undefined!
ERROR: modpost: "min_low_pfn" [drivers/infiniband/hw/mthca/ib_mthca.ko] undefined!
ERROR: modpost: "min_low_pfn" [drivers/mtd/spi-nor/spi-nor.ko] undefined!
ERROR: modpost: "min_low_pfn" [drivers/mtd/nand/raw/cadence-nand-controller.ko] undefined!
ERROR: modpost: "min_low_pfn" [drivers/mtd/nand/raw/nand.ko] undefined!
ERROR: modpost: "min_low_pfn" [drivers/target/iscsi/iscsi_target_mod.ko] undefined!
>> ERROR: modpost: "vhost_iotlb_itree_next" [drivers/vdpa/mlx5/mlx5_vdpa.ko] undefined!
>> ERROR: modpost: "vhost_iotlb_itree_first" [drivers/vdpa/mlx5/mlx5_vdpa.ko] undefined!
ERROR: modpost: "min_low_pfn" [drivers/mmc/core/mmc_core.ko] undefined!
ERROR: modpost: "min_low_pfn" [drivers/usb/misc/usbtest.ko] undefined!
ERROR: modpost: "min_low_pfn" [drivers/tty/serial/fsl_lpuart.ko] undefined!
ERROR: modpost: "min_low_pfn" [drivers/dma/fsl-edma-common.ko] undefined!
ERROR: modpost: "min_low_pfn" [drivers/rapidio/devices/rio_mport_cdev.ko] undefined!
ERROR: modpost: "min_low_pfn" [crypto/tcrypt.ko] undefined!
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months