All of lore.kernel.org
 help / color / mirror / Atom feed
* irqdomain API: how to set affinity of parent irq of chained irqs?
@ 2022-05-02  8:21 Marek Behún
  2022-05-02  9:31 ` Marc Zyngier
  0 siblings, 1 reply; 4+ messages in thread
From: Marek Behún @ 2022-05-02  8:21 UTC (permalink / raw)
  To: Marc Zyngier; +Cc: linux-kernel, Thomas Gleixner, pali

Dear Marc, Thomas,

we have encountered the following problem that can hopefully be put
some light onto: What is the intended way to set affinity (and possibly
other irq attributes) of parent IRQ of chained IRQs, when using the
irqdomain API?

We are working on a driver that
- registers an irqchip and adds an irqdomain
- calls irq_set_chained_handler_and_data(parent_irq, handler)
  where handler triggers handling of child IRQs
- but since parent_irq isn't requested for with request_thread_irq(),
  it does not show up in proc/sysfs, only in debugfs
- the HW does not support setting affinity for the chained IRQs, only 
  the parent (which comes from a GIC chip)

The problem is that he parent IRQ, as mentioned in the third point, does
not show up in proc/sysfs.

Is there some precedent for this?

Thank you.

Marek

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

end of thread, other threads:[~2022-05-03  9:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-02  8:21 irqdomain API: how to set affinity of parent irq of chained irqs? Marek Behún
2022-05-02  9:31 ` Marc Zyngier
2022-05-02 15:45   ` Marek Behún
2022-05-03  9:32     ` Marc Zyngier

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.