All of
 help / color / mirror / Atom feed
From: "Marek Behún" <>
To: Marc Zyngier <>
	Thomas Gleixner <>,
Subject: irqdomain API: how to set affinity of parent irq of chained irqs?
Date: Mon, 2 May 2022 10:21:37 +0200	[thread overview]
Message-ID: <20220502102137.764606ee@thinkpad> (raw)

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.


             reply	other threads:[~2022-05-02  8:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-02  8:21 Marek Behún [this message]
2022-05-02  9:31 ` Marc Zyngier
2022-05-02 15:45   ` Marek Behún
2022-05-03  9:32     ` Marc Zyngier

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220502102137.764606ee@thinkpad \ \ \ \ \ \
    --subject='Re: irqdomain API: how to set affinity of parent irq of chained irqs?' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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.