From patchwork Wed Apr 1 16:17:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 228526 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5880FC2D0F0 for ; Wed, 1 Apr 2020 16:20:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 14AEC212CC for ; Wed, 1 Apr 2020 16:20:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585758044; bh=jNN9E+/xTRenIWG5q3qeSRkAywZsGhFOXEpfGwyhp48=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=r7ov921VladnOI0yu18ZAuMLv8+wplHmzsDOp0EqhkC9v4pXf8fZlSVgXbbDCV1cY cqXwsLRRbRIlG70fucUvXKGY+In2QAZyDWQZswBwO8DFueyfmfdunvLUiJRKs6EuI7 p9jrFonBDaWNJXpDAnG+ybiAR0GCHwzb8sbS9Ipo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732274AbgDAQUn (ORCPT ); Wed, 1 Apr 2020 12:20:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:43414 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733049AbgDAQUm (ORCPT ); Wed, 1 Apr 2020 12:20: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 7FBDC212CC; Wed, 1 Apr 2020 16:20:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585758041; bh=jNN9E+/xTRenIWG5q3qeSRkAywZsGhFOXEpfGwyhp48=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NK40FgUlrI0+6oXc5+NsXuCfvHEGDXtjZudjACah+kh2J0GXoZWSyxVnzUS/NW+xs FKCwGXMAItHgJHU7AQQC311Pr6EapaXqZgJ/r8K9oC6RSY4PRGQAfPWlo2L+OxwbF1 tYJ6O2t2G1IiahN65lTPp6mz6IA0cgcTDKyg6gL0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nicolas Saenz Julienne , Florian Fainelli Subject: [PATCH 5.5 24/30] ARM: dts: bcm283x: Fix vc4s firmware bus DMA limitations Date: Wed, 1 Apr 2020 18:17:28 +0200 Message-Id: <20200401161433.172997371@linuxfoundation.org> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200401161414.345528747@linuxfoundation.org> References: <20200401161414.345528747@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Nicolas Saenz Julienne commit 55c7c0621078bd73e9d4d2a11eb36e61bc6fe998 upstream. The bus is virtual and devices have to inherit their DMA constraints from the underlying interconnect. So add an empty dma-ranges property to the bus node, implying the firmware bus' DMA constraints are identical to its parent's. Fixes: 7dbe8c62ceeb ("ARM: dts: Add minimal Raspberry Pi 4 support") Signed-off-by: Nicolas Saenz Julienne Signed-off-by: Florian Fainelli Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/bcm2835-rpi.dtsi | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm/boot/dts/bcm2835-rpi.dtsi +++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi @@ -15,6 +15,7 @@ firmware: firmware { compatible = "raspberrypi,bcm2835-firmware", "simple-bus"; mboxes = <&mailbox>; + dma-ranges; }; power: power {