From: Marc Zyngier <marc.zyngier@arm.com>
To: Hanjun Guo <hanjun.guo@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>,
Jiang Liu <jiang.liu@linux.intel.com>,
Jason Cooper <jason@lakedaemon.net>
Cc: "linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Lorenzo Pieralisi <Lorenzo.Pieralisi@arm.com>,
Tomasz Nowicki <tomasz.nowicki@linaro.org>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
"suravee.suthikulpanit@amd.com" <suravee.suthikulpanit@amd.com>
Subject: Re: [PATCH 1/5] genirq: irqdomain: Use an accessor for the of_node field
Date: Wed, 22 Jul 2015 08:52:26 +0100 [thread overview]
Message-ID: <55AF4BBA.5030209@arm.com> (raw)
In-Reply-To: <55AF47D7.8010304@linaro.org>
On 22/07/15 08:35, Hanjun Guo wrote:
> On 07/21/2015 06:07 PM, Marc Zyngier wrote:
>> The struct irq_domain contains a "struct device_node *" field
>> (of_node) that is almost the only link between the irqdomain
>> and the device tree infrastructure.
>>
>> In order to prepare for the removal of that field, convert all
>> users outside of kernel/irq/irqdomain.c to use an accessor.
>>
>> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
>> ---
>> arch/mips/cavium-octeon/octeon-irq.c | 4 ++--
>> arch/powerpc/platforms/cell/axon_msi.c | 2 +-
>> arch/powerpc/platforms/cell/spider-pic.c | 9 ++++++---
>> arch/powerpc/platforms/powernv/opal-irqchip.c | 2 +-
>> arch/powerpc/sysdev/ehv_pic.c | 3 ++-
>> arch/powerpc/sysdev/fsl_msi.c | 2 +-
>> arch/powerpc/sysdev/i8259.c | 3 ++-
>> arch/powerpc/sysdev/ipic.c | 3 ++-
>> arch/powerpc/sysdev/mpic.c | 3 ++-
>> arch/powerpc/sysdev/mpic_msi.c | 2 +-
>> arch/powerpc/sysdev/qe_lib/qe_ic.c | 3 ++-
>> drivers/gpio/gpio-sodaville.c | 2 +-
>> drivers/irqchip/exynos-combiner.c | 2 +-
>> drivers/irqchip/irq-atmel-aic-common.c | 2 +-
>> drivers/irqchip/irq-crossbar.c | 4 ++--
>> drivers/irqchip/irq-gic-v2m.c | 2 +-
>> drivers/irqchip/irq-gic-v3-its.c | 2 +-
>> drivers/irqchip/irq-gic-v3.c | 2 +-
>> drivers/irqchip/irq-gic.c | 2 +-
>> drivers/irqchip/irq-hip04.c | 2 +-
>> drivers/irqchip/irq-mtk-sysirq.c | 2 +-
>> drivers/irqchip/irq-s3c24xx.c | 4 ++--
>> drivers/irqchip/irq-tegra.c | 4 ++--
>> drivers/irqchip/irq-vf610-mscm-ir.c | 5 +++--
>> drivers/spmi/spmi-pmic-arb.c | 2 +-
>> include/linux/irqdomain.h | 5 +++++
>> 26 files changed, 46 insertions(+), 32 deletions(-)
>
> It seems to me that some other files missed,
> in arch/powerpc/platforms/pasemi/msi.c:
>
> if (!mpic->irqhost->of_node ||
> !of_device_is_compatible(mpic->irqhost->of_node,
> "pasemi,pwrficient-openpic"))
> return -ENODEV;
>
> If you need more eyes to find all of them, please count me in :)
Looks like my coccinelle foo is still lacking a bit... Oh well.
Thanks for the help!
M.
--
Jazz is not dead. It just smells funny...
WARNING: multiple messages have this Message-ID (diff)
From: marc.zyngier@arm.com (Marc Zyngier)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/5] genirq: irqdomain: Use an accessor for the of_node field
Date: Wed, 22 Jul 2015 08:52:26 +0100 [thread overview]
Message-ID: <55AF4BBA.5030209@arm.com> (raw)
In-Reply-To: <55AF47D7.8010304@linaro.org>
On 22/07/15 08:35, Hanjun Guo wrote:
> On 07/21/2015 06:07 PM, Marc Zyngier wrote:
>> The struct irq_domain contains a "struct device_node *" field
>> (of_node) that is almost the only link between the irqdomain
>> and the device tree infrastructure.
>>
>> In order to prepare for the removal of that field, convert all
>> users outside of kernel/irq/irqdomain.c to use an accessor.
>>
>> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
>> ---
>> arch/mips/cavium-octeon/octeon-irq.c | 4 ++--
>> arch/powerpc/platforms/cell/axon_msi.c | 2 +-
>> arch/powerpc/platforms/cell/spider-pic.c | 9 ++++++---
>> arch/powerpc/platforms/powernv/opal-irqchip.c | 2 +-
>> arch/powerpc/sysdev/ehv_pic.c | 3 ++-
>> arch/powerpc/sysdev/fsl_msi.c | 2 +-
>> arch/powerpc/sysdev/i8259.c | 3 ++-
>> arch/powerpc/sysdev/ipic.c | 3 ++-
>> arch/powerpc/sysdev/mpic.c | 3 ++-
>> arch/powerpc/sysdev/mpic_msi.c | 2 +-
>> arch/powerpc/sysdev/qe_lib/qe_ic.c | 3 ++-
>> drivers/gpio/gpio-sodaville.c | 2 +-
>> drivers/irqchip/exynos-combiner.c | 2 +-
>> drivers/irqchip/irq-atmel-aic-common.c | 2 +-
>> drivers/irqchip/irq-crossbar.c | 4 ++--
>> drivers/irqchip/irq-gic-v2m.c | 2 +-
>> drivers/irqchip/irq-gic-v3-its.c | 2 +-
>> drivers/irqchip/irq-gic-v3.c | 2 +-
>> drivers/irqchip/irq-gic.c | 2 +-
>> drivers/irqchip/irq-hip04.c | 2 +-
>> drivers/irqchip/irq-mtk-sysirq.c | 2 +-
>> drivers/irqchip/irq-s3c24xx.c | 4 ++--
>> drivers/irqchip/irq-tegra.c | 4 ++--
>> drivers/irqchip/irq-vf610-mscm-ir.c | 5 +++--
>> drivers/spmi/spmi-pmic-arb.c | 2 +-
>> include/linux/irqdomain.h | 5 +++++
>> 26 files changed, 46 insertions(+), 32 deletions(-)
>
> It seems to me that some other files missed,
> in arch/powerpc/platforms/pasemi/msi.c:
>
> if (!mpic->irqhost->of_node ||
> !of_device_is_compatible(mpic->irqhost->of_node,
> "pasemi,pwrficient-openpic"))
> return -ENODEV;
>
> If you need more eyes to find all of them, please count me in :)
Looks like my coccinelle foo is still lacking a bit... Oh well.
Thanks for the help!
M.
--
Jazz is not dead. It just smells funny...
next prev parent reply other threads:[~2015-07-22 7:52 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-21 10:07 [PATCH 0/5] Making the generic ACPI GSI layer irqdomain aware Marc Zyngier
2015-07-21 10:07 ` Marc Zyngier
2015-07-21 10:07 ` Marc Zyngier
2015-07-21 10:07 ` [PATCH 1/5] genirq: irqdomain: Use an accessor for the of_node field Marc Zyngier
2015-07-21 10:07 ` Marc Zyngier
2015-07-21 10:07 ` Marc Zyngier
2015-07-22 7:35 ` Hanjun Guo
2015-07-22 7:35 ` Hanjun Guo
2015-07-22 7:52 ` Marc Zyngier [this message]
2015-07-22 7:52 ` Marc Zyngier
2015-07-22 7:58 ` Thomas Gleixner
2015-07-22 7:58 ` Thomas Gleixner
2015-07-22 12:43 ` Marc Zyngier
2015-07-22 12:43 ` Marc Zyngier
2015-07-22 7:57 ` Thomas Gleixner
2015-07-22 7:57 ` Thomas Gleixner
2015-07-21 10:07 ` [PATCH 2/5] genirq: irqdomain: Remove irqdomain dependency on struct device_node Marc Zyngier
2015-07-21 10:07 ` Marc Zyngier
2015-07-21 10:07 ` Marc Zyngier
2015-07-21 17:56 ` Lorenzo Pieralisi
2015-07-21 17:56 ` Lorenzo Pieralisi
2015-07-22 8:13 ` Hanjun Guo
2015-07-22 8:13 ` Hanjun Guo
2015-07-23 8:59 ` Suravee Suthikulpanit
2015-07-23 8:59 ` Suravee Suthikulpanit
2015-07-23 8:59 ` Suravee Suthikulpanit
2015-07-21 10:07 ` [PATCH 3/5] genirq: irqdomain: Add irq_create_acpi_mappings Marc Zyngier
2015-07-21 10:07 ` Marc Zyngier
2015-07-21 10:07 ` Marc Zyngier
2015-07-21 10:07 ` [PATCH 4/5] acpi: gsi: Use acpi_gsi_descriptor to allocate interrupts Marc Zyngier
2015-07-21 10:07 ` Marc Zyngier
2015-07-21 10:07 ` Marc Zyngier
2015-07-21 18:16 ` Lorenzo Pieralisi
2015-07-21 18:16 ` Lorenzo Pieralisi
2015-07-22 7:46 ` Marc Zyngier
2015-07-22 7:46 ` Marc Zyngier
2015-07-21 10:08 ` [PATCH 5/5] irqchip: GIC: Switch ACPI support to stacked domains Marc Zyngier
2015-07-21 10:08 ` Marc Zyngier
2015-07-21 10:08 ` Marc Zyngier
2015-07-21 12:34 ` Graeme Gregory
2015-07-21 12:34 ` Graeme Gregory
2015-07-21 13:03 ` Marc Zyngier
2015-07-21 13:03 ` Marc Zyngier
2015-07-21 18:05 ` Lorenzo Pieralisi
2015-07-21 18:05 ` Lorenzo Pieralisi
2015-07-21 18:12 ` Marc Zyngier
2015-07-21 18:12 ` Marc Zyngier
2015-07-22 8:35 ` Hanjun Guo
2015-07-22 8:35 ` Hanjun Guo
2015-07-22 8:35 ` Hanjun Guo
2015-07-22 8:45 ` Hanjun Guo
2015-07-22 8:45 ` Hanjun Guo
2015-07-22 8:45 ` Hanjun Guo
2015-07-22 8:53 ` Marc Zyngier
2015-07-22 8:53 ` Marc Zyngier
2015-07-22 8:53 ` Marc Zyngier
2015-07-22 9:33 ` Hanjun Guo
2015-07-22 9:33 ` Hanjun Guo
2015-07-22 9:33 ` Hanjun Guo
2015-07-21 12:35 ` [PATCH 0/5] Making the generic ACPI GSI layer irqdomain aware Graeme Gregory
2015-07-21 12:35 ` Graeme Gregory
2015-07-22 6:45 ` Hanjun Guo
2015-07-22 6:45 ` Hanjun Guo
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=55AF4BBA.5030209@arm.com \
--to=marc.zyngier@arm.com \
--cc=Lorenzo.Pieralisi@arm.com \
--cc=hanjun.guo@linaro.org \
--cc=jason@lakedaemon.net \
--cc=jiang.liu@linux.intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=suravee.suthikulpanit@amd.com \
--cc=tglx@linutronix.de \
--cc=tomasz.nowicki@linaro.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 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.