Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp787009ybe; Fri, 13 Sep 2019 06:23:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzvO/rnCY9zKoP2wSZooeLAAdsIWZorvTQUvfaLa6Cik4ynCAKUeNU7Ki9Es1U+m5x7/dMJ X-Received: by 2002:a17:906:434f:: with SMTP id z15mr15305980ejm.214.1568380996219; Fri, 13 Sep 2019 06:23:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568380996; cv=none; d=google.com; s=arc-20160816; b=f4HZF+bG02NdjAbcEonPJY6p9kbge4ovOK/7Nyo679scfhztpp99njHQ+lNjOdN90L 82mk48Q7mjb56JqAaczOLjtZeoEsqr+Dt7PG6cOPBhmplGRw04aNyby95SeEOkucduGY PwuQNRYxUn3/aK3fpg1zLkV6AJT1xq/O6GjEY8Cc7Lst+44DHbtWKbCkEP1qg4YMoZIY RHb5sMs9VW2NlcCi15OLGn3ZfLb0yjZaZMdgsHuMh6OrTbY2euWe9rgcshBdsbEpvd/7 7dA5yNgIzKqvwFH3YlGyXm0cnWCFgBk0RscM7YmpUVCEpMw9R1q5Iu4WFFJGQVLtyHXx M40Q== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=pMMlKOmGlKIVaUTJiNwxPqJKUY12rvG9rOup3ocfVL0=; b=vCxiY3lGJiRwR6RMo44VxqPznWWNXkSKgHgE0cCoWVLeBdwJ6d4E59tf270tuIjyoT 4WZuGm4DYwxD4w9H9hxcx7tbp/CIPWX2pFgtJPe2837zHXSCbMJuBV7qWN2B1z7FkFhF u/8xWzqfPihQI2HUOAmVbb3HntSV9HTDj90lQEMziCtN/dnwPYCZLLR/VgDoDORmZEwb DlFCvz/azbs8A4iYceHvAVsXHlDpKg1krqC6Ul6tKZ3r++hG4rhJ2fjwJ8cDN77Bt56W poQ1wehnYq4wL5K1i0Qxo6Rk8xlD4YZ6YfnBThiXs6sJUsnQnrJRwZsGM7+zJ6rbuNfe 0s+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fEF16Yh4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u2si15019330ejr.143.2019.09.13.06.22.52; Fri, 13 Sep 2019 06:23:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fEF16Yh4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390149AbfIMNSF (ORCPT + 99 others); Fri, 13 Sep 2019 09:18:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:45462 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390142AbfIMNSC (ORCPT ); Fri, 13 Sep 2019 09:18:02 -0400 Received: from localhost (unknown [104.132.45.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 00E14206BB; Fri, 13 Sep 2019 13:18:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568380681; bh=27MRX826Pi+M9axRz0cHbmgXj6AyIpoE/Xg4HHm+8WM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fEF16Yh4Q2LaPccTSdZv5NXE27MH7DeXqKlAYDh99ol+l13P7kTNWs4gzDKwaGEvk DBanhgle0LZFg69iMUFYer9TsyQHVs2NGm+J45Py3AMaph75jMc5XrxPJhfrv8n71R /FHxrZbZrgFL+OfA23M8qKTe1pEg67ATSiismgaA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Niklas Cassel , Bjorn Andersson , Andy Gross , Sasha Levin Subject: [PATCH 4.19 120/190] ARM: dts: qcom: ipq4019: Fix MSI IRQ type Date: Fri, 13 Sep 2019 14:06:15 +0100 Message-Id: <20190913130609.412047637@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190913130559.669563815@linuxfoundation.org> References: <20190913130559.669563815@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 97131f85c08e024df49480ed499aae8fb754067f ] The databook clearly states that the MSI IRQ (msi_ctrl_int) is a level triggered interrupt. The msi_ctrl_int will be high for as long as any MSI status bit is set, thus the IRQ type should be set to IRQ_TYPE_LEVEL_HIGH, causing the IRQ handler to keep getting called, as long as any MSI status bit is set. A git grep shows that ipq4019 is the only SoC using snps,dw-pcie that has configured this IRQ incorrectly. Not having the correct IRQ type defined will cause us to lose interrupts, which in turn causes timeouts in the PCIe endpoint drivers. Signed-off-by: Niklas Cassel Reviewed-by: Bjorn Andersson Signed-off-by: Andy Gross Signed-off-by: Sasha Levin --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index 2c3168d95a2d5..814ab7283228a 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -389,7 +389,7 @@ ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000 0x82000000 0 0x40300000 0x40300000 0 0x400000>; - interrupts = ; + interrupts = ; interrupt-names = "msi"; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0x7>; -- 2.20.1