tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next head: dcae401d111324489c066aa57ed9c77b97b475f9 commit: c18d4ac89dc8ad1622c3abc7f4ff31b563c0196b [0/6] drm/amdgpu: Track pending retry faults in IH and VM (v2) config: ia64-allyesconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 6.2.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 c18d4ac89dc8ad1622c3abc7f4ff31b563c0196b # save the attached .config to linux build tree make.cross ARCH=ia64
All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h:27:0, from drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h:28, from drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h:45, from drivers/gpu/drm/amd/amdgpu/amdgpu.h:52, from drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:44: drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h: In function 'chash_iter_is_valid': >> drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h:286:50: error: >> '_BITOPS_LONG_SHIFT' undeclared (first use in this function) return !!(iter.table->valid_bitmap[iter.slot >> _BITOPS_LONG_SHIFT] & ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h:286:50: note: each undeclared identifier is reported only once for each function it appears in drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h: In function 'chash_iter_is_empty': drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h:292:49: error: '_BITOPS_LONG_SHIFT' undeclared (first use in this function) return !(iter.table->occup_bitmap[iter.slot >> _BITOPS_LONG_SHIFT] & ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h: In function 'chash_iter_set_valid': drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h:299:40: error: '_BITOPS_LONG_SHIFT' undeclared (first use in this function) iter.table->valid_bitmap[iter.slot >> _BITOPS_LONG_SHIFT] |= iter.mask; ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h: In function 'chash_iter_set_invalid': drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h:305:40: error: '_BITOPS_LONG_SHIFT' undeclared (first use in this function) iter.table->valid_bitmap[iter.slot >> _BITOPS_LONG_SHIFT] &= ~iter.mask; ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h: In function 'chash_iter_set_empty': drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h:310:40: error: '_BITOPS_LONG_SHIFT' undeclared (first use in this function) iter.table->occup_bitmap[iter.slot >> _BITOPS_LONG_SHIFT] &= ~iter.mask; ^~~~~~~~~~~~~~~~~~ -- In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h:27:0, from drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h:28, from drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h:45, from drivers/gpu/drm/amd/amdgpu/amdgpu.h:52, from drivers/gpu/drm/amd/amdgpu/si_ih.c:24: drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h: In function 'chash_iter_is_valid': >> drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h:286:50: error: >> '_BITOPS_LONG_SHIFT' undeclared (first use in this function) return !!(iter.table->valid_bitmap[iter.slot >> _BITOPS_LONG_SHIFT] & ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h:286:50: note: each undeclared identifier is reported only once for each function it appears in drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h: In function 'chash_iter_is_empty': drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h:292:49: error: '_BITOPS_LONG_SHIFT' undeclared (first use in this function) return !(iter.table->occup_bitmap[iter.slot >> _BITOPS_LONG_SHIFT] & ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h: In function 'chash_iter_set_valid': drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h:299:40: error: '_BITOPS_LONG_SHIFT' undeclared (first use in this function) iter.table->valid_bitmap[iter.slot >> _BITOPS_LONG_SHIFT] |= iter.mask; ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h: In function 'chash_iter_set_invalid': drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h:305:40: error: '_BITOPS_LONG_SHIFT' undeclared (first use in this function) iter.table->valid_bitmap[iter.slot >> _BITOPS_LONG_SHIFT] &= ~iter.mask; ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h: In function 'chash_iter_set_empty': drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h:310:40: error: '_BITOPS_LONG_SHIFT' undeclared (first use in this function) iter.table->occup_bitmap[iter.slot >> _BITOPS_LONG_SHIFT] &= ~iter.mask; ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/si_ih.c: At top level: drivers/gpu/drm/amd/amdgpu/si_ih.c:304:2: error: unknown field 'prescreeen_iv' specified in initializer .prescreeen_iv = si_ih_prescreen_iv, ^ vim +/_BITOPS_LONG_SHIFT +286 drivers/gpu/drm/amd/amdgpu/../include/linux/chash.h 18c07371 Felix Kuehling 2017-08-24 252 18c07371 Felix Kuehling 2017-08-24 253 /** 18c07371 Felix Kuehling 2017-08-24 254 * CHASH_ITER_INIT - Initialize a hash table iterator 18c07371 Felix Kuehling 2017-08-24 255 * @tbl: Pointer to hash table to iterate over 18c07371 Felix Kuehling 2017-08-24 256 * @s: Initial slot number 18c07371 Felix Kuehling 2017-08-24 257 */ 18c07371 Felix Kuehling 2017-08-24 258 #define CHASH_ITER_INIT(table, s) { \ 18c07371 Felix Kuehling 2017-08-24 259 table, \ 18c07371 Felix Kuehling 2017-08-24 260 1UL << ((s) & (BITS_PER_LONG - 1)), \ 18c07371 Felix Kuehling 2017-08-24 261 s \ 18c07371 Felix Kuehling 2017-08-24 262 } 18c07371 Felix Kuehling 2017-08-24 263 /** 18c07371 Felix Kuehling 2017-08-24 264 * CHASH_ITER_SET - Set hash table iterator to new slot 18c07371 Felix Kuehling 2017-08-24 265 * @iter: Iterator 18c07371 Felix Kuehling 2017-08-24 266 * @s: Slot number 18c07371 Felix Kuehling 2017-08-24 267 */ 18c07371 Felix Kuehling 2017-08-24 268 #define CHASH_ITER_SET(iter, s) \ 18c07371 Felix Kuehling 2017-08-24 269 (iter).mask = 1UL << ((s) & (BITS_PER_LONG - 1)), \ 18c07371 Felix Kuehling 2017-08-24 270 (iter).slot = (s) 18c07371 Felix Kuehling 2017-08-24 271 /** 18c07371 Felix Kuehling 2017-08-24 272 * CHASH_ITER_INC - Increment hash table iterator 18c07371 Felix Kuehling 2017-08-24 273 * @table: Hash table to iterate over 18c07371 Felix Kuehling 2017-08-24 274 * 18c07371 Felix Kuehling 2017-08-24 275 * Wraps around at the end. 18c07371 Felix Kuehling 2017-08-24 276 */ 18c07371 Felix Kuehling 2017-08-24 277 #define CHASH_ITER_INC(iter) do { \ 18c07371 Felix Kuehling 2017-08-24 278 (iter).mask = (iter).mask << 1 | \ 18c07371 Felix Kuehling 2017-08-24 279 (iter).mask >> (BITS_PER_LONG - 1); \ 18c07371 Felix Kuehling 2017-08-24 280 (iter).slot = ((iter).slot + 1) & (iter).table->size_mask; \ 18c07371 Felix Kuehling 2017-08-24 281 } while (0) 18c07371 Felix Kuehling 2017-08-24 282 18c07371 Felix Kuehling 2017-08-24 283 static inline bool chash_iter_is_valid(const struct chash_iter iter) 18c07371 Felix Kuehling 2017-08-24 284 { 18c07371 Felix Kuehling 2017-08-24 285 BUG_ON((unsigned)iter.slot >= (1 << iter.table->bits)); 18c07371 Felix Kuehling 2017-08-24 @286 return !!(iter.table->valid_bitmap[iter.slot >> _BITOPS_LONG_SHIFT] & 18c07371 Felix Kuehling 2017-08-24 287 iter.mask); 18c07371 Felix Kuehling 2017-08-24 288 } 18c07371 Felix Kuehling 2017-08-24 289 static inline bool chash_iter_is_empty(const struct chash_iter iter) 18c07371 Felix Kuehling 2017-08-24 290 { 18c07371 Felix Kuehling 2017-08-24 291 BUG_ON((unsigned)iter.slot >= (1 << iter.table->bits)); 18c07371 Felix Kuehling 2017-08-24 292 return !(iter.table->occup_bitmap[iter.slot >> _BITOPS_LONG_SHIFT] & 18c07371 Felix Kuehling 2017-08-24 293 iter.mask); 18c07371 Felix Kuehling 2017-08-24 294 } 18c07371 Felix Kuehling 2017-08-24 295 :::::: The code at line 286 was first introduced by commit :::::: 18c073719186a393b41715686cf95175c58919df drm/amd: Closed hash table with low overhead :::::: TO: Felix Kuehling <felix.kuehl...@amd.com> :::::: CC: Felix Kuehling <felix.kuehl...@amd.com> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel