Hi Lukas, kernel test robot noticed the following build errors:
[auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on next-20251216] [cannot apply to linus/master v6.19-rc1] [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/Lukas-Zapolskas/drm-panthor-Implement-CS_FAULT-propagation-to-userspace/20251215-195920 base: https://gitlab.freedesktop.org/drm/misc/kernel.git drm-misc-next patch link: https://lore.kernel.org/r/20251215115457.2137485-6-lukas.zapolskas%40arm.com patch subject: [PATCH v1 5/5] drm/panthor: Use GROUP_GET_STATE to provide group and queue errors config: x86_64-buildonly-randconfig-001-20251216 (https://download.01.org/0day-ci/archive/20251216/[email protected]/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251216/[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 errors (new ones prefixed by >>): >> drivers/gpu/drm/panthor/panthor_sched.c:3968:37: error: no member named >> 'fault' in 'struct panthor_group' 3968 | get_state->exception_type = group->fault.exception_type; | ~~~~~ ^ drivers/gpu/drm/panthor/panthor_sched.c:3969:34: error: no member named 'fault' in 'struct panthor_group' 3969 | get_state->access_type = group->fault.access_type; | ~~~~~ ^ drivers/gpu/drm/panthor/panthor_sched.c:3970:32: error: no member named 'fault' in 'struct panthor_group' 3970 | get_state->source_id = group->fault.source_id; | ~~~~~ ^ drivers/gpu/drm/panthor/panthor_sched.c:3971:36: error: no member named 'fault' in 'struct panthor_group' 3971 | get_state->valid_address = group->fault.valid_address; | ~~~~~ ^ drivers/gpu/drm/panthor/panthor_sched.c:3972:30: error: no member named 'fault' in 'struct panthor_group' 3972 | get_state->address = group->fault.address; | ~~~~~ ^ 5 errors generated. vim +3968 drivers/gpu/drm/panthor/panthor_sched.c 3938 3939 int panthor_group_get_state(struct panthor_file *pfile, 3940 struct drm_panthor_group_get_state *get_state, 3941 struct drm_panthor_queue_event *events, u32 count) 3942 { 3943 struct panthor_group_pool *gpool = pfile->groups; 3944 struct panthor_device *ptdev = pfile->ptdev; 3945 struct panthor_scheduler *sched = ptdev->scheduler; 3946 struct panthor_group *group = NULL; 3947 u32 fault_count; 3948 3949 group = group_from_handle(gpool, get_state->group_handle); 3950 if (!group) 3951 return -EINVAL; 3952 3953 guard(mutex)(&sched->lock); 3954 3955 if (group->timedout) 3956 get_state->state |= DRM_PANTHOR_GROUP_STATE_TIMEDOUT; 3957 if (group->fatal_queues) { 3958 get_state->state |= DRM_PANTHOR_GROUP_STATE_FATAL_FAULT; 3959 get_state->fatal_queues = group->fatal_queues; 3960 } 3961 if (group->innocent) 3962 get_state->state |= DRM_PANTHOR_GROUP_STATE_INNOCENT; 3963 if (group->fault_queues) { 3964 get_state->state |= DRM_PANTHOR_GROUP_STATE_QUEUE_FAULT; 3965 get_state->fault_queues = group->fault_queues; 3966 } 3967 > 3968 get_state->exception_type = group->fault.exception_type; 3969 get_state->access_type = group->fault.access_type; 3970 get_state->source_id = group->fault.source_id; 3971 get_state->valid_address = group->fault.valid_address; 3972 get_state->address = group->fault.address; 3973 3974 fault_count = panthor_group_count_faults(sched, group); 3975 3976 if (!count && !events) { 3977 get_state->faults.count = fault_count; 3978 get_state->faults.stride = sizeof(struct drm_panthor_queue_event); 3979 goto exit; 3980 } 3981 3982 panthor_group_get_faults(sched, group, events, min(get_state->faults.count, count)); 3983 3984 exit: 3985 group_put(group); 3986 return 0; 3987 } 3988 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
