From: kernel test robot <lkp@intel.com>
To: Rodrigo Vivi <rodrigo.vivi@intel.com>,
dri-devel@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: oe-kbuild-all@lists.linux.dev,
Rodrigo Vivi <rodrigo.vivi@intel.com>,
Riana Tauro <riana.tauro@intel.com>
Subject: Re: [PATCH 2/2] drm/xe: Introduce the usage of drm_ras with supported HW errors
Date: Tue, 30 Sep 2025 10:07:49 +0800 [thread overview]
Message-ID: <202509300919.eiP7GKSP-lkp@intel.com> (raw)
In-Reply-To: <20250929214415.326414-6-rodrigo.vivi@intel.com>
Hi Rodrigo,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-xe/drm-xe-next]
[also build test ERROR on drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-misc/drm-misc-next drm-tip/drm-tip next-20250929]
[cannot apply to drm-intel/for-linux-next-fixes linus/master v6.17]
[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/Rodrigo-Vivi/drm-ras-Introduce-the-DRM-RAS-infrastructure-over-generic-netlink/20250930-054726
base: https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next
patch link: https://lore.kernel.org/r/20250929214415.326414-6-rodrigo.vivi%40intel.com
patch subject: [PATCH 2/2] drm/xe: Introduce the usage of drm_ras with supported HW errors
config: parisc-randconfig-002-20250930 (https://download.01.org/0day-ci/archive/20250930/202509300919.eiP7GKSP-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 9.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250930/202509300919.eiP7GKSP-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/202509300919.eiP7GKSP-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/xe/xe_hw_error.c:8:
>> include/linux/find.h:6:2: error: #error only <linux/bitmap.h> can be included directly
6 | #error only <linux/bitmap.h> can be included directly
| ^~~~~
drivers/gpu/drm/xe/xe_hw_error.c:61:3: error: nonconstant array index in initializer
61 | [__ffs(_bit)] = { .name = _name, .counter = ATOMIC64_INIT(0) }
| ^~~~~
drivers/gpu/drm/xe/xe_hw_error.c:64:2: note: in expansion of macro 'ERR_INFO'
64 | ERR_INFO(XE_GT_ERROR, "GT Error"),
| ^~~~~~~~
drivers/gpu/drm/xe/xe_hw_error.c:61:3: note: (near initialization for 'dev_err_stat_nonfatal_reg')
61 | [__ffs(_bit)] = { .name = _name, .counter = ATOMIC64_INIT(0) }
| ^~~~~
drivers/gpu/drm/xe/xe_hw_error.c:64:2: note: in expansion of macro 'ERR_INFO'
64 | ERR_INFO(XE_GT_ERROR, "GT Error"),
| ^~~~~~~~
drivers/gpu/drm/xe/xe_hw_error.c:61:3: error: nonconstant array index in initializer
61 | [__ffs(_bit)] = { .name = _name, .counter = ATOMIC64_INIT(0) }
| ^~~~~
drivers/gpu/drm/xe/xe_hw_error.c:65:2: note: in expansion of macro 'ERR_INFO'
65 | ERR_INFO(XE_SGGI_DATA_PARITY_ERROR, "SGGI Data Parity Error"),
| ^~~~~~~~
drivers/gpu/drm/xe/xe_hw_error.c:61:3: note: (near initialization for 'dev_err_stat_nonfatal_reg')
61 | [__ffs(_bit)] = { .name = _name, .counter = ATOMIC64_INIT(0) }
| ^~~~~
drivers/gpu/drm/xe/xe_hw_error.c:65:2: note: in expansion of macro 'ERR_INFO'
65 | ERR_INFO(XE_SGGI_DATA_PARITY_ERROR, "SGGI Data Parity Error"),
| ^~~~~~~~
drivers/gpu/drm/xe/xe_hw_error.c:61:3: error: nonconstant array index in initializer
61 | [__ffs(_bit)] = { .name = _name, .counter = ATOMIC64_INIT(0) }
| ^~~~~
drivers/gpu/drm/xe/xe_hw_error.c:66:2: note: in expansion of macro 'ERR_INFO'
66 | ERR_INFO(XE_DISPLAY_ERROR, "Display Error"),
| ^~~~~~~~
drivers/gpu/drm/xe/xe_hw_error.c:61:3: note: (near initialization for 'dev_err_stat_nonfatal_reg')
61 | [__ffs(_bit)] = { .name = _name, .counter = ATOMIC64_INIT(0) }
| ^~~~~
drivers/gpu/drm/xe/xe_hw_error.c:66:2: note: in expansion of macro 'ERR_INFO'
66 | ERR_INFO(XE_DISPLAY_ERROR, "Display Error"),
| ^~~~~~~~
drivers/gpu/drm/xe/xe_hw_error.c:61:3: error: nonconstant array index in initializer
61 | [__ffs(_bit)] = { .name = _name, .counter = ATOMIC64_INIT(0) }
| ^~~~~
drivers/gpu/drm/xe/xe_hw_error.c:67:2: note: in expansion of macro 'ERR_INFO'
67 | ERR_INFO(XE_SGDI_DATA_PARITY_ERROR, "SGDI Data Parity Error"),
| ^~~~~~~~
drivers/gpu/drm/xe/xe_hw_error.c:61:3: note: (near initialization for 'dev_err_stat_nonfatal_reg')
61 | [__ffs(_bit)] = { .name = _name, .counter = ATOMIC64_INIT(0) }
| ^~~~~
drivers/gpu/drm/xe/xe_hw_error.c:67:2: note: in expansion of macro 'ERR_INFO'
67 | ERR_INFO(XE_SGDI_DATA_PARITY_ERROR, "SGDI Data Parity Error"),
| ^~~~~~~~
drivers/gpu/drm/xe/xe_hw_error.c:61:3: error: nonconstant array index in initializer
61 | [__ffs(_bit)] = { .name = _name, .counter = ATOMIC64_INIT(0) }
| ^~~~~
drivers/gpu/drm/xe/xe_hw_error.c:68:2: note: in expansion of macro 'ERR_INFO'
68 | ERR_INFO(XE_GSC_ERROR, "GSC Error"),
| ^~~~~~~~
drivers/gpu/drm/xe/xe_hw_error.c:61:3: note: (near initialization for 'dev_err_stat_nonfatal_reg')
61 | [__ffs(_bit)] = { .name = _name, .counter = ATOMIC64_INIT(0) }
| ^~~~~
drivers/gpu/drm/xe/xe_hw_error.c:68:2: note: in expansion of macro 'ERR_INFO'
68 | ERR_INFO(XE_GSC_ERROR, "GSC Error"),
| ^~~~~~~~
drivers/gpu/drm/xe/xe_hw_error.c:61:3: error: nonconstant array index in initializer
61 | [__ffs(_bit)] = { .name = _name, .counter = ATOMIC64_INIT(0) }
| ^~~~~
drivers/gpu/drm/xe/xe_hw_error.c:69:2: note: in expansion of macro 'ERR_INFO'
69 | ERR_INFO(XE_SGLI_DATA_PARITY_ERROR, "SGLI Data Parity Error"),
| ^~~~~~~~
drivers/gpu/drm/xe/xe_hw_error.c:61:3: note: (near initialization for 'dev_err_stat_nonfatal_reg')
61 | [__ffs(_bit)] = { .name = _name, .counter = ATOMIC64_INIT(0) }
| ^~~~~
drivers/gpu/drm/xe/xe_hw_error.c:69:2: note: in expansion of macro 'ERR_INFO'
69 | ERR_INFO(XE_SGLI_DATA_PARITY_ERROR, "SGLI Data Parity Error"),
| ^~~~~~~~
drivers/gpu/drm/xe/xe_hw_error.c:61:3: error: nonconstant array index in initializer
61 | [__ffs(_bit)] = { .name = _name, .counter = ATOMIC64_INIT(0) }
| ^~~~~
drivers/gpu/drm/xe/xe_hw_error.c:70:2: note: in expansion of macro 'ERR_INFO'
70 | ERR_INFO(XE_SGUNIT_ERROR, "SG Unit Error"),
| ^~~~~~~~
drivers/gpu/drm/xe/xe_hw_error.c:61:3: note: (near initialization for 'dev_err_stat_nonfatal_reg')
61 | [__ffs(_bit)] = { .name = _name, .counter = ATOMIC64_INIT(0) }
| ^~~~~
drivers/gpu/drm/xe/xe_hw_error.c:70:2: note: in expansion of macro 'ERR_INFO'
70 | ERR_INFO(XE_SGUNIT_ERROR, "SG Unit Error"),
| ^~~~~~~~
drivers/gpu/drm/xe/xe_hw_error.c:61:3: error: nonconstant array index in initializer
61 | [__ffs(_bit)] = { .name = _name, .counter = ATOMIC64_INIT(0) }
| ^~~~~
drivers/gpu/drm/xe/xe_hw_error.c:71:2: note: in expansion of macro 'ERR_INFO'
71 | ERR_INFO(XE_SGCI_DATA_PARITY_ERROR, "SGCI Data Parity Error"),
| ^~~~~~~~
drivers/gpu/drm/xe/xe_hw_error.c:61:3: note: (near initialization for 'dev_err_stat_nonfatal_reg')
61 | [__ffs(_bit)] = { .name = _name, .counter = ATOMIC64_INIT(0) }
| ^~~~~
drivers/gpu/drm/xe/xe_hw_error.c:71:2: note: in expansion of macro 'ERR_INFO'
71 | ERR_INFO(XE_SGCI_DATA_PARITY_ERROR, "SGCI Data Parity Error"),
| ^~~~~~~~
drivers/gpu/drm/xe/xe_hw_error.c:61:3: error: nonconstant array index in initializer
61 | [__ffs(_bit)] = { .name = _name, .counter = ATOMIC64_INIT(0) }
vim +6 include/linux/find.h
47d8c15615c0a2 Yury Norov 2021-08-14 4
47d8c15615c0a2 Yury Norov 2021-08-14 5 #ifndef __LINUX_BITMAP_H
47d8c15615c0a2 Yury Norov 2021-08-14 @6 #error only <linux/bitmap.h> can be included directly
47d8c15615c0a2 Yury Norov 2021-08-14 7 #endif
47d8c15615c0a2 Yury Norov 2021-08-14 8
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-09-30 2:08 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-29 21:44 [PATCH 0/2] Introduce DRM_RAS using generic netlink for RAS Rodrigo Vivi
2025-09-29 21:44 ` [PATCH 1/2] drm/ras: Introduce the DRM RAS infrastructure over generic netlink Rodrigo Vivi
2025-10-31 1:32 ` Jakub Kicinski
2025-11-06 13:30 ` Rodrigo Vivi
2025-11-06 14:58 ` Jakub Kicinski
2025-09-29 21:44 ` [PATCH 2/2] drm/xe: Introduce the usage of drm_ras with supported HW errors Rodrigo Vivi
2025-09-30 2:07 ` kernel test robot [this message]
2025-09-29 21:49 ` ✗ CI.checkpatch: warning for Introduce DRM_RAS using generic netlink for RAS Patchwork
2025-09-29 21:50 ` ✗ CI.KUnit: failure " Patchwork
2025-10-02 20:38 ` [PATCH 0/2] " Zack McKevitt
2025-10-28 19:14 ` Rodrigo Vivi
2025-11-06 13:42 ` Rodrigo Vivi
2025-11-07 20:20 ` Zack McKevitt
2025-11-08 3:01 ` Rodrigo Vivi
2025-12-09 21:40 ` Rodrigo Vivi
2025-10-28 19:13 ` DRM_RAS for CPER Error logging?! Rodrigo Vivi
2025-10-29 2:00 ` Zhang, Hawking
2025-11-06 13:16 ` Rodrigo Vivi
2025-11-10 3:34 ` Dave Airlie
2025-11-10 5:13 ` John Hubbard
2025-11-10 20:35 ` Rodrigo Vivi
2025-11-17 14:39 ` Jason Gunthorpe
2025-10-30 14:47 ` Rodrigo Vivi
2025-10-30 15:37 ` DRM_RAS (netlink genl family) " Rodrigo Vivi
2025-10-31 5:38 ` DRM_RAS " Lukas Wunner
2025-11-06 13:08 ` Rodrigo Vivi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202509300919.eiP7GKSP-lkp@intel.com \
--to=lkp@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=riana.tauro@intel.com \
--cc=rodrigo.vivi@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.