From patchwork Fri Oct 29 21:09:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12593829 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CCA95C433EF for ; Fri, 29 Oct 2021 21:11:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9532F6044F for ; Fri, 29 Oct 2021 21:11:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9532F6044F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=oFlbDI7F4z3dyJbjXKb8s1w1scFAEqy770JsQNad1f8=; b=VxrOFhaS7iw12A oDK/jsa76SE2lL/qK1MJ/J31x3LhLO4HdTOnmf2WB0VtTZS5NwQyK5dogBc+uxpSYHpngY7NI0LJ7 KIprykW4D9xjv+tFPiRz8sqBxFidkqkCRrnUVi2YeXP90nmCXdrt8sATv82v6fKN4I+EIoT/Eeoqa 4gWq4WqbJAWKl5GyH//n6bOxfK0dfMZIak9M3tGBQqwgGKD5dmGmLtk9NLxpOFOt3pYmerw1LLpW9 vCXhRprGQQdgq5Y9DpjfOk4VZ/3ymdnRryX5zcFov9c3Auq54rBHKpqjcRNEzqBzF/uh/o0+7rZl/ fezPFsqmWmds9boztZew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mgZ88-00CN7p-1t; Fri, 29 Oct 2021 21:09:40 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mgZ84-00CN6x-IU; Fri, 29 Oct 2021 21:09:37 +0000 Received: by mail-pl1-x631.google.com with SMTP id n18so7624158plc.2; Fri, 29 Oct 2021 14:09:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tbBP9vlfqwztQAwlUrA3rb3X9bknkbNPCByzkSfvM8o=; b=QD4+2TQnXGt2qx52hkDP3lpei9GWHyuDIUcjvpvUwmfYypY2/l4UFQkk9Ho4mZ1sRx x3K9FCTy8dofXQEpone5fp27e8t5a9rTS/R+YjJ/yeE1J7hgxcf9ovs+qVQMvhq9clHu 7I3NNsBumn2RN2OCKeEd3VDKBxsHCd2NVJqEvfVADPwHJek41NXVp6r16lpHVeUac59u VTXm5FRv2kaqwjpQT9NiXOz/7el8jiQQsmcNccLzMpPDVkX5rinD5UuTVQ/CoWgASF9N F/3lP9Ym/cmYkapra5JQNoHOzPPsrFVqbqRIZnLDkl3XI3uQFMt6QdI3Q/TYgwzgWFwM +jvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tbBP9vlfqwztQAwlUrA3rb3X9bknkbNPCByzkSfvM8o=; b=EhmNjy8hicxH4mwNbIAZhEJj24eY0Qo6TMdI8RZXr1XbRmgyCdFvjQtx1dLIHQ1FKG 2JoDboQ4WxLuiytJ3NbzgvYKD4DB11dpCALL/17K72sMkMG0oHc0RWKM3IRZYCXLpCWu djwKj1JrusgIFUIiuP+9fHDARWFRLBU1rIiPp/+GoB6ELHFn3X4sob59jcZR6Ydey32F xCneGQdPrzjFsoSaSWRqMOacoslUtCyyXv0GwtI6FlbBiuKDluxPB1fxu4Fam7qgyp4I YVnGvd8z251lRRZKAq2b1XUU9RBO2QL6SsrscKXb0tIndyt8QxO4s6Gxlq5Nh33B/Pjb UJjQ== X-Gm-Message-State: AOAM533dLpjJTEFfG2wR+/oKpfi5GkLRmE13dgejVF2f4Jur/UtiygGl 5MinCF0M6fyk3LVQaPkQImUK5vYjofI= X-Google-Smtp-Source: ABdhPJwIUGdk4jEwbcTc9PWsUkll4l5mNlE5i1uV8EBi78o4Yl0XRU0yFzupOikAV/yc/JUVEPUIdw== X-Received: by 2002:a17:90b:1d04:: with SMTP id on4mr14076174pjb.68.1635541775461; Fri, 29 Oct 2021 14:09:35 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id i184sm6126210pgc.56.2021.10.29.14.09.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Oct 2021 14:09:34 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Cc: Florian Fainelli , Jim Quinlan , Rob Herring , Nicolas Saenz Julienne , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), bcm-kernel-feedback-list@broadcom.com (open list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), linux-rpi-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] ARM: dts: bcm2711: Fix PCIe interrupts Date: Fri, 29 Oct 2021 14:09:26 -0700 Message-Id: <20211029210927.36800-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211029_140936_637938_A4B42F37 X-CRM114-Status: GOOD ( 12.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The PCIe host bridge has two interrupt lines, one that goes towards it PCIE_INTR2 second level interrupt controller and one for its MSI second level interrupt controller. The first interrupt line is not currently managed by the driver, which is why it was not a functional problem. The interrupt-map property was also only listing the PCI_INTA interrupts when there are also the INTB, C and D. Reported-by: Jim Quinlan Fixes: d5c8dc0d4c88 ("ARM: dts: bcm2711: Enable PCIe controller") Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/bcm2711.dtsi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711.dtsi index 3b60297af7f6..9e01dbca4a01 100644 --- a/arch/arm/boot/dts/bcm2711.dtsi +++ b/arch/arm/boot/dts/bcm2711.dtsi @@ -506,11 +506,17 @@ pcie0: pcie@7d500000 { #address-cells = <3>; #interrupt-cells = <1>; #size-cells = <2>; - interrupts = , + interrupts = , ; interrupt-names = "pcie", "msi"; interrupt-map-mask = <0x0 0x0 0x0 0x7>; interrupt-map = <0 0 0 1 &gicv2 GIC_SPI 143 + IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 2 &gicv2 GIC_SPI 144 + IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 3 &gicv2 GIC_SPI 145 + IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 4 &gicv2 GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; msi-controller; msi-parent = <&pcie0>;