Received: by 2002:a17:90a:bc8d:0:0:0:0 with SMTP id x13csp1571808pjr; Mon, 18 May 2020 16:44:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3+ccC+8lbGTcFA8kuVb9yEeXtyISu+tduPsJaRUYRt6QQwBItHPOA7AguC2Z6di9HChan X-Received: by 2002:a17:906:4947:: with SMTP id f7mr15246522ejt.373.1589845448038; Mon, 18 May 2020 16:44:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589845448; cv=none; d=google.com; s=arc-20160816; b=xgCE78xfDdtgJvHA8JAMnhMwxocZlsTwQq7jdVDUusayWSi7x7TOfsC9xquZP4QzeO pXj/WWinwMQZ3zUXKPC1Klf2FKtJSSkhnmHgMpiODYun6kJeYNFmKaIGYO8ds8/fcAz5 xDBRqsjiPVVAuoWbpJGX/1/5M6MlVPd9URAcW9pRu79ATq80Sll0uEILM66aA3bFlufy iIdy8ysK4W3F2j6caSsMXpNTB5tjtBaRx45/G3neJWCySV9GwCDAvmCpRYGOxeIOp1IG 78p0BI2GgrpvIxK1ZWa/YNBI0U6nfoFoJ2iHGkwZRLvm3MrQuYJjZn8+71X/B5RtNFEV B80g== 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=ZwKUruTfWNXaw5VfMdahaeXlVsIovwGWx11JcMZOla0=; b=A0j8ENJYvxXmsPZ7i1t9bDYMajVXgUEPD683qZgytzFZJ2k5Yp8LsgvPLghbsjoP0U 95aXJ22uVEYD6rr0n2s278FrH/EvDiJmAHbwW6IfFyjcxUDGBjMuWXESYmXpbxqSBxCA dyNZZU5z0NlI8AXcIvMPOJPDj4NEOTBzudUOS9xJLsXGBYz5Y1B8lkh2qpf8vTEx66KT 9dpRbUPMrtnIjORvqfKUbbE72V9oLHnWKUcq84kTW2JKjNZGlRS6P0Hf1krzIsOxyH1i s0vGR5mIQFASZDPs0+R0phGkcKye7Ro1QN9iF0J2fH4rPcOgC6/zGFhoWslDfHb4gMqy FQjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uMM1qV+A; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jx4si7046150ejb.216.2020.05.18.16.43.45; Mon, 18 May 2020 16:44:08 -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=pass header.i=@kernel.org header.s=default header.b=uMM1qV+A; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731030AbgERRwp (ORCPT + 99 others); Mon, 18 May 2020 13:52:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:56116 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729079AbgERRwm (ORCPT ); Mon, 18 May 2020 13:52:42 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 F2436207C4; Mon, 18 May 2020 17:52:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589824361; bh=hs2nE6Wrb7NabB66Yo0yGF0wfgyhxK7+lzV506mq0DU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uMM1qV+AuyJr8L9O5Q3qEcUcng1LbEjDMToEemQUXP9qmVwC6wHZ3MkQQ+BTRnMq7 6jB9aFG1Hiu99eUMox4PJTcfGv9n1xdglc4eHkquA/ox5k++W29D+KNk7tav3T3k7v mw5FWx1HDFvx/6IGlaidLhaddOSrBepzz3so38iw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, stable@kernel.org, Kishon Vijay Abraham I , Tony Lindgren Subject: [PATCH 4.19 60/80] ARM: dts: dra7: Fix bus_dma_limit for PCIe Date: Mon, 18 May 2020 19:37:18 +0200 Message-Id: <20200518173502.552525229@linuxfoundation.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200518173450.097837707@linuxfoundation.org> References: <20200518173450.097837707@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 From: Kishon Vijay Abraham I commit 90d4d3f4ea45370d482fa609dbae4d2281b4074f upstream. Even though commit cfb5d65f2595 ("ARM: dts: dra7: Add bus_dma_limit for L3 bus") added bus_dma_limit for L3 bus, the PCIe controller gets incorrect value of bus_dma_limit. Fix it by adding empty dma-ranges property to axi@0 and axi@1 (parent device tree node of PCIe controller). Cc: stable@kernel.org Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Tony Lindgren Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/dra7.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -312,6 +312,7 @@ #address-cells = <1>; ranges = <0x51000000 0x51000000 0x3000 0x0 0x20000000 0x10000000>; + dma-ranges; /** * To enable PCI endpoint mode, disable the pcie1_rc * node and enable pcie1_ep mode. @@ -325,7 +326,6 @@ device_type = "pci"; ranges = <0x81000000 0 0 0x03000 0 0x00010000 0x82000000 0 0x20013000 0x13000 0 0xffed000>; - dma-ranges = <0x02000000 0x0 0x00000000 0x00000000 0x1 0x00000000>; bus-range = <0x00 0xff>; #interrupt-cells = <1>; num-lanes = <1>; @@ -368,6 +368,7 @@ #address-cells = <1>; ranges = <0x51800000 0x51800000 0x3000 0x0 0x30000000 0x10000000>; + dma-ranges; status = "disabled"; pcie2_rc: pcie@51800000 { reg = <0x51800000 0x2000>, <0x51802000 0x14c>, <0x1000 0x2000>; @@ -378,7 +379,6 @@ device_type = "pci"; ranges = <0x81000000 0 0 0x03000 0 0x00010000 0x82000000 0 0x30013000 0x13000 0 0xffed000>; - dma-ranges = <0x02000000 0x0 0x00000000 0x00000000 0x1 0x00000000>; bus-range = <0x00 0xff>; #interrupt-cells = <1>; num-lanes = <1>;