Hi Thomas, kernel test robot noticed the following build errors:
[auto build test ERROR on drm-xe/drm-xe-next] [also build test ERROR on next-20250604] [cannot apply to linus/master v6.15] [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/Thomas-Hellstr-m/drm-gpusvm-drm-pagemap-Move-migration-functionality-to-drm_pagemap/20250604-173757 base: https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next patch link: https://lore.kernel.org/r/20250604093536.95982-3-thomas.hellstrom%40linux.intel.com patch subject: [PATCH v2 2/3] drm/pagemap: Add a populate_mm op config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20250605/[email protected]/config) compiler: loongarch64-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250605/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All error/warnings (new ones prefixed by >>): drivers/gpu/drm/drm_pagemap.c:315: warning: Function parameter or struct member 'timeslice_ms' not described in 'drm_pagemap_migrate_to_devmem' >> drivers/gpu/drm/drm_pagemap.c:833: warning: Function parameter or struct >> member 'timeslice_ms' not described in 'drm_pagemap_populate_mm' -- loongarch64-linux-ld: arch/loongarch/kernel/head.o: relocation R_LARCH_B26 overflow 0xffffffffef55fa70 arch/loongarch/kernel/head.o: in function `smpboot_entry': >> (.ref.text+0x160): relocation truncated to fit: R_LARCH_B26 against symbol >> `start_secondary' defined in .text section in arch/loongarch/kernel/smp.o loongarch64-linux-ld: final link failed: bad value vim +833 drivers/gpu/drm/drm_pagemap.c 813 814 /** 815 * drm_pagemap_populate_mm() - Populate a virtual range with device memory pages 816 * @dpagemap: Pointer to the drm_pagemap managing the device memory 817 * @start: Start of the virtual range to populate. 818 * @end: End of the virtual range to populate. 819 * @mm: Pointer to the virtual address space. 820 * 821 * Attempt to populate a virtual range with device memory pages, 822 * clearing them or migrating data from the existing pages if necessary. 823 * The function is best effort only, and implementations may vary 824 * in how hard they try to satisfy the request. 825 * 826 * Return: 0 on success, negative error code on error. If the hardware 827 * device was removed / unbound the function will return -ENODEV; 828 */ 829 int drm_pagemap_populate_mm(struct drm_pagemap *dpagemap, 830 unsigned long start, unsigned long end, 831 struct mm_struct *mm, 832 unsigned long timeslice_ms) > 833 { -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
