Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp5388973ima; Tue, 5 Feb 2019 10:55:45 -0800 (PST) X-Google-Smtp-Source: AHgI3IY8Tbd+otCDP0TRD0HOgbhu1i6mBRMjzkHXoBG+HO1kWDu3ih6HJzK6dJLeqSAExDPkALZ/ X-Received: by 2002:a17:902:f091:: with SMTP id go17mr6641201plb.235.1549392945668; Tue, 05 Feb 2019 10:55:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549392945; cv=none; d=google.com; s=arc-20160816; b=laWVNVt+thhnyr7RSwrnHNX4GQq9iCI1h+imutEBpRljFphcYgOEgn62bVufeKeZyf cEwAmBAjrzAEJLKamkF7uyi1BvSkZ02M6kl3vgOZYP+8GlTgXT5aCjvI7e2o6f+SoaRs b8At4MKxUwANK+QwBJHWl5V4GzmM+uT5ucLk2Z8mPQiE1msJ0pGbJv8y2pPwUSnPZzcj jFtAtaR/wLfIDBmK7ykyBwLM8tBx8Dd0O0l4yl7nxKlShl2w46uX9q3i5fXsEQQXoq+2 sxKHtYDffT7Y0//LQvQbXtkMczq+S9Z9sNj/FQHT77nlNp2ujU94+3gkUAGphR0RX4o4 W8bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=W94IvYw458qYovmkqSqKvaFGe/f53TsXtm50K08hs2U=; b=rmuPC33tJYxCCOamd9qyRlfmU4OXvaYDStvJ/ADHBaAg/ITenl16nHbFi5guC9zr0m FFn2j2KqS9SK4WFb/mHJbNPYK/ne/yweh6aYJELyPlzrGXAXCHRpTTds4FKvJWi5DYmx +SVcX2ogSCeshvD+Ww0LVS07ZGRgkObA7aC6d5rhHzruDh9vCGwATqsNAfupFZu8hb/b nwKw0WqajrYzeOZ+n+e8QVO6bzT2sYRHF7VmA9cOmL+6oZVVz4bIoDCJy34Lf1ijc3MZ 9tqDCmwybXpwr0fNH3umbNB+HFUk1S1w7pGkbpxSt8QnLCLIjbZWYxolg1anYYoBXyuE /WPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OUHeix3A; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j7si4270298plb.91.2019.02.05.10.55.08; Tue, 05 Feb 2019 10:55:45 -0800 (PST) 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=@linaro.org header.s=google header.b=OUHeix3A; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728741AbfBESNd (ORCPT + 99 others); Tue, 5 Feb 2019 13:13:33 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:33604 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726534AbfBESNd (ORCPT ); Tue, 5 Feb 2019 13:13:33 -0500 Received: by mail-pl1-f196.google.com with SMTP id z23so1861068plo.0 for ; Tue, 05 Feb 2019 10:13:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=W94IvYw458qYovmkqSqKvaFGe/f53TsXtm50K08hs2U=; b=OUHeix3AEWtdFNoUfLWhfSAlEXLCRJECM/t9VRJ52IgqAdJcz5l0c4s+c0LAXl1qMC LLtoqxCpIIyS6tsNX7wTTpBJpONVdATWaskaUf5Mg34nSctZzA7rXOVFmdjEr9FBBln+ /UqacuJuk6QcsCEwD/ovB0/YHEjCU2UKPTf/L2IIbfAm8rbBTrMB52h9+M1QwquPqOa6 JWvLl5kME1Z+1T/I/fOI+hcRX/B0XA1HaoQM30oCL1uzpJsYYlWEbjZycVEI+wD7RRuQ GYCk2vZtViac24MTAGws5FeeXDBfoS82eF9xwD0us4ITMdtt75vRV6WKyQyMnwlcCACi 16Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=W94IvYw458qYovmkqSqKvaFGe/f53TsXtm50K08hs2U=; b=pBDzRB6rUQSKXE5UlxU43iO9/wz0a6j79D4ms3XI3AHhnNdZcI9QI5+L80wNJ9y6KH x7NVgaX7wv2N4KuJU2OQqE8WSl41mfVtI18wjc90ZuDUmVsCkJJ3U/qLuxcT8vO9FmCG cfEw6DOZhBlrExZmPRfTwfJl7+aTXO79+CfwU5rOfZK9EvfG9dnxGWA6A8WaGCZxfDSt vcpAviDV8Uc2nsoyjcrQTkbU+d9DUUklqG4iATkZbHXXUP0JD7b3DIjsrFpxqvchlxA2 M0GqQCtqUMVV5EZbkivQ9aD/OY5hGQb7k4hJM/GkWy0DVNJ/5Qw04qZt/4rosMujIBb9 9hvg== X-Gm-Message-State: AHQUAuaGvHBCjXjBMIITktANq3MQMIr9AN1uRX+s8FQwsMf7V4ubhSKb 4DS4zNp9FmnnNElhgSoBarO9kEPVQEo= X-Received: by 2002:a17:902:e612:: with SMTP id cm18mr2846187plb.172.1549390411957; Tue, 05 Feb 2019 10:13:31 -0800 (PST) Received: from builder (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id a17sm5773224pgm.26.2019.02.05.10.13.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Feb 2019 10:13:30 -0800 (PST) Date: Tue, 5 Feb 2019 10:13:26 -0800 From: Bjorn Andersson To: Niklas Cassel Cc: Andy Gross , David Brown , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: qcom: ipq4019: Fix MSI IRQ type Message-ID: <20190205181326.GA23363@builder> References: <20190124130047.8071-1-niklas.cassel@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190124130047.8071-1-niklas.cassel@linaro.org> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 24 Jan 05:00 PST 2019, Niklas Cassel wrote: > 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 Cc: stable@vger.kernel.org Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > 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 19635f91e2c4..48b3cb474ba0 100644 > --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi > +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi > @@ -398,7 +398,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 >