devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Matti Vaittinen <mazziesaccount@gmail.com>,
	Matti Vaittinen <mazziesaccount@gmail.com>,
	Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Cc: Lee Jones <lee@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Matti Vaittinen <mazziesaccount@gmail.com>,
	Wim Van Sebroeck <wim@linux-watchdog.org>,
	Guenter Roeck <linux@roeck-us.net>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-watchdog@vger.kernel.org,
	Herve Codina <herve.codina@bootlin.com>
Subject: Re: [PATCH v3 07/10] irqdomain: Allow giving name suffix for domain
Date: Thu, 06 Jun 2024 20:59:47 +0200	[thread overview]
Message-ID: <87plst28yk.ffs@tglx> (raw)
In-Reply-To: <bbd219c95f4fe88752aee5f21232480fe9b949fb.1717486682.git.mazziesaccount@gmail.com>

Matti!

On Tue, Jun 04 2024 at 10:55, Matti Vaittinen wrote:
>  struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, unsigned int size,
>  				    irq_hw_number_t hwirq_max, int direct_max,
>  				    const struct irq_domain_ops *ops,
> -				    void *host_data);
> +				    void *host_data, const char *name_suffix);
>  struct irq_domain *irq_domain_create_simple(struct fwnode_handle *fwnode,
>  					    unsigned int size,
>  					    unsigned int first_irq,
> @@ -350,7 +350,8 @@ static inline struct irq_domain *irq_domain_add_linear(struct device_node *of_no
>  					 const struct irq_domain_ops *ops,
>  					 void *host_data)
>  {
> -	return __irq_domain_add(of_node_to_fwnode(of_node), size, size, 0, ops, host_data);
> +	return __irq_domain_add(of_node_to_fwnode(of_node), size, size, 0, ops,
> +				host_data, NULL);

....

Looking at the resulting amount of churn to add that argument, I'm not
really enthused. There is some other unrelated change required in this
area:

  https://lore.kernel.org/all/8734pr5yq1.ffs@tglx

My suggestion to convert all of this mess into a template based
mechanism would nicely solve your problem too.

Can you please have a look and eventually team up with Herve (CC'ed) to
sort this out? I'm happy to help and give guidance.

Thanks,

        tglx

  reply	other threads:[~2024-06-06 18:59 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-04  7:53 [PATCH v3 00/10] Support ROHM BD96801 Scalable PMIC Matti Vaittinen
2024-06-04  7:53 ` [PATCH v3 01/10] dt-bindings: ROHM BD96801 PMIC regulators Matti Vaittinen
2024-06-04  7:54 ` [PATCH v3 02/10] dt-bindings: mfd: bd96801 PMIC core Matti Vaittinen
2024-06-04  7:54 ` [PATCH v3 03/10] mfd: support ROHM BD96801 " Matti Vaittinen
2024-06-13 16:15   ` Lee Jones
2024-06-14  6:39     ` Matti Vaittinen
2024-06-04  7:54 ` [PATCH v3 04/10] regulator: bd96801: ROHM BD96801 PMIC regulators Matti Vaittinen
2024-06-04  7:54 ` [PATCH v3 05/10] watchdog: ROHM BD96801 PMIC WDG driver Matti Vaittinen
2024-06-04  7:55 ` [PATCH v3 06/10] MAINTAINERS: Add ROHM BD96801 'scalable PMIC' entries Matti Vaittinen
2024-06-04  7:55 ` [PATCH v3 07/10] irqdomain: Allow giving name suffix for domain Matti Vaittinen
2024-06-06 18:59   ` Thomas Gleixner [this message]
2024-06-07  6:38     ` Matti Vaittinen
2024-06-07  8:13       ` Herve Codina
2024-06-07  8:49         ` Matti Vaittinen
2024-06-07  9:23           ` Herve Codina
2024-06-07  9:25             ` Matti Vaittinen
2024-06-04  7:56 ` [PATCH v3 08/10] regmap: Allow setting IRQ domain name suffix Matti Vaittinen
2024-06-04  7:56 ` [PATCH v3 09/10] mfd: bd96801: Add ERRB IRQ Matti Vaittinen
2024-06-13 16:32   ` Lee Jones
2024-06-14  6:56     ` Matti Vaittinen
2024-06-14  7:50       ` Lee Jones
2024-06-14  8:01         ` Matti Vaittinen
2024-06-14  9:33           ` Lee Jones
2024-06-04  7:56 ` [PATCH v3 10/10] regulator: " Matti Vaittinen

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=87plst28yk.ffs@tglx \
    --to=tglx@linutronix.de \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=herve.codina@bootlin.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=lee@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=matti.vaittinen@fi.rohmeurope.com \
    --cc=mazziesaccount@gmail.com \
    --cc=rafael@kernel.org \
    --cc=robh@kernel.org \
    --cc=wim@linux-watchdog.org \
    /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 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).