tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 6cff0a118f23b98c604a3604ea9de11338e24fbe commit: 70539bd79500245cbb4c7af00572fcce540d0105 drm/amd: Update MEC HQD loading code for KFD date: 2 months ago config: microblaze-allyesconfig (attached as .config) compiler: microblaze-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 70539bd79500245cbb4c7af00572fcce540d0105 # save the attached .config to linux build tree make.cross ARCH=microblaze All errors (new ones prefixed by >>): In file included from arch/microblaze/include/asm/mmu_context.h:2:0, from include/linux/mmu_context.h:4, from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29, from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23: arch/microblaze/include/asm/mmu_context_mm.h: In function 'switch_mm': >> arch/microblaze/include/asm/mmu_context_mm.h:122:5: error: dereferencing pointer to incomplete type 'struct task_struct' tsk->thread.pgdir = next->pgd; ^~ vim +122 arch/microblaze/include/asm/mmu_context_mm.h fc34d1eb Michal Simek 2009-05-26 118 fc34d1eb Michal Simek 2009-05-26 119 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, fc34d1eb Michal Simek 2009-05-26 120 struct task_struct *tsk) fc34d1eb Michal Simek 2009-05-26 121 { fc34d1eb Michal Simek 2009-05-26 @122 tsk->thread.pgdir = next->pgd; fc34d1eb Michal Simek 2009-05-26 123 get_mmu_context(next); fc34d1eb Michal Simek 2009-05-26 124 set_context(next->context, next->pgd); fc34d1eb Michal Simek 2009-05-26 125 } fc34d1eb Michal Simek 2009-05-26 126 :::::: The code at line 122 was first introduced by commit :::::: fc34d1eb1ca09d3450508e2cf9cf511364c2c460 microblaze_mmu_v2: Context handling - mmu_context.c/h :::::: TO: Michal Simek :::::: CC: Michal Simek --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation