Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941407AbcJaMQ4 (ORCPT ); Mon, 31 Oct 2016 08:16:56 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:5214 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S941383AbcJaMQz (ORCPT ); Mon, 31 Oct 2016 08:16:55 -0400 From: Zubair Lutfullah Kakakhel To: , , , CC: , , , , Subject: [Patch V6 0/6] microblaze/PowerPC: Move irq-xilinx Date: Mon, 31 Oct 2016 12:16:41 +0000 Message-ID: <1477916207-25157-1-git-send-email-Zubair.Kakakhel@imgtec.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.154.45] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2408 Lines: 73 Hi, The MIPS based Xilfpga platform uses the Xilinx interrupt controller daisy chained to the MIPS microAptiv cpu interrupt controller. This patch series moves the Xilinx interrupt controller driver out of arch/microblaze to drivers/irqchip and then cleans it up a bit. And then removes another implementation of the driver in arch/powerpc. This effort results in one common driver usable by mips,microblaze and powerpc. Compile tested on microblaze-el. Tested using qemu-system-ppc using virtix440-ml507 Tested on MIPSfpga platform. Based on v4.9-rc3 Thanks, ZubairLK V5 -> V6 Split patch series. Patches for arch/mips can go separately Rebase to v4.9-rc3 Added chained_irq_enter/exit Removed __func__ used in pr_err V4 -> V5 Added a new patch that removes the PPC driver Rebase to v4.9-rc1 Better error handling V3 -> V4 Better error handling Some minor fixups V2 -> V3 Cleanup the interrupt controller driver a bit based on feedback Rebase to v4.8-rc4 V1 -> V2 Resubmitting without truncating the diff output for file moves Removed accidental local mac address entry Individual logs have more detail Zubair Lutfullah Kakakhel (6): microblaze: irqchip: Move intc driver to irqchip irqchip: xilinx: Clean up irqdomain argument and read/write irqchip: xilinx: Rename get_irq to xintc_get_irq irqchip: xilinx: Add support for parent intc irqchip: xilinx: Try to fall back if xlnx,kind-of-intr not provided powerpc/virtex: Use generic xilinx irqchip driver arch/microblaze/Kconfig | 1 + arch/microblaze/include/asm/irq.h | 2 +- arch/microblaze/kernel/Makefile | 2 +- arch/microblaze/kernel/intc.c | 196 ------------------------ arch/microblaze/kernel/irq.c | 4 +- arch/powerpc/include/asm/xilinx_intc.h | 2 +- arch/powerpc/platforms/40x/Kconfig | 1 + arch/powerpc/platforms/40x/virtex.c | 2 +- arch/powerpc/platforms/44x/Kconfig | 1 + arch/powerpc/platforms/44x/virtex.c | 2 +- arch/powerpc/sysdev/xilinx_intc.c | 211 +------------------------- drivers/irqchip/Kconfig | 4 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-xilinx-intc.c | 267 +++++++++++++++++++++++++++++++++ 14 files changed, 284 insertions(+), 412 deletions(-) delete mode 100644 arch/microblaze/kernel/intc.c create mode 100644 drivers/irqchip/irq-xilinx-intc.c -- 1.9.1