From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752569AbbLIBs0 (ORCPT ); Tue, 8 Dec 2015 20:48:26 -0500 Received: from mail-by2on0079.outbound.protection.outlook.com ([207.46.100.79]:2560 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752074AbbLIBsY (ORCPT ); Tue, 8 Dec 2015 20:48:24 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Suravee.Suthikulpanit@amd.com; From: Suravee Suthikulpanit To: , , , CC: Lorenzo Pieralisi , Will Deacon , Catalin Marinas , , , , , , , , Suravee Suthikulpanit Subject: [PATCH v5 0/5] gicv2m: acpi: Add ACPI support for GICv2m MSI Date: Tue, 8 Dec 2015 17:48:01 -0800 Message-ID: <1449625686-5594-1-git-send-email-Suravee.Suthikulpanit@amd.com> X-Mailer: git-send-email 2.1.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: BLUPR05CA0068.namprd05.prod.outlook.com (10.141.20.38) To BY1PR12MB0437.namprd12.prod.outlook.com (25.162.147.139) X-Microsoft-Exchange-Diagnostics: 1;BY1PR12MB0437;2:yf/S4XOfn5pwHqdw39xf1HPZg62YVyRSSwk/ri8b/ehSyYybSmYN2kbXCGhVhq//SfdXxC7qJswy49BRvwIFGAP4OULql3MIWeB7KWkXz7D7t9t/WWa4BfKNiwEGgJKE7C5H3dTcBTaNmxQK5uDu/A==;3:ZMvUWKbVfeSWCOjX6HLNQbiF3Q+OU9WFBxkS7BJdGoROioVIuYb/b4ipjxzpGqA3TWO/cuOb5K2/XAqPQPoI+68tuspH/eDGLhcJClNe2AVKmiqclGKutrNzpatzr1W6;25:SAHrX4HPqC5Cjd8lZksl5KX7LtJDG1SPBGxKPOSWztwmVPeQNH0lhEh4ew/s4KVjkx7JUUG4tymKr/ozvn2jHHXG7X7Un7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yZZaesmjx/vFbIojXfMuZwxQ5/a9i/yLj6q4Uskn9bnMUeZ07lq4lJ3UVON6elEiD6vwzlLrwvb2GQwUeuOW7N5CpgYHCd+yaetry1/3 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001)(10201501046);SRVR:BY1PR12MB0437;BCL:0;PCL:0;RULEID:;SRVR:BY1PR12MB0437; X-Forefront-PRVS: 0785459C39 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(979002)(6009001)(189002)(164054003)(199003)(36756003)(77096005)(86362001)(229853001)(15975445007)(92566002)(101416001)(53416004)(122386002)(97736004)(2201001)(42186005)(87976001)(5001770100001)(5004730100002)(50226001)(48376002)(19580395003)(1096002)(47776003)(189998001)(50986999)(66066001)(5003940100001)(106356001)(5008740100001)(6116002)(50466002)(3846002)(586003)(105586002)(40100003)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:BY1PR12MB0437;H:ssuthiku-fedora-lt.amd.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY1PR12MB0437;23:vuM+GokLda4HmYDgRiHXvTtKg/HMu980yTy6nGhez?= =?us-ascii?Q?5SRrhHt0JdPGKEed3ufERhobHArtEtQLE8314mZj7j/dZQLeCFr2tLnMx0us?= =?us-ascii?Q?qTkXZ0flr/unB72oAhI2AgFFqqqY4GzwL6ojoE+t0fBCejZLgKJ7II/hGGZ4?= =?us-ascii?Q?CTuKU1owMsu8b1VznYkXj2frzJUFW7OYSIeTtUKvJxkL7XtNdHZMGQDv85rt?= =?us-ascii?Q?vI0MJn5ZnrGY1bZtj7C+x9KVjTLCB7yqXArL5RE2/cYikMIgO5oKJTgPR314?= =?us-ascii?Q?Ma0LGwN+IqcnzOThq8iovnJU+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gvX+rYpvGysyduUV99dO1J+lEcZqGTxQNmALY8HihxKF1nZNqNXIuymUbdfIYC1cfLaP8IvnA4lbg==;24:k20UrWW4F/UbMD21Wizse2OPGs7ezFaeuJn12GuCRC9hMbLd3J8Uq6yOHCPYqrXOBFK3a8xX34F7wNsRXoNsYczl08da2sTJqIhNAVzlpT0=;20:OueTrDPNtSvDh3C9ln8gi4Wy5LobSiZFv3BkHNHtSdMRuFuh4QpYtdMjM2m02RKKPUG6O1E7+omul8qDUqRKlVOyM6T9SPrUWslBl1SeqFXKUhV3EW63ngoFnl/kCA0fh4pKnq0zTjjtHWo5fVq4ggdWbtH4uqsWeGqISKKJ+yhEnMcg0VTwcx7FqW2Htsw/xtbVgnQdY9uMK0ndwNJuEv1pEe/Bfwc2bYUHW86MEzaqGDWasQvTsU7jK1TWKgeC X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2015 01:48:18.4752 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR12MB0437 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series has been forked from the following patch series since it no longer depends on the rest of the patches. [PATCH v4 00/10] ACPI GIC Self-probing, GICv2m and GICv3 support https://lkml.org/lkml/2015/7/29/234 It has been ported to use the newly introduced device fwnode_handle for ACPI irqdmain introduced by Marc in the following patch series: [PATCH v2 00/17] Divorcing irqdomain and device_node http://git.kernel.org/cgit/linux/kernel/git/maz/arm-platforms.git irq/irq-domain-fwnode-v2 The following git branch contains the submitted patches along with the pre-requsite patches (mainly for ARM64 PCI support for ACPI). https://github.com/ssuthiku/linux.git v2m-multiframe-v5 This has been tested on AMD Seattle (Overdrive) RevB system. NOTE: I have not tested ACPI GICv2m multiframe support since I don't have access to such system. Any helps are appreciated. Thanks, Suravee Changes from V4: (https://lkml.org/lkml/2015/12/08/613) - Fix build error when not specifying CONFIG_IRQ_DOMAIN. Changes from V3: (https://lkml.org/lkml/2015/10/21/691) - Merged patch 2 into 1, and got rid off pci_msi_get_fwnode() since only ACPI will likely use this. (per Marc suggestion) - Rebased to 4.4.0-rc4 Changes from V2: (https://lkml.org/lkml/2015/10/14/1010) - Minor clean up from Tomasz review comment in patch 6/6. Changes from V1: (https://lkml.org/lkml/2015/10/13/859) - Rebase on top of Marc's patch to addng support for multiple MSI frames (https://lkml.org/lkml/2015/10/14/271) - Adding fwnode convenient functions (patch 3 and 4) Suravee Suthikulpanit (5): acpi: pci: Setup MSI domain for ACPI based pci devices irqdomain: introduce is_fwnode_irqchip helper irqdomain: Introduce irq_domain_get_irqchip_fwnode_name helper function gicv2m: Refactor to prepare for ACPI support gicv2m: acpi: Introducing GICv2m ACPI support drivers/irqchip/irq-gic-v2m.c | 152 ++++++++++++++++++++++++++++++++++------ drivers/irqchip/irq-gic.c | 5 +- drivers/pci/pci-acpi.c | 32 +++++++++ drivers/pci/probe.c | 2 + include/linux/irqchip/arm-gic.h | 4 ++ include/linux/irqdomain.h | 11 +++ include/linux/pci.h | 10 +++ kernel/irq/irqdomain.c | 20 +++++- 8 files changed, 213 insertions(+), 23 deletions(-) -- 2.1.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suravee Suthikulpanit Subject: [PATCH v5 0/5] gicv2m: acpi: Add ACPI support for GICv2m MSI Date: Tue, 8 Dec 2015 17:48:01 -0800 Message-ID: <1449625686-5594-1-git-send-email-Suravee.Suthikulpanit@amd.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from mail-by2on0079.outbound.protection.outlook.com ([207.46.100.79]:2560 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752074AbbLIBsY (ORCPT ); Tue, 8 Dec 2015 20:48:24 -0500 Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: marc.zyngier@arm.com, tglx@linutronix.de, jason@lakedaemon.net, rjw@rjwysocki.net Cc: Lorenzo Pieralisi , Will Deacon , Catalin Marinas , hanjun.guo@linaro.org, tomasz.nowicki@linaro.org, graeme.gregory@linaro.org, dhdang@apm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Suravee Suthikulpanit This patch series has been forked from the following patch series since it no longer depends on the rest of the patches. [PATCH v4 00/10] ACPI GIC Self-probing, GICv2m and GICv3 support https://lkml.org/lkml/2015/7/29/234 It has been ported to use the newly introduced device fwnode_handle for ACPI irqdmain introduced by Marc in the following patch series: [PATCH v2 00/17] Divorcing irqdomain and device_node http://git.kernel.org/cgit/linux/kernel/git/maz/arm-platforms.git irq/irq-domain-fwnode-v2 The following git branch contains the submitted patches along with the pre-requsite patches (mainly for ARM64 PCI support for ACPI). https://github.com/ssuthiku/linux.git v2m-multiframe-v5 This has been tested on AMD Seattle (Overdrive) RevB system. NOTE: I have not tested ACPI GICv2m multiframe support since I don't have access to such system. Any helps are appreciated. Thanks, Suravee Changes from V4: (https://lkml.org/lkml/2015/12/08/613) - Fix build error when not specifying CONFIG_IRQ_DOMAIN. Changes from V3: (https://lkml.org/lkml/2015/10/21/691) - Merged patch 2 into 1, and got rid off pci_msi_get_fwnode() since only ACPI will likely use this. (per Marc suggestion) - Rebased to 4.4.0-rc4 Changes from V2: (https://lkml.org/lkml/2015/10/14/1010) - Minor clean up from Tomasz review comment in patch 6/6. Changes from V1: (https://lkml.org/lkml/2015/10/13/859) - Rebase on top of Marc's patch to addng support for multiple MSI frames (https://lkml.org/lkml/2015/10/14/271) - Adding fwnode convenient functions (patch 3 and 4) Suravee Suthikulpanit (5): acpi: pci: Setup MSI domain for ACPI based pci devices irqdomain: introduce is_fwnode_irqchip helper irqdomain: Introduce irq_domain_get_irqchip_fwnode_name helper function gicv2m: Refactor to prepare for ACPI support gicv2m: acpi: Introducing GICv2m ACPI support drivers/irqchip/irq-gic-v2m.c | 152 ++++++++++++++++++++++++++++++++++------ drivers/irqchip/irq-gic.c | 5 +- drivers/pci/pci-acpi.c | 32 +++++++++ drivers/pci/probe.c | 2 + include/linux/irqchip/arm-gic.h | 4 ++ include/linux/irqdomain.h | 11 +++ include/linux/pci.h | 10 +++ kernel/irq/irqdomain.c | 20 +++++- 8 files changed, 213 insertions(+), 23 deletions(-) -- 2.1.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suravee.Suthikulpanit@amd.com (Suravee Suthikulpanit) Date: Tue, 8 Dec 2015 17:48:01 -0800 Subject: [PATCH v5 0/5] gicv2m: acpi: Add ACPI support for GICv2m MSI Message-ID: <1449625686-5594-1-git-send-email-Suravee.Suthikulpanit@amd.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org This patch series has been forked from the following patch series since it no longer depends on the rest of the patches. [PATCH v4 00/10] ACPI GIC Self-probing, GICv2m and GICv3 support https://lkml.org/lkml/2015/7/29/234 It has been ported to use the newly introduced device fwnode_handle for ACPI irqdmain introduced by Marc in the following patch series: [PATCH v2 00/17] Divorcing irqdomain and device_node http://git.kernel.org/cgit/linux/kernel/git/maz/arm-platforms.git irq/irq-domain-fwnode-v2 The following git branch contains the submitted patches along with the pre-requsite patches (mainly for ARM64 PCI support for ACPI). https://github.com/ssuthiku/linux.git v2m-multiframe-v5 This has been tested on AMD Seattle (Overdrive) RevB system. NOTE: I have not tested ACPI GICv2m multiframe support since I don't have access to such system. Any helps are appreciated. Thanks, Suravee Changes from V4: (https://lkml.org/lkml/2015/12/08/613) - Fix build error when not specifying CONFIG_IRQ_DOMAIN. Changes from V3: (https://lkml.org/lkml/2015/10/21/691) - Merged patch 2 into 1, and got rid off pci_msi_get_fwnode() since only ACPI will likely use this. (per Marc suggestion) - Rebased to 4.4.0-rc4 Changes from V2: (https://lkml.org/lkml/2015/10/14/1010) - Minor clean up from Tomasz review comment in patch 6/6. Changes from V1: (https://lkml.org/lkml/2015/10/13/859) - Rebase on top of Marc's patch to addng support for multiple MSI frames (https://lkml.org/lkml/2015/10/14/271) - Adding fwnode convenient functions (patch 3 and 4) Suravee Suthikulpanit (5): acpi: pci: Setup MSI domain for ACPI based pci devices irqdomain: introduce is_fwnode_irqchip helper irqdomain: Introduce irq_domain_get_irqchip_fwnode_name helper function gicv2m: Refactor to prepare for ACPI support gicv2m: acpi: Introducing GICv2m ACPI support drivers/irqchip/irq-gic-v2m.c | 152 ++++++++++++++++++++++++++++++++++------ drivers/irqchip/irq-gic.c | 5 +- drivers/pci/pci-acpi.c | 32 +++++++++ drivers/pci/probe.c | 2 + include/linux/irqchip/arm-gic.h | 4 ++ include/linux/irqdomain.h | 11 +++ include/linux/pci.h | 10 +++ kernel/irq/irqdomain.c | 20 +++++- 8 files changed, 213 insertions(+), 23 deletions(-) -- 2.1.0