* [asahilinux:bits/240-isp 55/56] drivers/media/platform/apple/avd/avd-hw.c:96:58: warning: shift count >= width of type
@ 2026-07-11 4:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-11 4:17 UTC (permalink / raw)
To: sofus; +Cc: llvm, oe-kbuild-all, Janne Grunau
tree: https://github.com/AsahiLinux/linux bits/240-isp
head: edd1529cbf30f69240acea99fa8225683c555200
commit: 9d77b27426e338bbf4f4df0676c1e064e046527e [55/56] media: apple: add avd driver
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260711/202607111256.m7DRIagP-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project b3e6e6dabdc02153552a64fc74ff5c7532447eed)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260711/202607111256.m7DRIagP-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607111256.m7DRIagP-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/media/platform/apple/avd/avd-hw.c:96:58: warning: shift count >= width of type [-Wshift-count-overflow]
96 | w32(AVD_V4_VP_INSN_FIFO_IOVA_HI + (fifo_idx * 4), addr >> 32);
| ^ ~~
drivers/media/platform/apple/avd/avd-hw.c:110:57: warning: shift count >= width of type [-Wshift-count-overflow]
110 | w32(AVD_V5_VP_INSN_FIFO_IOVA_HI + (fifo_idx * 4), addr >> 32);
| ^ ~~
2 warnings generated.
--
In file included from drivers/media/platform/apple/avd/avd-h264.c:24:
>> drivers/media/platform/apple/avd/avd-inst.h:41:29: warning: shift count >= width of type [-Wshift-count-overflow]
41 | push(avd, ctx, (u32)(addr >> 32));
| ^ ~~
>> drivers/media/platform/apple/avd/avd-h264.c:383:20: warning: shift count >= width of type [-Wshift-count-overflow]
383 | | (u32)(slc_a84 >> 32), "slc_a7c_cmd_set_coded_slice");
| ^ ~~
2 warnings generated.
vim +96 drivers/media/platform/apple/avd/avd-hw.c
89
90 void t8112_configure_stream(struct avd_dev *avd, dma_addr_t addr, u8 fifo_idx,
91 u32 vp_slot)
92 {
93 if (avd->variant->quirks & AVD_QUIRK_LSR) {
94 w32(AVD_V4_VP_INSN_FIFO_IOVA_LO + (fifo_idx * 4), addr >> 8);
95 } else {
> 96 w32(AVD_V4_VP_INSN_FIFO_IOVA_HI + (fifo_idx * 4), addr >> 32);
97 w32(AVD_V4_VP_INSN_FIFO_IOVA_LO + (fifo_idx * 4), addr & 0xffffffff);
98 }
99 w32(AVD_V4_VP_INSN_FIFO_MASK + (fifo_idx * 4), 0);
100 w32(AVD_V4_VP_INSN_FIFO_CACH + (fifo_idx * 4), 0);
101 w32(AVD_V4_VP_INSN_FIFO_XFER + (fifo_idx * 4), 0);
102
103 m32(AVD_V4_VP_CTRL_CM3_IRQ_MASK + (vp_slot * 4), AVD_VP_CM3_MASK);
104 m32(AVD_V4_PP_CTRL_CM3_IRQ_MASK, AVD_PP_CM3_MASK);
105 }
106
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-11 4:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-11 4:17 [asahilinux:bits/240-isp 55/56] drivers/media/platform/apple/avd/avd-hw.c:96:58: warning: shift count >= width of type kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.