public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: rrichter@cavium.com (Robert Richter)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 06/10] irqchip/gic-v3-its: Initialize its nodes in probe order
Date: Wed, 28 Nov 2018 14:43:22 +0000	[thread overview]
Message-ID: <20181128144240.28727-7-rrichter@cavium.com> (raw)
In-Reply-To: <20181128144240.28727-1-rrichter@cavium.com>

ATM the last discovered node is initialized first. Though this order
should work too, change the initialization of nodes to probe order as
one would expect it.

Signed-off-by: Robert Richter <rrichter@cavium.com>
---
 drivers/irqchip/irq-gic-v3-its.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c
index db20e992a40f..4033f71f5181 100644
--- a/drivers/irqchip/irq-gic-v3-its.c
+++ b/drivers/irqchip/irq-gic-v3-its.c
@@ -3602,7 +3602,7 @@ static int __init its_probe_one(struct resource *res,
 		goto out_free_tables;
 
 	raw_spin_lock(&its_lock);
-	list_add(&its->entry, &its_nodes);
+	list_add_tail(&its->entry, &its_nodes);
 	raw_spin_unlock(&its_lock);
 
 	return 0;
-- 
2.11.0

  parent reply	other threads:[~2018-11-28 14:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-28 14:43 [PATCH v2 00/10] irqdomain, gic-v3-its: Implement late irq domain initialization Robert Richter
2018-11-28 14:43 ` [PATCH v2 01/10] irqdomain: Add interface to request an irq domain Robert Richter
2018-12-13 14:22   ` Marc Zyngier
2018-11-28 14:43 ` [PATCH v2 02/10] irqchip/gic-v3-its-platform-msi: Remove domain init order dependencies Robert Richter
2018-11-28 14:43 ` [PATCH v2 03/10] irqchip/irq-gic-v3-its-pci-msi: " Robert Richter
2018-11-28 14:43 ` [PATCH v2 04/10] irqchip/irq-gic-v3-its-fsl-mc-msi: " Robert Richter
2018-11-28 14:43 ` [PATCH v2 05/10] fsl-mc/dprc-driver: " Robert Richter
2018-11-28 14:43 ` Robert Richter [this message]
2018-11-28 14:43 ` [PATCH v2 07/10] irqchip/gic-v3-its: Split probing from its node initialization Robert Richter
2018-11-28 14:43 ` [PATCH v2 08/10] irqchip/gic-v3-its: Decouple its initialization from gic Robert Richter
2018-11-28 14:43 ` [PATCH v2 09/10] irqchip/gic-v3-its: Initialize its nodes later Robert Richter
2018-11-28 14:43 ` [PATCH v2 10/10] irqchip/gic-v3-its: Initialize MSIs with subsys_initcalls Robert Richter
2018-12-05 12:50 ` [PATCH v2 00/10] irqdomain, gic-v3-its: Implement late irq domain initialization Richter, Robert
2018-12-05 13:27   ` Marc Zyngier
2019-02-27 16:24     ` Matthias Brugger
2019-02-27 16:56       ` 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:
  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=20181128144240.28727-7-rrichter@cavium.com \
    --to=rrichter@cavium.com \
    --cc=linux-arm-kernel@lists.infradead.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