Hi Nickolai, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v7.3-rc6 next-20261009] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Nickolai-Zeldovich/riscv-Fix-icache-flush-being-skipped-for-a-second-mm-mapping-an-exec-folio/20261009-181957 base: linus/master patch link: https://lore.kernel.org/r/20261009221957.760606-1-nickolai%40csail.mit.edu patch subject: [PATCH] riscv: Fix icache flush being skipped for a second mm mapping an exec folio config: riscv-allnoconfig compiler: riscv64-linux-gcc (GCC) 16.1.0 reproduce (this is a W=1 build): 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 | Closes: https://lore.kernel.org/oe-kbuild-all/202610101731.LMiiYIWh-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/mmu_context.h:5, from include/linux/cpuset.h:18, from kernel/sched/sched.h:33, from kernel/sched/rq-offsets.c:5: arch/riscv/include/asm/mmu_context.h: In function 'init_new_context': >> arch/riscv/include/asm/mmu_context.h:35:20: error: 'mm_context_t' has no member named 'icache_gen' 35 | mm->context.icache_gen = 0; | ^ make[3]: *** [scripts/Makefile.build:185: kernel/sched/rq-offsets.s] Error 1 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1425: prepare0] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:248: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:248: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +35 arch/riscv/include/asm/mmu_context.h 28 29 #define init_new_context init_new_context 30 static inline int init_new_context(struct task_struct *tsk, 31 struct mm_struct *mm) 32 { 33 #ifdef CONFIG_MMU 34 atomic_long_set(&mm->context.id, 0); > 35 mm->context.icache_gen = 0; 36 #endif 37 if (IS_ENABLED(CONFIG_RISCV_ISA_SUPM)) 38 clear_bit(MM_CONTEXT_LOCK_PMLEN, &mm->context.flags); 39 return 0; 40 } 41 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki