Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3285935ybb; Tue, 31 Mar 2020 02:06:51 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsb3YcqncEEnH0U2O9dAwNRJQMRDyBVC70VaFPnRmQHKppnm5tjGS2trAIkJqBWBBjsKwNt X-Received: by 2002:a9d:567:: with SMTP id 94mr6991576otw.201.1585645611613; Tue, 31 Mar 2020 02:06:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585645611; cv=none; d=google.com; s=arc-20160816; b=OMoQK/97rnm4FRHWxJ0d0ItSdOPsnSO8gQR/QAyOhVd3p9Fc1Q4IxIMr18wQv/bip3 PZ0EL6Dhrso2ONhLAgOH88kvCm2eVJVe2lUTc1GcQ25XT4tVV7daBxA73YhvkRU6UDn5 vZ9nLyp87d3xH3/bc/2prkrglaRn+ZvL5sgvAI+K+kDYRCIGs/lTVjLH8aNkt+cug/u7 X+FpUC6A0ysoqdKi1be+QdRmNWfqdbEz5+snNEhU8kbS5+KOr1GAJnLZBxzERZkQDtJu IxH/lj6YJCAUjO3oxMy6/nKzi3EZzm4rU2ToC83j7KJs583eNPEnnGGX1EKlq5Wrlp+3 T9gA== 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=D2W8F1sAZtc0yTYs0Mmh21SuyxorW4VzcjveXywXwYU=; b=BEPJXnol8XPsHrnzTBOCr/EJICIy8c133RVAzPvE1bS4MmIHfrNH5jBEu+lrFU4NiW eVtRKVdAyndfYsvqf8bj/lTrjDC7gdBZPuW3Hxo8vO4lPsMtGeoIeCUngARFJp+WMSJH ATP3fZxqYOf2Uo3Cav+Q3DuXfTUYwpbax0SDSJnQaTOQQQ9BKMGCTDXlrA+Dwt9TeSym nuapZe4vJK8uzbcQJGuoczfRh4+car9oua93MxJWqZ+MAYOksOMuMfVvEnxiB2MtEq1o ATmafwGZdzVeZ4HXZKNPJCv5y1DCLpmqBACIhLr0GPy4xM3eorHDvNnRHMYw1oVRVgH4 JFwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=h8sdz655; 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 t140si7003079oif.99.2020.03.31.02.06.39; Tue, 31 Mar 2020 02:06:51 -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=h8sdz655; 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 S1730821AbgCaJGW (ORCPT + 99 others); Tue, 31 Mar 2020 05:06:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:47656 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731110AbgCaJGR (ORCPT ); Tue, 31 Mar 2020 05:06:17 -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 033DF20787; Tue, 31 Mar 2020 09:06:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585645577; bh=bDOyWPwtHpt7ua7OxR166RVFsXRO6Ja9g+epQkrZGuk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h8sdz655PirnWF16EjQiP+zs7EnzFUe4aFh+9Ft2qWXkp/yPh2t7hMWfECO5sh62d HCEbul9w9UlRt2oqWsmRLfk9Cb0imosWwjLBuBao+bbnxpWvc+jeSD5cF+2eZj2UkA i+VeJzHJZySTL0Xq1jLyncR72oTJly/7vFJwrczc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, stable@kernel.org, Roger Quadros , Tony Lindgren Subject: [PATCH 5.5 096/170] ARM: dts: omap5: Add bus_dma_limit for L3 bus Date: Tue, 31 Mar 2020 10:58:30 +0200 Message-Id: <20200331085434.448152753@linuxfoundation.org> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200331085423.990189598@linuxfoundation.org> References: <20200331085423.990189598@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: Roger Quadros commit dfa7ea303f56a3a8b1ed3b91ef35af2da67ca4ee upstream. The L3 interconnect's memory map is from 0x0 to 0xffffffff. Out of this, System memory (SDRAM) can be accessed from 0x80000000 to 0xffffffff (2GB) OMAP5 does support 4GB of SDRAM but upper 2GB can only be accessed by the MPU subsystem. Add the dma-ranges property to reflect the physical address limit of the L3 bus. Cc: stable@kernel.org Signed-off-by: Roger Quadros Signed-off-by: Tony Lindgren Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/omap5.dtsi | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi @@ -143,6 +143,7 @@ #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0 0xc0000000>; + dma-ranges = <0x80000000 0x0 0x80000000 0x80000000>; ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3"; reg = <0 0x44000000 0 0x2000>, <0 0x44800000 0 0x3000>,