All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
To: Marc Zyngier <maz@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Magnus Damm <magnus.damm@gmail.com>,
	linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH/RFC] drivers/irqchip: add irq-inverter
Date: Wed, 29 Dec 2021 22:52:18 +0300	[thread overview]
Message-ID: <37db485e-b832-9ff1-4d21-606eeeba871c@cogentembedded.com> (raw)
In-Reply-To: <87fsqbznc2.wl-maz@kernel.org>

Hi

>>> The right way to do it is to use the existing API by exposing the
>>> inverter (there are existing examples in the tree, using the
>>> hierarchical model)...
 >
> A much simpler version can be written in a few minutes, see below...

Can something like that be used if the parent domain is not hierarchical (i.e. does not provide alloc(), 
but provides map() instead)?

In particular, gpio-rcar currently provides irq domain that is not hierarchical.
As well as quite a few other gpiochips.

Nikita

  reply	other threads:[~2021-12-29 19:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-28 16:56 [PATCH/RFC] drivers/irqchip: add irq-inverter Nikita Yushchenko
2021-12-28 18:18 ` Marc Zyngier
2021-12-28 19:03   ` Nikita Yushchenko
2021-12-29 11:01     ` Marc Zyngier
2021-12-29 19:52       ` Nikita Yushchenko [this message]
2021-12-30 10:34         ` Marc Zyngier
2021-12-30 10:53           ` Nikita Yushchenko
2021-12-30 11:25             ` Marc Zyngier
2021-12-28 19:04 ` Geert Uytterhoeven
2021-12-28 20:00   ` Nikita Yushchenko

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=37db485e-b832-9ff1-4d21-606eeeba871c@cogentembedded.com \
    --to=nikita.yoush@cogentembedded.com \
    --cc=geert+renesas@glider.be \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=maz@kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.