Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp6601985pxb; Wed, 17 Feb 2021 08:32:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLBIIQNsQEhzbCgkXXguFoARfUHd7zAsz2cTyG7zHeYO1ePdHzlMNE5U8OmTozuFsT20rY X-Received: by 2002:a50:eb8b:: with SMTP id y11mr23678985edr.216.1613579572659; Wed, 17 Feb 2021 08:32:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613579572; cv=none; d=google.com; s=arc-20160816; b=d8UxTn4QVwwW9dQjxZSJfUDg+68syA6HPPRzgmETJhTuWulLAmuuEmho7cIDBPyvpP 6l7KzG5ZMN7kI2/+NsWTxewW4+oqe8dWTmcjcT3WjRIeU9Uk3oKBmUUCBJ2Bf4gUKJtq 6j6Y8MesLm2zdzmqg5rHkUYzeQk208aNifx5i/SBxawNKJedLnFPn2JIlJ+jx/IEXFH5 tqWWsFc5t1NMHi5G88AzmtXgrBeMPhk+eKtKYl4VbZsMB8FenaZMDHzhqxkqZmmynOWZ AvbXk7Nal3u98vXVdibKffVAcTQt+BKIxIsEEPfzFXZNcykEMC+om7Xu2cXI7gjOKAN6 z1iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=/jzfK0/9EkcSimxv27PVV3fjOaOvPua6hbdJLmW1rj4=; b=D1Axs1whDTCyxbkjRre9NPnoGfyRVz3YRunKFs+6pdChP9H70J5jj3SJAkiJk2/6Bl +2ozHOahDWDtMjPWSJR4G2ypSj28Cu7xYMbB/yfY1hyXW8WUBIGBcqRVt9JIYGwqarih dR/5nJRt5HG+YNKLNwcqfFPbn1Cq6CV4Xbe3fEisv2xysJ/Nw37C9pGNLwMBMA3tcDS2 rUXKOfcvM8qVVjAA4W0eHaGJBimS4c6GN2qFz1Iw9VOuOqDEbbyNAyBJH9ePGR8FVmwm MxdvEF+LE50dvUfMc59aRrUssEGSi6880ooVSzn5tYb7uv/S1Wo7dTKl7EvVySkBCgqg OXhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="QqS/Lrqu"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hr22si1581439ejc.388.2021.02.17.08.32.26; Wed, 17 Feb 2021 08:32:52 -0800 (PST) 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=k20201202 header.b="QqS/Lrqu"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234211AbhBQQ2V (ORCPT + 99 others); Wed, 17 Feb 2021 11:28:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:58882 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234193AbhBQQ2C (ORCPT ); Wed, 17 Feb 2021 11:28:02 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3F06664DFF; Wed, 17 Feb 2021 16:27:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613579242; bh=48uDl0cK0TcRMhfYwNZd76eaGCNym7qStjlm6Y7QXUE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QqS/LrquQEMaM4nTE53Kk8otC9u21gFaxqJITH/nSi+v+enHLlG986bZwBtnlkSUV HaT3Ag+fVD9dziO6hqWHbg5xwkJRyJKgo6cU5MTXuMkK3st8fByRFwRm+pXhSQzRgb dJ1hwG+QIfDmnsepmOrArDgNgDEN7z2Rm6ydWJ+9pJMZzbRINn/qCge10PfLgKBfkr /v0t1qZ4AfDvUSA2SQ9u0B4jdLDlkI36HufliVWGqWFpLHrT26r0uyN8zIuOw+sf5+ OYA4uQEzgBX+NmFv7bqR/yZ65vMo92gFnnf0vx1D3oRCPz7nI8Rsfcs1UvOOPjxGAA qzpC6k2aWAO/A== Date: Wed, 17 Feb 2021 17:27:18 +0100 From: Marek =?UTF-8?B?QmVow7pu?= To: Andrew Lunn Cc: Rui Salvaterra , gregory.clement@bootlin.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: turris-omnia: fix hardware buffer management Message-ID: <20210217172718.6fdf412e@kernel.org> In-Reply-To: References: <20210217153038.1068170-1-rsalvaterra@gmail.com> X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 17 Feb 2021 17:22:17 +0100 Andrew Lunn wrote: > On Wed, Feb 17, 2021 at 03:30:38PM +0000, Rui Salvaterra wrote: > > Hardware buffer management has never worked on the Turris Omnia, as the > > required MBus window hadn't been reserved. Fix thusly. > > Hi Rui > > I don't know all the details for the MBus Windows... > > Can this be set once in armada-385.dtsi ? > > Did you check the other dts files. Do any others have the same > problem? > > Andrew armada-38x.dtsi defines only ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>; for internal-regs. It probably depends on how the mbus driver works. If the mbus driver maps every window defined in ranges, regardless whether they are used, then we do not want to put all windows in .dtsi file. Marek