linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* question about DOMAIN_BUS_ANY
@ 2015-09-08 22:41 Stuart Yoder
  2015-09-09  8:07 ` Marc Zyngier
  0 siblings, 1 reply; 2+ messages in thread
From: Stuart Yoder @ 2015-09-08 22:41 UTC (permalink / raw)
  To: linux-arm-kernel

Marc,

Have a question about DOMAIN_BUS_ANY.  Based on your comment in 
include/linux/irqdomain.h:

  /*
   * Should several domains have the same device node, but serve
   * different purposes (for example one domain is for PCI/MSI, and the
   * other for wired IRQs), they can be distinguished using a
   * bus-specific token. Most domains are expected to only carry
   * DOMAIN_BUS_ANY.
   */

...if there are 2 domains that are based on the same GIC ITS node,
for example PCI and the new Freescale "fsl-mc" bus, we should
be extending irq_domain_bus_token with a new token, correct?

The reason "most" domains are expected to have BUS_ANY is because
most domains have 1 associated device node and there is no ambiguity,
right?

Currently the fsl-mc bus driver is in drivers/staging.  Is that
an issue with respect to extending the enum?  (not 100% sure
what the rules are regarding drivers in staging and other
dependencies like this enum which are outside of staging).

Another related question... we are implementing a fsl-mc
bus specific support in a irq-gic-v3-its-fsl-mc-msi.c file,
similar to what you did for PCI and platform buses.  Do you
want to see that file in drivers/staging for now, or should
we put it under drivers/irqchip?

Thanks,
Stuart

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

end of thread, other threads:[~2015-09-09  8:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-08 22:41 question about DOMAIN_BUS_ANY Stuart Yoder
2015-09-09  8:07 ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).