All of lore.kernel.org
 help / color / mirror / Atom feed
* [char-misc:char-misc-testing 19/37] kismet: WARNING: unmet direct dependencies detected for PCI_DYNAMIC_OF_NODES when selected by TC9564_PCI
@ 2026-10-01 23:52 kernel test robot
  2026-10-02  1:16 ` Alex Elder
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2026-10-01 23:52 UTC (permalink / raw)
  To: Alex Elder
  Cc: Paul Gazzillo, Necip Fazil Yildiran, oe-kbuild-all,
	Greg Kroah-Hartman, Daniel Thompson

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-testing
head:   04434a1d0f311d76b1f15fa987918b471a0b8c6a
commit: 1304b0c47ef81cbd21e51ea0645a98104393ba49 [19/37] misc: tc9564: introduce base PCI driver
config: m68k-kismet-CONFIG_PCI_DYNAMIC_OF_NODES-CONFIG_TC9564_PCI-0-0 (https://download.01.org/0day-ci/archive/20261002/202610020124.ieOiopjQ-lkp@intel.com/config)
reproduce: (https://download.01.org/0day-ci/archive/20261002/202610020124.ieOiopjQ-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/202610020124.ieOiopjQ-lkp@intel.com/

kismet warnings: (new ones prefixed by >>)
>> kismet: WARNING: unmet direct dependencies detected for PCI_DYNAMIC_OF_NODES when selected by TC9564_PCI
   WARNING: unmet direct dependencies detected for PCI_DYNAMIC_OF_NODES
     Depends on [n]: PCI [=y] && OF_IRQ [=n]
     Selected by [y]:
     - TC9564_PCI [=y] && OF [=y] && PCI [=y]

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [char-misc:char-misc-testing 19/37] kismet: WARNING: unmet direct dependencies detected for PCI_DYNAMIC_OF_NODES when selected by TC9564_PCI
  2026-10-01 23:52 [char-misc:char-misc-testing 19/37] kismet: WARNING: unmet direct dependencies detected for PCI_DYNAMIC_OF_NODES when selected by TC9564_PCI kernel test robot
@ 2026-10-02  1:16 ` Alex Elder
  2026-10-02  5:36   ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Elder @ 2026-10-02  1:16 UTC (permalink / raw)
  To: kernel test robot
  Cc: Paul Gazzillo, Necip Fazil Yildiran, oe-kbuild-all,
	Greg Kroah-Hartman, Daniel Thompson

