Re: [PATCH v2 1/5] Introduce Xe Uncorrectable Error Handling

kernel test robot
2026-03-19T14:42:26Z

Hi Mallesh,

kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-xe/drm-xe-next]
[also build test WARNING on drm-misc/drm-misc-next drm/drm-next next-20260318]
[cannot apply to linus/master v7.0-rc4]
[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/Mallesh-Koujalagi/Introduce-Xe-Uncorrectable-Error-Handling/20260318-153303
base: https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next
patch link: https://lore.kernel.org/r/20260318064016.374656-8-mallesh.koujalagi%40intel.com
patch subject: [PATCH v2 1/5] Introduce Xe Uncorrectable Error Handling
config: csky-randconfig-r122-20260319 (https://download.01.org/0day-ci/archive/20260319/202603192221.3sEGGig7-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 12.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260319/202603192221.3sEGGig7-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603192221.3sEGGig7-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/xe/xe_ras.c:170:18: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] data @@ got unsigned int [assigned] [usertype] req_hdr @@
drivers/gpu/drm/xe/xe_ras.c:170:18: sparse: expected restricted __le32 [usertype] data
drivers/gpu/drm/xe/xe_ras.c:170:18: sparse: got unsigned int [assigned] [usertype] req_hdr

vim +170 drivers/gpu/drm/xe/xe_ras.c

159
160 static void xe_ras_prepare_sysctrl_command(struct xe_sysctrl_mailbox_command *command,
161 u32 cmd_mask, void *request, size_t request_len,
162 void *response, size_t response_len)
163 {
164 struct xe_sysctrl_mailbox_app_msg_hdr hdr = {0};
165 u32 req_hdr;
166
167 req_hdr = FIELD_PREP(APP_HDR_GROUP_ID_MASK, XE_SYSCTRL_GROUP_GFSP) |
168 FIELD_PREP(APP_HDR_COMMAND_MASK, cmd_mask);
169
> 170 hdr.data = req_hdr;
171 command->header = hdr;
172 command->data_in = request;
173 command->data_in_len = request_len;
174 command->data_out = response;
175 command->data_out_len = response_len;
176 }
177

--
0-DAY CI Kernel Test Service