* [tip:irq/core 6/17] ERROR: modpost: "irq_gc_mask_disable_and_ack_set" [drivers/irqchip/irq-brcmstb-l2.ko] undefined!
@ 2025-01-15 21:50 kernel test robot
2025-01-15 21:53 ` Dr. David Alan Gilbert
0 siblings, 1 reply; 5+ messages in thread
From: kernel test robot @ 2025-01-15 21:50 UTC (permalink / raw)
To: Dr. David Alan Gilbert
Cc: oe-kbuild-all, linux-kernel, x86, Thomas Gleixner,
Florian Fainelli
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core
head: 12cbdcb9f05559ff72eb8a04df829852804c0276
commit: dd1f17a9faf5359d76644236cde4cc1720f1184d [6/17] irqchip/irq-brcmstb-l2: Replace brcmstb_l2_mask_and_ack() by generic function
config: arm64-randconfig-002-20250115 (https://download.01.org/0day-ci/archive/20250116/202501160501.6r9pNtBg-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250116/202501160501.6r9pNtBg-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/202501160501.6r9pNtBg-lkp@intel.com/
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "irq_gc_mask_disable_and_ack_set" [drivers/irqchip/irq-brcmstb-l2.ko] undefined!
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [tip:irq/core 6/17] ERROR: modpost: "irq_gc_mask_disable_and_ack_set" [drivers/irqchip/irq-brcmstb-l2.ko] undefined!
2025-01-15 21:50 [tip:irq/core 6/17] ERROR: modpost: "irq_gc_mask_disable_and_ack_set" [drivers/irqchip/irq-brcmstb-l2.ko] undefined! kernel test robot
@ 2025-01-15 21:53 ` Dr. David Alan Gilbert
2025-01-15 21:57 ` Florian Fainelli
0 siblings, 1 reply; 5+ messages in thread
From: Dr. David Alan Gilbert @ 2025-01-15 21:53 UTC (permalink / raw)
To: kernel test robot
Cc: oe-kbuild-all, linux-kernel, x86, Thomas Gleixner,
Florian Fainelli
* kernel test robot (lkp@intel.com) wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core
> head: 12cbdcb9f05559ff72eb8a04df829852804c0276
> commit: dd1f17a9faf5359d76644236cde4cc1720f1184d [6/17] irqchip/irq-brcmstb-l2: Replace brcmstb_l2_mask_and_ack() by generic function
> config: arm64-randconfig-002-20250115 (https://download.01.org/0day-ci/archive/20250116/202501160501.6r9pNtBg-lkp@intel.com/config)
> compiler: aarch64-linux-gcc (GCC) 14.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250116/202501160501.6r9pNtBg-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/202501160501.6r9pNtBg-lkp@intel.com/
>
> All errors (new ones prefixed by >>, old ones prefixed by <<):
>
> >> ERROR: modpost: "irq_gc_mask_disable_and_ack_set" [drivers/irqchip/irq-brcmstb-l2.ko] undefined!
Hmm, that's not happy is it - I'll have a look.
Dave
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [tip:irq/core 6/17] ERROR: modpost: "irq_gc_mask_disable_and_ack_set" [drivers/irqchip/irq-brcmstb-l2.ko] undefined!
2025-01-15 21:53 ` Dr. David Alan Gilbert
@ 2025-01-15 21:57 ` Florian Fainelli
2025-01-15 22:55 ` Dr. David Alan Gilbert
0 siblings, 1 reply; 5+ messages in thread
From: Florian Fainelli @ 2025-01-15 21:57 UTC (permalink / raw)
To: Dr. David Alan Gilbert, kernel test robot
Cc: oe-kbuild-all, linux-kernel, x86, Thomas Gleixner
On 1/15/25 13:53, Dr. David Alan Gilbert wrote:
> * kernel test robot (lkp@intel.com) wrote:
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core
>> head: 12cbdcb9f05559ff72eb8a04df829852804c0276
>> commit: dd1f17a9faf5359d76644236cde4cc1720f1184d [6/17] irqchip/irq-brcmstb-l2: Replace brcmstb_l2_mask_and_ack() by generic function
>> config: arm64-randconfig-002-20250115 (https://download.01.org/0day-ci/archive/20250116/202501160501.6r9pNtBg-lkp@intel.com/config)
>> compiler: aarch64-linux-gcc (GCC) 14.2.0
>> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250116/202501160501.6r9pNtBg-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/202501160501.6r9pNtBg-lkp@intel.com/
>>
>> All errors (new ones prefixed by >>, old ones prefixed by <<):
>>
>>>> ERROR: modpost: "irq_gc_mask_disable_and_ack_set" [drivers/irqchip/irq-brcmstb-l2.ko] undefined!
>
> Hmm, that's not happy is it - I'll have a look.
We should be amending your original patch with the following:
diff --git a/kernel/irq/generic-chip.c b/kernel/irq/generic-chip.c
index 32ffcbb87fa1..c4a8bca5f2b0 100644
--- a/kernel/irq/generic-chip.c
+++ b/kernel/irq/generic-chip.c
@@ -162,6 +162,7 @@ void irq_gc_mask_disable_and_ack_set(struct irq_data *d)
irq_reg_writel(gc, mask, ct->regs.ack);
irq_gc_unlock(gc);
}
+EXPORT_SYMBOL_GPL(irq_gc_mask_disable_and_ack_set);
/**
* irq_gc_eoi - EOI interrupt
This was not going to be a problem back when Doug's commit was accepted,
but later on, irq-brcmsbtb-l2 was allowed to become modular with
51d9db5c8fbbed160081d4cb5c193abdf67ded05 ("irqchip/irq-brcmstb-l2:
Switch to IRQCHIP_PLATFORM_DRIVER").
This totally escaped me when I acked your patch making use of the
generic irq_gc_mask_disable_and_ack_set implementation.
--
Florian
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [tip:irq/core 6/17] ERROR: modpost: "irq_gc_mask_disable_and_ack_set" [drivers/irqchip/irq-brcmstb-l2.ko] undefined!
2025-01-15 21:57 ` Florian Fainelli
@ 2025-01-15 22:55 ` Dr. David Alan Gilbert
2025-01-16 1:01 ` Dr. David Alan Gilbert
0 siblings, 1 reply; 5+ messages in thread
From: Dr. David Alan Gilbert @ 2025-01-15 22:55 UTC (permalink / raw)
To: Florian Fainelli
Cc: kernel test robot, oe-kbuild-all, linux-kernel, x86,
Thomas Gleixner
* Florian Fainelli (florian.fainelli@broadcom.com) wrote:
> On 1/15/25 13:53, Dr. David Alan Gilbert wrote:
> > * kernel test robot (lkp@intel.com) wrote:
> > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core
> > > head: 12cbdcb9f05559ff72eb8a04df829852804c0276
> > > commit: dd1f17a9faf5359d76644236cde4cc1720f1184d [6/17] irqchip/irq-brcmstb-l2: Replace brcmstb_l2_mask_and_ack() by generic function
> > > config: arm64-randconfig-002-20250115 (https://download.01.org/0day-ci/archive/20250116/202501160501.6r9pNtBg-lkp@intel.com/config)
> > > compiler: aarch64-linux-gcc (GCC) 14.2.0
> > > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250116/202501160501.6r9pNtBg-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/202501160501.6r9pNtBg-lkp@intel.com/
> > >
> > > All errors (new ones prefixed by >>, old ones prefixed by <<):
> > >
> > > > > ERROR: modpost: "irq_gc_mask_disable_and_ack_set" [drivers/irqchip/irq-brcmstb-l2.ko] undefined!
> >
> > Hmm, that's not happy is it - I'll have a look.
>
> We should be amending your original patch with the following:
>
> diff --git a/kernel/irq/generic-chip.c b/kernel/irq/generic-chip.c
> index 32ffcbb87fa1..c4a8bca5f2b0 100644
> --- a/kernel/irq/generic-chip.c
> +++ b/kernel/irq/generic-chip.c
> @@ -162,6 +162,7 @@ void irq_gc_mask_disable_and_ack_set(struct irq_data *d)
> irq_reg_writel(gc, mask, ct->regs.ack);
> irq_gc_unlock(gc);
> }
> +EXPORT_SYMBOL_GPL(irq_gc_mask_disable_and_ack_set);
>
> /**
> * irq_gc_eoi - EOI interrupt
>
>
> This was not going to be a problem back when Doug's commit was accepted, but
> later on, irq-brcmsbtb-l2 was allowed to become modular with
> 51d9db5c8fbbed160081d4cb5c193abdf67ded05 ("irqchip/irq-brcmstb-l2: Switch to
> IRQCHIP_PLATFORM_DRIVER").
>
> This totally escaped me when I acked your patch making use of the generic
> irq_gc_mask_disable_and_ack_set implementation.
Thanks for spotting that; I'll give it a build test and post a v2 in
a little while.
Dave
> --
> Florian
>
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [tip:irq/core 6/17] ERROR: modpost: "irq_gc_mask_disable_and_ack_set" [drivers/irqchip/irq-brcmstb-l2.ko] undefined!
2025-01-15 22:55 ` Dr. David Alan Gilbert
@ 2025-01-16 1:01 ` Dr. David Alan Gilbert
0 siblings, 0 replies; 5+ messages in thread
From: Dr. David Alan Gilbert @ 2025-01-16 1:01 UTC (permalink / raw)
To: Florian Fainelli
Cc: kernel test robot, oe-kbuild-all, linux-kernel, x86,
Thomas Gleixner
* Dr. David Alan Gilbert (linux@treblig.org) wrote:
> * Florian Fainelli (florian.fainelli@broadcom.com) wrote:
> > On 1/15/25 13:53, Dr. David Alan Gilbert wrote:
> > > * kernel test robot (lkp@intel.com) wrote:
> > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core
> > > > head: 12cbdcb9f05559ff72eb8a04df829852804c0276
> > > > commit: dd1f17a9faf5359d76644236cde4cc1720f1184d [6/17] irqchip/irq-brcmstb-l2: Replace brcmstb_l2_mask_and_ack() by generic function
> > > > config: arm64-randconfig-002-20250115 (https://download.01.org/0day-ci/archive/20250116/202501160501.6r9pNtBg-lkp@intel.com/config)
> > > > compiler: aarch64-linux-gcc (GCC) 14.2.0
> > > > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250116/202501160501.6r9pNtBg-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/202501160501.6r9pNtBg-lkp@intel.com/
> > > >
> > > > All errors (new ones prefixed by >>, old ones prefixed by <<):
> > > >
> > > > > > ERROR: modpost: "irq_gc_mask_disable_and_ack_set" [drivers/irqchip/irq-brcmstb-l2.ko] undefined!
> > >
> > > Hmm, that's not happy is it - I'll have a look.
> >
> > We should be amending your original patch with the following:
> >
> > diff --git a/kernel/irq/generic-chip.c b/kernel/irq/generic-chip.c
> > index 32ffcbb87fa1..c4a8bca5f2b0 100644
> > --- a/kernel/irq/generic-chip.c
> > +++ b/kernel/irq/generic-chip.c
> > @@ -162,6 +162,7 @@ void irq_gc_mask_disable_and_ack_set(struct irq_data *d)
> > irq_reg_writel(gc, mask, ct->regs.ack);
> > irq_gc_unlock(gc);
> > }
> > +EXPORT_SYMBOL_GPL(irq_gc_mask_disable_and_ack_set);
> >
> > /**
> > * irq_gc_eoi - EOI interrupt
> >
> >
> > This was not going to be a problem back when Doug's commit was accepted, but
> > later on, irq-brcmsbtb-l2 was allowed to become modular with
> > 51d9db5c8fbbed160081d4cb5c193abdf67ded05 ("irqchip/irq-brcmstb-l2: Switch to
> > IRQCHIP_PLATFORM_DRIVER").
> >
> > This totally escaped me when I acked your patch making use of the generic
> > irq_gc_mask_disable_and_ack_set implementation.
>
> Thanks for spotting that; I'll give it a build test and post a v2 in
> a little while.
V2 sent:
Subject: [PATCH v2] irqchip/irq-brcmstb-l2: Replace brcmstb_l2_mask_and_ack() by generic function
Date: Thu, 16 Jan 2025 00:59:20 +0000
Message-ID: <20250116005920.626822-1-linux@treblig.org>
> Dave
>
> > --
> > Florian
> >
> --
> -----Open up your eyes, open up your mind, open up your code -------
> / Dr. David Alan Gilbert | Running GNU/Linux | Happy \
> \ dave @ treblig.org | | In Hex /
> \ _________________________|_____ http://www.treblig.org |_______/
>
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-01-16 1:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-15 21:50 [tip:irq/core 6/17] ERROR: modpost: "irq_gc_mask_disable_and_ack_set" [drivers/irqchip/irq-brcmstb-l2.ko] undefined! kernel test robot
2025-01-15 21:53 ` Dr. David Alan Gilbert
2025-01-15 21:57 ` Florian Fainelli
2025-01-15 22:55 ` Dr. David Alan Gilbert
2025-01-16 1:01 ` Dr. David Alan Gilbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox