Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp520670ybm; Thu, 28 May 2020 08:31:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIL7vGFK30CmJ9m5lbkRCWKOFA1BfGxbfkUoWnOYgW4aiiMVnt26lFCkGFJ5Dk4JE5R4J3 X-Received: by 2002:a50:9ee4:: with SMTP id a91mr3784769edf.172.1590679861822; Thu, 28 May 2020 08:31:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590679861; cv=none; d=google.com; s=arc-20160816; b=mooSFSJiNGxgWqQkgddrSZmYF/Hr6rSqn60dLS1larsxXw/vH5HVPwM49MOoCl/JDe P+YYGVSdyuqbwGFC5ceBLPKgoFgGMCB8GPVpGPVXetEs4VwXd8bOUGXj6o6I39Iv6heu 5HvALohgJAeHdw3llzA/15E8JWHB92X/i5CMd0lotdefo5yrd/4Lq3BgqsoIBkH1vqpw 24M/lqw1Wl19fru3oUJLmLYy1md7BPRp/tt5ozuwdC0gXLCPjJSo05JRVzk/I8aZSJYM ET7x55ovF/kOVixokM8oQ1HskcaXWvfPx6VrAToIJeN13XFLqTIxyfUWHdubxzWR8dlH z7MQ== 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=WqqDXeINxmD1pzoMUkux4iVerFNu0QuChmHUwJb2Yk4=; b=K5GJOAwksvyr1O+cX4sjUhWUbIiu6AVPwtvd5TaphrAaFhsd5vPmhBGgeGFkwpFZ2G J01Xv++hztuGFQvGgEgbLoqbu2Vq3LvAiq6LOegZDP657FeeTETmHkYQlU2xCyaYz81F nx933tLRGb/wKstPWri0+vHEIE1aDRO9NJDj6/mE2WOR1GI0AS90WmBrhq2CiGlvfB9q 0/EWK2oYBVyru8v1OpvULdcyb/slHxuCxz7reh7MEuD0Foa/daGfzK03gK8bL23SAsvH GsCxmE7/9agvHyGUpqaxlAFAvXVi1+0kGmb9C9a7Y3JNwW2c4N9iC5V/ODmcZhK1C2BL KxOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=aQvEiZuj; 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 i3si1131030ejv.458.2020.05.28.08.30.38; Thu, 28 May 2020 08:31:01 -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=aQvEiZuj; 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 S2404399AbgE1P2r (ORCPT + 99 others); Thu, 28 May 2020 11:28:47 -0400 Received: from vultr.net.flygoat.com ([149.28.68.211]:34564 "EHLO vultr.net.flygoat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404080AbgE1P2p (ORCPT ); Thu, 28 May 2020 11:28:45 -0400 Received: from localhost.localdomain (unknown [IPv6:2001:da8:20f:4430:250:56ff:fe9a:7470]) by vultr.net.flygoat.com (Postfix) with ESMTPSA id 17B9C20F0E; Thu, 28 May 2020 15:28:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=vultr; t=1590679723; bh=/Ixh27PBvMYRfXZQb8LgHMfG0KTPCk5wgWM8dpeEr7c=; h=From:To:Cc:Subject:Date:From; b=aQvEiZujSef6TU/HwlGHcOd4VU2sUCSplbXoDgeA38yzDsLwn4h6FSauBeLBNvCOF 5bF5LSVqtJ7PIuIhPdxcTHi3mRpv25MTrjNnnosCV6AU0ExBCnl/dh1ub6LIvIY9nl vsgB9axrPiiPUYm/NF32ky7VWYL4S7Tdpx2mTy4DS8Ce2f4cUCbOJGMsa2iFiOTiah bEs7/gH+s64WzC6bUR9iChWSqoi5T11lwDdreTX0S22RTlcztGKfMTmmXlbr7fkJaW fPW15cxgcWP4G2Dwqgn0gb6u0j+V+hPPE8TmX01AsHzqpexque2lWtYmXk8OrdhHvE fEAPQiTLUohYg== From: Jiaxun Yang To: maz@kernel.org Cc: Jiaxun Yang , Thomas Gleixner , Jason Cooper , Rob Herring , Huacai Chen , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mips@vger.kernel.org Subject: [PATCH v5 0/6] Three Loongson irqchip support Date: Thu, 28 May 2020 23:27:48 +0800 Message-Id: <20200528152757.1028711-1-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.27.0.rc0 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 v5: - Add some range checks in dt-schema 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 | 57 ++++ .../loongson,pch-msi.yaml | 62 +++++ .../loongson,pch-pic.yaml | 56 ++++ drivers/irqchip/Kconfig | 27 ++ drivers/irqchip/Makefile | 3 + drivers/irqchip/irq-loongson-htvec.c | 214 +++++++++++++++ drivers/irqchip/irq-loongson-pch-msi.c | 255 ++++++++++++++++++ drivers/irqchip/irq-loongson-pch-pic.c | 243 +++++++++++++++++ 8 files changed, 917 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.27.0.rc0