From: kernel test robot <lkp@intel.com>
To: Rosen Penev <rosenp@gmail.com>, linux-kernel@vger.kernel.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Thomas Gleixner <tglx@kernel.org>
Subject: Re: [PATCH] irqchip/mbigen: add COMPILE_TEST support
Date: Sun, 10 May 2026 05:50:03 +0800 [thread overview]
Message-ID: <202605100511.0RiOjmqk-lkp@intel.com> (raw)
In-Reply-To: <20260508021352.1635187-1-rosenp@gmail.com>
Hi Rosen,
kernel test robot noticed the following build errors:
[auto build test ERROR on tip/irq/core]
[also build test ERROR on linus/master v7.1-rc2 next-20260508]
[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/Rosen-Penev/irqchip-mbigen-add-COMPILE_TEST-support/20260509-194636
base: tip/irq/core
patch link: https://lore.kernel.org/r/20260508021352.1635187-1-rosenp%40gmail.com
patch subject: [PATCH] irqchip/mbigen: add COMPILE_TEST support
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260510/202605100511.0RiOjmqk-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260510/202605100511.0RiOjmqk-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/202605100511.0RiOjmqk-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/irqchip/irq-mbigen.c:195:36: error: unknown type name 'msi_alloc_info_t'
195 | static void mbigen_domain_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc)
| ^
>> drivers/irqchip/irq-mbigen.c:218:14: error: use of undeclared identifier 'MSI_FLAG_USE_DEV_FWNODE'
218 | .flags = MSI_FLAG_USE_DEV_FWNODE,
| ^
>> drivers/irqchip/irq-mbigen.c:201:41: error: variable has incomplete type 'const struct msi_domain_template'
201 | static const struct msi_domain_template mbigen_msi_template = {
| ^
drivers/irqchip/irq-mbigen.c:201:21: note: forward declaration of 'struct msi_domain_template'
201 | static const struct msi_domain_template mbigen_msi_template = {
| ^
>> drivers/irqchip/irq-mbigen.c:225:29: error: no member named 'domain' in 'struct dev_msi_info'
225 | if (WARN_ON_ONCE(!dev->msi.domain))
| ~~~~~~~~ ^
include/asm-generic/bug.h:180:18: note: expanded from macro 'WARN_ON_ONCE'
180 | DO_ONCE_LITE_IF(condition, WARN_ON, 1)
| ^~~~~~~~~
include/linux/once_lite.h:28:27: note: expanded from macro 'DO_ONCE_LITE_IF'
28 | bool __ret_do_once = !!(condition); \
| ^~~~~~~~~
>> drivers/irqchip/irq-mbigen.c:228:9: error: call to undeclared function 'msi_create_device_irq_domain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
228 | return msi_create_device_irq_domain(dev, MSI_DEFAULT_DOMAIN,
| ^
drivers/irqchip/irq-mbigen.c:228:9: note: did you mean 'mbigen_create_device_domain'?
drivers/irqchip/irq-mbigen.c:222:13: note: 'mbigen_create_device_domain' declared here
222 | static bool mbigen_create_device_domain(struct device *dev, unsigned int size,
| ^
223 | struct mbigen_device *mgn_chip)
224 | {
225 | if (WARN_ON_ONCE(!dev->msi.domain))
226 | return false;
227 |
228 | return msi_create_device_irq_domain(dev, MSI_DEFAULT_DOMAIN,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| mbigen_create_device_domain
5 errors generated.
vim +/MSI_FLAG_USE_DEV_FWNODE +218 drivers/irqchip/irq-mbigen.c
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 200
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 @201 static const struct msi_domain_template mbigen_msi_template = {
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 202 .chip = {
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 203 .name = "mbigen-v2",
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 204 .irq_mask = irq_chip_mask_parent,
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 205 .irq_unmask = irq_chip_unmask_parent,
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 206 .irq_eoi = mbigen_eoi_irq,
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 207 .irq_set_type = mbigen_set_type,
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 208 .irq_write_msi_msg = mbigen_write_msi_msg,
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 209 },
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 210
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 211 .ops = {
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 212 .set_desc = mbigen_domain_set_desc,
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 213 .msi_translate = mbigen_domain_translate,
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 214 },
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 215
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 216 .info = {
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 217 .bus_token = DOMAIN_BUS_WIRED_TO_MSI,
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 @218 .flags = MSI_FLAG_USE_DEV_FWNODE,
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 219 },
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 220 };
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 221
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 222 static bool mbigen_create_device_domain(struct device *dev, unsigned int size,
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 223 struct mbigen_device *mgn_chip)
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 224 {
752e021f5b9be0a Thomas Gleixner 2024-06-23 @225 if (WARN_ON_ONCE(!dev->msi.domain))
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 226 return false;
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 227
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 @228 return msi_create_device_irq_domain(dev, MSI_DEFAULT_DOMAIN,
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 229 &mbigen_msi_template, size,
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 230 NULL, mgn_chip->base);
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 231 }
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 232
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-05-09 21:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-08 2:13 [PATCH] irqchip/mbigen: add COMPILE_TEST support Rosen Penev
2026-05-09 20:47 ` kernel test robot
2026-05-09 21:50 ` kernel test robot [this message]
2026-05-09 21:59 ` Rosen Penev
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=202605100511.0RiOjmqk-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rosenp@gmail.com \
--cc=tglx@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox