Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp756339ybz; Wed, 22 Apr 2020 07:27:57 -0700 (PDT) X-Google-Smtp-Source: APiQypIdnb4cP0yM8KA8aomx0pZmWR/caehyOhJRkBrc75qOg9szFtj5zpK+D1ah2KFeeyOufGuU X-Received: by 2002:a17:906:38ca:: with SMTP id r10mr25326335ejd.278.1587565677298; Wed, 22 Apr 2020 07:27:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587565677; cv=none; d=google.com; s=arc-20160816; b=lh/FVnX8q5g0PN0XzmssSSLg71Cx+T0bLJRhPp7qjY6SKmX+LTEFrxMvrZyB9rMfSC K+7SJ/Nzaelq78veKrEiw5x/bb6/6zZtI2HDBUOwSxNioDKdNyOhVquTSauxsCZAXcnA mq6T0oQojFLpmYF5RIwUs+W72AbGjKcc3kFfiyRGo6eTrLMs/FUN6GHn5gtenga58olH SHm9pg5rOKnA2mk2fr1Zr4oDoxVOd18Yup6SmNa9bzdp+PxFy+kmS8y0UhIEZxetFmHL U7Pwo3pA4KanYNwoR7aZr+/q6X2PdiH7mvMODtjFT9GOguuj32Azfu1OAzRZFLpgfdDx 6rPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=FKE4dbZPWFVlOwKVzUY6JbSeHuUNsI7DTYbx4pH25eY=; b=OUJ8IrzCFx0UQzAIIUA2/RkhEH6htBdWrMid8jTe48msMCFXDSvAg5UVmjEGnSioyi sPpZZlRU3apfZ7jYa31Z79B1ZySsekbFI3i6LOSB+df+3NQbV3zX0gK0Y7TWVSbnSQvr R3EywSwVcYdpPs6GSNM+icaLIqFBa97QL72WrSdnMwN2OSWa6JWm6jbjrwMjxxCgO3Q1 RANJUpn8kPVwQuWQnTxTWC0ERorSA+j8a4o74+D4dd6S+gomfzp8nrqv2aDaJRcs6d7T MDUwoMMseETJ7B0m94iLxMX97gMEsuscSPYl4LBvODWsyr4vPsLvFA+LiBL/+Ir6RPFW 0Hcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=aBFA8jqB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a21si3546306edx.516.2020.04.22.07.27.26; Wed, 22 Apr 2020 07:27:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=aBFA8jqB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727822AbgDVO0P (ORCPT + 99 others); Wed, 22 Apr 2020 10:26:15 -0400 Received: from vultr.net.flygoat.com ([149.28.68.211]:59258 "EHLO vultr.net.flygoat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726414AbgDVO0P (ORCPT ); Wed, 22 Apr 2020 10:26:15 -0400 Received: from localhost.localdomain (unknown [IPv6:2001:da8:20f:4430:250:56ff:fe9a:7470]) by vultr.net.flygoat.com (Postfix) with ESMTPSA id A7F4B20CD7; Wed, 22 Apr 2020 14:26:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=vultr; t=1587565563; bh=yzj3obMtgh8EsESdciGUOI+o2hcpe8mFlM3owBlPDbc=; h=From:To:Cc:Subject:Date:From; b=aBFA8jqB6F1yCUeQ5WILR6IdVp461Blt/Ilbt/Kw7E5zm1thEzKvXwMHs5Rrdmjpf EKUTj2xxa2kFtfIZ7eVMktvv92vMXv2aXCJzC1FM7GjSMxp0QoDgmKsn3MxEoXD6O1 HlABW/gCmm4sqRom52dfvjNoKIa/BOgF9EqNkYo34YZygRFf1YIuZ6z3lpguDNWiDf 918pgBEweCrvnboY4Fk3O1t6ddslj+WE7Cvn05kCXK4TNmC0Hga9JIq3aprbRA+tRe EEphAs8trrnx5brWYrikldA6sMVC0NjKBaAlx2w+bo2HHWeS8VkWUoDs0NRkIXQJr6 18AdUt4f2T85w== From: Jiaxun Yang To: linux-mips@vger.kernel.org, maz@kernel.org Cc: Jiaxun Yang , Thomas Gleixner , Jason Cooper , Rob Herring , Huacai Chen , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 0/6] Loongson PCH IRQ Support Date: Wed, 22 Apr 2020 22:24:20 +0800 Message-Id: <20200422142428.1249684-1-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.26.0.rc2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series mainly added IRQ support for Loongson-7A1000 PCH. DeviceTree will be added later as PCI support is also pending for reviewing. Jiaxun Yang (6): irqchip: Add Loongson HyperTransport Vector support dt-bindings: interrupt-controller: Add Loongson HTVEC irqchip: Add Loongson PCH PIC controller dt-bindings: interrupt-controller: Add Loongson PCH PIC irqchip: Add Loongson PCH MSI controller dt-bindings: interrupt-controller: Add Loongson PCH MSI .../interrupt-controller/loongson,htvec.yaml | 59 ++++ .../loongson,pch-msi.yaml | 56 ++++ .../loongson,pch-pic.yaml | 55 ++++ drivers/irqchip/Kconfig | 26 ++ drivers/irqchip/Makefile | 3 + drivers/irqchip/irq-loongson-htvec.c | 217 ++++++++++++++ drivers/irqchip/irq-loongson-pch-msi.c | 265 ++++++++++++++++++ drivers/irqchip/irq-loongson-pch-pic.c | 256 +++++++++++++++++ 8 files changed, 937 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,htvec.yaml create mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,pch-msi.yaml create mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongson,pch-pic.yaml create mode 100644 drivers/irqchip/irq-loongson-htvec.c create mode 100644 drivers/irqchip/irq-loongson-pch-msi.c create mode 100644 drivers/irqchip/irq-loongson-pch-pic.c -- 2.26.0.rc2