On 10/1/26 6:52 PM, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-testing
> head:   04434a1d0f311d76b1f15fa987918b471a0b8c6a
> commit: 1304b0c47ef81cbd21e51ea0645a98104393ba49 [19/37] misc: tc9564: introduce base PCI driver
> config: m68k-kismet-CONFIG_PCI_DYNAMIC_OF_NODES-CONFIG_TC9564_PCI-0-0 (https://download.01.org/0day-ci/archive/20261002/202610020124.ieOiopjQ-lkp@intel.com/config)
> reproduce: (https://download.01.org/0day-ci/archive/20261002/202610020124.ieOiopjQ-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/202610020124.ieOiopjQ-lkp@intel.com/
> 
> kismet warnings: (new ones prefixed by >>)
>>> kismet: WARNING: unmet direct dependencies detected for PCI_DYNAMIC_OF_NODES when selected by TC9564_PCI
>     WARNING: unmet direct dependencies detected for PCI_DYNAMIC_OF_NODES
>       Depends on [n]: PCI [=y] && OF_IRQ [=n]
>       Selected by [y]:
>       - TC9564_PCI [=y] && OF [=y] && PCI [=y]
> 
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki

I'm about to send a patch that fixes this.  Greg, if you'd prefer
I re-spin the series (or something else), please let me know.


I did originally have "depends on OF_IRQ" under TC9564_PCI.

However I hit this:

error: recursive dependency detected!
         symbol GENERIC_MSI_IRQ is selected by IRQ_MSI_LIB
         symbol IRQ_MSI_LIB is selected by PCI_XGENE_MSI
         symbol PCI_XGENE_MSI depends on PCI_XGENE
         symbol PCI_XGENE depends on PCI_QUIRKS
         symbol PCI_QUIRKS is selected by TC9564_PCI
         symbol TC9564_PCI depends on OF_IRQ
         symbol OF_IRQ depends on IRQ_DOMAIN
         symbol IRQ_DOMAIN is selected by IRQ_DOMAIN_HIERARCHY
         symbol IRQ_DOMAIN_HIERARCHY is selected by GENERIC_MSI_IRQ

So I removed that dependency and the problem went away.  I'm
sorry I neglected to spend more time troubleshooting that.

So far I have found two options to avoid the recursive dependency:
- Use "select OF_IRQ" rather than "depends on OF_IRQ"
- Use "depends on OF_IRQ" but then use "depends on PCI_QUIRKS"
   rather than "select PCI_QUIRKS"

I like the second one better.

					-Alex

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [char-misc:char-misc-testing 19/37] kismet: WARNING: unmet direct dependencies detected for PCI_DYNAMIC_OF_NODES when selected by TC9564_PCI
  2026-10-02  1:16 ` Alex Elder
@ 2026-10-02  5:36   ` Greg Kroah-Hartman
  0 siblings, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2026-10-02  5:36 UTC (permalink / raw)
  To: Alex Elder
  Cc: kernel test robot, Paul Gazzillo, Necip Fazil Yildiran,
	oe-kbuild-all, Daniel Thompson

On Thu, Oct 01, 2026 at 08:16:33PM -0500, Alex Elder wrote:
> On 10/1/26 6:52 PM, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-testing
> > head:   04434a1d0f311d76b1f15fa987918b471a0b8c6a
> > commit: 1304b0c47ef81cbd21e51ea0645a98104393ba49 [19/37] misc: tc9564: introduce base PCI driver
> > config: m68k-kismet-CONFIG_PCI_DYNAMIC_OF_NODES-CONFIG_TC9564_PCI-0-0 (https://download.01.org/0day-ci/archive/20261002/202610020124.ieOiopjQ-lkp@intel.com/config)
> > reproduce: (https://download.01.org/0day-ci/archive/20261002/202610020124.ieOiopjQ-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/202610020124.ieOiopjQ-lkp@intel.com/
> > 
> > kismet warnings: (new ones prefixed by >>)
> > > > kismet: WARNING: unmet direct dependencies detected for PCI_DYNAMIC_OF_NODES when selected by TC9564_PCI
> >     WARNING: unmet direct dependencies detected for PCI_DYNAMIC_OF_NODES
> >       Depends on [n]: PCI [=y] && OF_IRQ [=n]
> >       Selected by [y]:
> >       - TC9564_PCI [=y] && OF [=y] && PCI [=y]
> > 
> > --
> > 0-DAY CI Kernel Test Service
> > https://github.com/intel/lkp-tests/wiki
> 
> I'm about to send a patch that fixes this.  Greg, if you'd prefer
> I re-spin the series (or something else), please let me know.
> 
> 
> I did originally have "depends on OF_IRQ" under TC9564_PCI.
> 
> However I hit this:
> 
> error: recursive dependency detected!
>         symbol GENERIC_MSI_IRQ is selected by IRQ_MSI_LIB
>         symbol IRQ_MSI_LIB is selected by PCI_XGENE_MSI
>         symbol PCI_XGENE_MSI depends on PCI_XGENE
>         symbol PCI_XGENE depends on PCI_QUIRKS
>         symbol PCI_QUIRKS is selected by TC9564_PCI
>         symbol TC9564_PCI depends on OF_IRQ
>         symbol OF_IRQ depends on IRQ_DOMAIN
>         symbol IRQ_DOMAIN is selected by IRQ_DOMAIN_HIERARCHY
>         symbol IRQ_DOMAIN_HIERARCHY is selected by GENERIC_MSI_IRQ
> 
> So I removed that dependency and the problem went away.  I'm
> sorry I neglected to spend more time troubleshooting that.
> 
> So far I have found two options to avoid the recursive dependency:
> - Use "select OF_IRQ" rather than "depends on OF_IRQ"
> - Use "depends on OF_IRQ" but then use "depends on PCI_QUIRKS"
>   rather than "select PCI_QUIRKS"
> 
> I like the second one better.

Second one seems better to me too.  ANd a fixup patch is fine.

thanks

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-02  5:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-01 23:52 [char-misc:char-misc-testing 19/37] kismet: WARNING: unmet direct dependencies detected for PCI_DYNAMIC_OF_NODES when selected by TC9564_PCI kernel test robot
2026-10-02  1:16 ` Alex Elder
2026-10-02  5:36   ` Greg Kroah-Hartman

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.