Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp123161imu; Wed, 7 Nov 2018 14:05:37 -0800 (PST) X-Google-Smtp-Source: AJdET5f3WiyxGaTsCoI9mOTsIv18wPe4OzVKwRQaMhB1jK7gs2tl5oXVhJ+814bjLbkxuincwkZ4 X-Received: by 2002:a62:670f:: with SMTP id b15-v6mr2011972pfc.243.1541628337579; Wed, 07 Nov 2018 14:05:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541628337; cv=none; d=google.com; s=arc-20160816; b=EZYOT8t/l5OSbHEvHMijCHfC5n3Y6DME83TIGZWoHAT9zRacY7+W66XAt+g1f9QZ+C Sv+sSB9pKl7Y0siYsB/LqUPN/okCVDM7TcGIdQWuOhptxwKnE/Knf3Dl7WZ6/L0nNtJJ yuQFugiAGxVNWQIwl9Qq489m9OzWCo1X9gwjmhC9+TgkDc7zB4D8wB+ENGXlAqHgKxGX 54CBu4H8Pq0FQtnXGapm6F1KtwOnq+ORWdpeNw1eNfWMd4Q+/ftxlKOvEvWSvFt+wLbs aJFhuyXCVCXyiWw4b99YlowiaZtomzIAHs/HIvmBWyuTup2gqebKBeJxop2ATBAX5JdC +nUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=SDuDUaJXIBkDhEMjnXeu92GzrTHmkYt7IHsgl3ZQBzk=; b=IVDg9S5iUxkUzNXE2aOp6sjIOclOtTgaofkhNJsp2OaSr8UCsJw2sd/+JT6w/7ZWWr nsCR9jevjKWM4qcIBsPZSwoLKStPAUe0o164yfxooP6PNW1r24ottedyQeNuSCfcJ6xv ZiDNRv6N02ulcVBvCJPqWE1QXUo6b6u6R0cGKCsSPOlg7vU6fwPZDGBHE/FTwV2N0rj4 kzy7RDplLDpObhYVJuCJc7zHS2K9ImsMCVpjwjFO7UWvCo/2uUosSz7FEbOG50+Gvamr MGITtj2c3kqhGf+Bvv08nJgd0Xw6Z0EILa0HKj3TKBv1u6ZG6ldxY5A5uR8vG6SKjTOi GU3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=R+hfw3+y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4-v6si2073166pfb.188.2018.11.07.14.05.20; Wed, 07 Nov 2018 14:05:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=R+hfw3+y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728263AbeKHHgf (ORCPT + 99 others); Thu, 8 Nov 2018 02:36:35 -0500 Received: from mail-eopbgr730056.outbound.protection.outlook.com ([40.107.73.56]:17664 "EHLO NAM05-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728056AbeKHHg3 (ORCPT ); Thu, 8 Nov 2018 02:36:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SDuDUaJXIBkDhEMjnXeu92GzrTHmkYt7IHsgl3ZQBzk=; b=R+hfw3+yNjBvYeTXdNFEmIo1rubI02xNO1k9HIuRxMWW8j4d7Y6mDO3yxks+AFJlfDIVbUT1nORU1O2WugdykqoLo5WiVjLZlOPwAvgz2VnqBYuAMEPfGDR9+thWyXU39UtMjfgWMpGgpuwLQy777WLFgyFoxtVt0xysCxM1+nE= Received: from SN6PR07MB5326.namprd07.prod.outlook.com (52.135.105.33) by SN6PR07MB5232.namprd07.prod.outlook.com (52.135.120.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.22; Wed, 7 Nov 2018 22:03:43 +0000 Received: from SN6PR07MB5326.namprd07.prod.outlook.com ([fe80::f0b9:acf9:7513:c149]) by SN6PR07MB5326.namprd07.prod.outlook.com ([fe80::f0b9:acf9:7513:c149%5]) with mapi id 15.20.1294.034; Wed, 7 Nov 2018 22:03:43 +0000 From: Robert Richter To: Marc Zyngier , Thomas Gleixner , Jason Cooper CC: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Stuart Yoder , Laurentiu Tudor , Matthias Brugger , Will Deacon , Lorenzo Pieralisi , "Richter, Robert" Subject: [PATCH 10/10] irqchip/gic-v3-its: Initialize MSIs with subsys_initcalls Thread-Topic: [PATCH 10/10] irqchip/gic-v3-its: Initialize MSIs with subsys_initcalls Thread-Index: AQHUduW/5AZAzs1nm0y385/013eVbg== Date: Wed, 7 Nov 2018 22:03:42 +0000 Message-ID: <20181107220254.6116-11-rrichter@cavium.com> References: <20181107220254.6116-1-rrichter@cavium.com> In-Reply-To: <20181107220254.6116-1-rrichter@cavium.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6PR03CA0033.eurprd03.prod.outlook.com (2603:10a6:20b::46) To SN6PR07MB5326.namprd07.prod.outlook.com (2603:10b6:805:73::33) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Robert.Richter@cavium.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [77.180.181.154] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;SN6PR07MB5232;6:2IqIAbNxz7VogIM1NxuGMz675CCTuNPCz2yGlAnvZBmxdFGIImtgopl/xavtsbaS4YbjXU7FVrbOH9SKP6hxkfImx5Wo9hkr/9/QWWxMGaqyCzt3TvRruC3iCiocrsDEQVFHhoCHzDjb+Qv/T7vO8teymZDThJNblwgc7MWi0dhTFgSs2iVoLfFoeqg3H+vntfkGSqMvQMaCCkla3k23NTU9zVo2VQF7dTFOFQvDJvatHZcCUjcxDaM65TvkkHby6cG+LLlOBHM5hgwoY3EuzaOUO87ChefA2exO7O+IUeFNs5CcIBWthVwuqKto3Ld/xRrl0RilojGGFmPurCtGjIX1cdWm4wAJBdrRAM5X5BTY7sljY42xUU0DvFfCzMidt4SleZQUmIH/XIA1UXzEQcOuA2LLA8z+CByEhatWePynMdyxD4YA+06TM4I4jHrE1n4Mtf/VpMNvuN5FJUU0TA==;5:f0rNUN+uwi8TnDuG1b3gJrPW/zBjHvUvPZ0sJvVMVe2mmPOCWbEfUU+O3X+8Z+rZtUkdhnq6dZy1gh4lZ3NyPhD7bpxEplgyK82bLG4v0dGK0SzSnubYMXdbZVqtn+/HozwH2BufhpCPfn3yCApowWMrUfkMHW8nLwPyjjIMmUI=;7:iIDvmxSeDZk4gsqLbym9GhLyENQV811rZTyH16pioZH4cfety8awfuub3XHRwMBUcasAmNHp8azYfjsZawnFVNKNJh0kHPdrTrXGJf3QllOo/AI5+Qgzr7aMu0K8RbzEBKhUbuXrG3gqWY3yOLVRNQ== x-ms-office365-filtering-correlation-id: 157f63f4-b375-451e-8fbc-08d644fce195 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:SN6PR07MB5232; x-ms-traffictypediagnostic: SN6PR07MB5232: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:SN6PR07MB5232;BCL:0;PCL:0;RULEID:;SRVR:SN6PR07MB5232; x-forefront-prvs: 08497C3D99 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(366004)(39860400002)(346002)(396003)(376002)(189003)(199004)(71200400001)(7736002)(71190400001)(39060400002)(6486002)(3846002)(66066001)(6436002)(186003)(36756003)(476003)(478600001)(2616005)(53936002)(256004)(14444005)(446003)(305945005)(11346002)(6512007)(54906003)(1076002)(316002)(107886003)(25786009)(110136005)(6116002)(2906002)(97736004)(4326008)(6506007)(386003)(72206003)(105586002)(99286004)(486006)(5660300001)(7416002)(8936002)(102836004)(106356001)(68736007)(8676002)(14454004)(81156014)(76176011)(81166006)(575784001)(2900100001)(52116002)(26005)(48284002);DIR:OUT;SFP:1101;SCL:1;SRVR:SN6PR07MB5232;H:SN6PR07MB5326.namprd07.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 5ZOJOUQ4DvXdPhObawpzKun6uCls3wABbhkrs3JTxUkbrXs29WhfO8vAcfNGZn7LGbj0BybBbXz+gpFn2YuHWSbqS3lf7J2Y7wVXKMPW5YaKfMM8RP1v1SSc9qLGcN7l7mOgqYeR674Iv3fOeSjTGbla4FuOqW5oUMB7DaXCtSs+mwkjMVJptYkS5iLrFqY8JtWB0JnHo74POQvO0raBYhfAJ/juMPYjAjw2qWQt5DUTKGxGzr0s4koAXMo/pr09TyCW+W4wa6wjggxfT/OLcbyNSrN50yzTTFid4I/INgsoXqGMRtRbmdWpHtUZphBwyFJsQdIw9/pHQWV4RkNDxV7Wl0CcGmuCKaevA/4vA7s= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-Network-Message-Id: 157f63f4-b375-451e-8fbc-08d644fce195 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Nov 2018 22:03:42.9788 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR07MB5232 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since ITS is initialized with with the subsys_initcall now, we don't need to enable ITS children earlier. Due to the use of irq_domain_ request_host_*() there are no order dependencies when initializing irq domains. Signed-off-by: Robert Richter --- drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c | 2 +- drivers/irqchip/irq-gic-v3-its-pci-msi.c | 2 +- drivers/irqchip/irq-gic-v3-its-platform-msi.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c b/drivers/irqchip/= irq-gic-v3-its-fsl-mc-msi.c index 0e9b31f13618..74d63fdff411 100644 --- a/drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c +++ b/drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c @@ -111,4 +111,4 @@ static int __init its_fsl_mc_msi_init(void) return 0; } =20 -early_initcall(its_fsl_mc_msi_init); +subsys_initcall(its_fsl_mc_msi_init); diff --git a/drivers/irqchip/irq-gic-v3-its-pci-msi.c b/drivers/irqchip/irq= -gic-v3-its-pci-msi.c index 7d7366d55d34..9c4a0ebdab0b 100644 --- a/drivers/irqchip/irq-gic-v3-its-pci-msi.c +++ b/drivers/irqchip/irq-gic-v3-its-pci-msi.c @@ -215,4 +215,4 @@ static int __init its_pci_msi_init(void) its_pci_acpi_msi_init(); return 0; } -early_initcall(its_pci_msi_init); +subsys_initcall(its_pci_msi_init); diff --git a/drivers/irqchip/irq-gic-v3-its-platform-msi.c b/drivers/irqchi= p/irq-gic-v3-its-platform-msi.c index 1f2849bc58c4..76f8a2e85375 100644 --- a/drivers/irqchip/irq-gic-v3-its-platform-msi.c +++ b/drivers/irqchip/irq-gic-v3-its-platform-msi.c @@ -201,4 +201,4 @@ static int __init its_pmsi_init(void) its_pmsi_acpi_init(); return 0; } -early_initcall(its_pmsi_init); +subsys_initcall(its_pmsi_init); --=20 2.11.0