Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3040305rwb; Mon, 16 Jan 2023 02:58:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXtE9YAKZlSJzTSq7UlGBBfA3mSAxAgGgpxXgFzN9FUMpZklx851nAV9itJBD6U03gGb9U3F X-Received: by 2002:a50:eac6:0:b0:461:d042:80db with SMTP id u6-20020a50eac6000000b00461d04280dbmr80271691edp.0.1673866716117; Mon, 16 Jan 2023 02:58:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673866716; cv=none; d=google.com; s=arc-20160816; b=gR+ouGuVhK77DMlVYkpOmM0BDpIXMVtnuxplqRlX9Vr3sleeHoRbfxnESAZMGPbIQw OW/fF9SaWprjjTg54rywDHYCkJiHnihx0lByFcEy0kpX2R9U0tT+cluSlV+TyNM8NAsS 2Cc8lQOBnLM0nWXeVfcBT7Hv5u+NCQJZMNIxs67OeUiS1js4SD3nlmLBxPMUORnwnEFL nZtuqpHkbbryCKXiat7vZ7UOEOWAOQqCwFHk9bFmAmY12vxu1Ra9Y6OCVjsqJ9WS05GT /ceYQdoq7VsK0AgnGi98GppU0KbDnnoo+2Y4k5QPSn+Hna0n+7554Z5scb22YZFyUXmw phgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=8a9qpEIewqaqSAbQg7ntAUW7gDieheAG/80rlSxUSLE=; b=hHnNQR15ONF9PE6RhceyAGYt32s4qbhuxEE8sLnKI/Vi/LaCGN6fRRzpT4TRH3n3oo fS5E5R9Zbv0JB3ABr5AfCs+2ufAQFmAQ6K7PXWomubnyfw/1uW1RLVD76QiqExlQuv3a v9Qc27JM12utzcwWAa7oGkv+dRcj/j3zCiAWRKqkMrkW4SanzHKQIr/dpsVk2LAq11Cb plY4of5Ag2fWpPpa0PNn5hRU/pRMctDYU7+QzC5G3uOlELk9947vSbLFrd4MgcIOxCMp Ipjw3z201MguJiorPD+NagAo4dCBTZJU25SeVEVeFjq/aAdPl4AUQnLqJ8jPgRJBal3x cwLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=VU1ikWfY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id er10-20020a056402448a00b0049d4fe939b9si7961796edb.434.2023.01.16.02.58.23; Mon, 16 Jan 2023 02:58:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=VU1ikWfY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229562AbjAPJrg (ORCPT + 51 others); Mon, 16 Jan 2023 04:47:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbjAPJrd (ORCPT ); Mon, 16 Jan 2023 04:47:33 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2135C65D; Mon, 16 Jan 2023 01:47:31 -0800 (PST) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 30B6866029A5; Mon, 16 Jan 2023 09:47:29 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1673862450; bh=33zIFHwmx9BzY/eZo1j7iwlJxGh1pbqYh9OLwq0AIO8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=VU1ikWfY30pNkiJqE3XjwoKgR44syhpC/71YWMr5OFxsOcNB/z4aLE2aDesOeWB1+ 1OhBFUG0uMCPAYZihjxzOndhOH4HcnDMH6Z3NNYRWYba7gkmK3UkhtDIsVCg29bFUP XdeqtHlTY/XjseoQfuIrR6RC6RH0qZv4AHoXdFfciqrLDOF9CDgKvVd+twcxWlY33c sqp7zDq9lTDBuosMn6mfyF8dJYKjSt7G2u9upE8YOO4bXqRus0rPafoZaBP0bRnh4+ 9r6QLLSqzK1oAXdA8ntWHCBXf3vOeOEW/ZzrRsaSqQ4zaEPZvFW6gdhZioGC4p+cIl yZmKVcQLdH39Q== Message-ID: <6aa2d375-144f-c66d-0bf9-24d9f8226907@collabora.com> Date: Mon, 16 Jan 2023 10:47:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH 08/10] arm64: dts: mt8195: Add dma-ranges for the parent "soc" node Content-Language: en-US To: Yong Wu , Joerg Roedel , Matthias Brugger , Mauro Carvalho Chehab , Rob Herring Cc: Will Deacon , Robin Murphy , Krzysztof Kozlowski , Hans Verkuil , nfraprado@collabora.com, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, mingyuan.ma@mediatek.com, yf.wang@mediatek.com, libo.kang@mediatek.com, Yunfei Dong , kyrie wu , chengci.xu@mediatek.com, youlin.pei@mediatek.com, anan.sun@mediatek.com References: <20230113060133.9394-1-yong.wu@mediatek.com> <20230113060133.9394-9-yong.wu@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20230113060133.9394-9-yong.wu@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 13/01/23 07:01, Yong Wu ha scritto: > After commit f1ad5338a4d5 ("of: Fix "dma-ranges" handling for bus > controllers"), the dma-ranges property is not allowed for > the leaf node. But our iommu/dma-ranges is 16GB, we still expect > separate the 16GB dma-range like: > a) display is in 0 - 4GB; > b) vcodec is in 4GB - 8GB; > c) camera is in 8GB - 12GB. > We can not expect all the masters add a parent node for them, > especial for the existed drivers/nodes. > Thus, we add whole the 16GB dma-ranges in the parent "soc" node. > > Signed-off-by: Yong Wu Reviewed-by: AngeloGioacchino Del Regno