The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Rosen Penev <rosenp@gmail.com>, linux-kernel@vger.kernel.org
Cc: 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 04:47:45 +0800	[thread overview]
Message-ID: <202605100403.PpIGk90i-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: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260510/202605100403.PpIGk90i-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260510/202605100403.PpIGk90i-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/202605100403.PpIGk90i-lkp@intel.com/

All error/warnings (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:201:21: error: variable 'mbigen_msi_template' has initializer but incomplete type
     201 | static const struct msi_domain_template mbigen_msi_template = {
         |                     ^~~~~~~~~~~~~~~~~~~
>> drivers/irqchip/irq-mbigen.c:202:10: error: 'const struct msi_domain_template' has no member named 'chip'
     202 |         .chip = {
         |          ^~~~
>> drivers/irqchip/irq-mbigen.c:202:17: error: extra brace group at end of initializer
     202 |         .chip = {
         |                 ^
   drivers/irqchip/irq-mbigen.c:202:17: note: (near initialization for 'mbigen_msi_template')
>> drivers/irqchip/irq-mbigen.c:202:17: warning: excess elements in struct initializer
   drivers/irqchip/irq-mbigen.c:202:17: note: (near initialization for 'mbigen_msi_template')
>> drivers/irqchip/irq-mbigen.c:211:10: error: 'const struct msi_domain_template' has no member named 'ops'
     211 |         .ops = {
         |          ^~~
   drivers/irqchip/irq-mbigen.c:211:16: error: extra brace group at end of initializer
     211 |         .ops = {
         |                ^
   drivers/irqchip/irq-mbigen.c:211:16: note: (near initialization for 'mbigen_msi_template')
>> drivers/irqchip/irq-mbigen.c:212:43: error: 'mbigen_domain_set_desc' undeclared here (not in a function)
     212 |                 .set_desc               = mbigen_domain_set_desc,
         |                                           ^~~~~~~~~~~~~~~~~~~~~~
   drivers/irqchip/irq-mbigen.c:211:16: warning: excess elements in struct initializer
     211 |         .ops = {
         |                ^
   drivers/irqchip/irq-mbigen.c:211:16: note: (near initialization for 'mbigen_msi_template')
>> drivers/irqchip/irq-mbigen.c:216:10: error: 'const struct msi_domain_template' has no member named 'info'
     216 |         .info = {
         |          ^~~~
   drivers/irqchip/irq-mbigen.c:216:17: error: extra brace group at end of initializer
     216 |         .info = {
         |                 ^
   drivers/irqchip/irq-mbigen.c:216:17: note: (near initialization for 'mbigen_msi_template')
>> drivers/irqchip/irq-mbigen.c:218:43: error: 'MSI_FLAG_USE_DEV_FWNODE' undeclared here (not in a function)
     218 |                 .flags                  = MSI_FLAG_USE_DEV_FWNODE,
         |                                           ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/irqchip/irq-mbigen.c:216:17: warning: excess elements in struct initializer
     216 |         .info = {
         |                 ^
   drivers/irqchip/irq-mbigen.c:216:17: note: (near initialization for 'mbigen_msi_template')
   In file included from include/asm-generic/bug.h:7,
                    from ./arch/nios2/include/generated/asm/bug.h:1,
                    from include/linux/bug.h:5,
                    from include/linux/slab.h:15,
                    from include/linux/resource_ext.h:11,
                    from include/linux/acpi.h:14,
                    from drivers/irqchip/irq-mbigen.c:8:
   drivers/irqchip/irq-mbigen.c: In function 'mbigen_create_device_domain':
>> drivers/irqchip/irq-mbigen.c:225:35: error: 'struct dev_msi_info' has no member named 'domain'
     225 |         if (WARN_ON_ONCE(!dev->msi.domain))
         |                                   ^
   include/linux/once_lite.h:28:41: note: in definition of macro 'DO_ONCE_LITE_IF'
      28 |                 bool __ret_do_once = !!(condition);                     \
         |                                         ^~~~~~~~~
   drivers/irqchip/irq-mbigen.c:225:13: note: in expansion of macro 'WARN_ON_ONCE'
     225 |         if (WARN_ON_ONCE(!dev->msi.domain))
         |             ^~~~~~~~~~~~
>> drivers/irqchip/irq-mbigen.c:228:16: error: implicit declaration of function 'msi_create_device_irq_domain'; did you mean 'mbigen_create_device_domain'? [-Werror=implicit-function-declaration]
     228 |         return msi_create_device_irq_domain(dev, MSI_DEFAULT_DOMAIN,
         |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                mbigen_create_device_domain
   drivers/irqchip/irq-mbigen.c: At top level:
>> drivers/irqchip/irq-mbigen.c:201:41: error: storage size of 'mbigen_msi_template' isn't known
     201 | static const struct msi_domain_template mbigen_msi_template = {
         |                                         ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/msi_alloc_info_t +195 drivers/irqchip/irq-mbigen.c

9650c60ebfec05f Ma Jun          2015-12-17  194  
fbfe7e13641efe8 Thomas Gleixner 2024-06-23 @195  static void mbigen_domain_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc)
fbfe7e13641efe8 Thomas Gleixner 2024-06-23  196  {
fbfe7e13641efe8 Thomas Gleixner 2024-06-23  197  	arg->desc = desc;
fbfe7e13641efe8 Thomas Gleixner 2024-06-23  198  	arg->hwirq = (u32)desc->data.icookie.value;
fbfe7e13641efe8 Thomas Gleixner 2024-06-23  199  }
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

  reply	other threads:[~2026-05-09 20:48 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 [this message]
2026-05-09 21:50 ` kernel test robot
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=202605100403.PpIGk90i-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --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