Received: by 2002:ab2:3b09:0:b0:1ed:14ea:9113 with SMTP id b9csp128442lqc; Thu, 29 Feb 2024 12:17:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU3Q6z3oCykS8uLGv7IuhZKKU8BG8seLD3qehnGCbFyIcAWUEWrdb+VBvhZSQZiE6B/grUgm8Ml+dNtgzb7kUHgF3S5Eh2oRk5PtlY7lA== X-Google-Smtp-Source: AGHT+IHHYkFWJgq593HwH1UV6JcLTcKPSN0uDote4VyYjHXUCW97xg43xJptQfgzQYTt3KP8OMr0 X-Received: by 2002:a05:6a21:3417:b0:1a1:2793:a386 with SMTP id yn23-20020a056a21341700b001a12793a386mr3339382pzb.19.1709237868988; Thu, 29 Feb 2024 12:17:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709237868; cv=pass; d=google.com; s=arc-20160816; b=atbdfOLJFRXC+s4rfhA2u7wo4LRMKDaXbkniyCgOPL4awZCYWigE/HQLqKrSfPYkmZ xxii3oHdp58tOb+fUYRUh5d0Y/5Nvim9OINFeqZb60DOtVtGYvvv6v5MhunvPiSB7376 N8wbv2uk8norkHDrXX2iaL8YH7UU2cPSakGUCtsKfCE0XcI2fHxT6UOI+vTSc9mHCzSo aLZHRTsKiTGVtgIFk86mH0mQ+RioeBYvTGi5TDBDQa0lmixJrsVq6dNJBxKfLMs37et1 96U5Jy4kjZxbulGSVPiqZlQ2CWJzkzv4uH/niQJ7vA7kGo2d+cCKEnqn5AfK2twmAb00 t/bw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=k2r8IOXtJ70n5tThq3Y1jG8vv3s/X3lJlo+8igE+wn8=; fh=xCyo91e0kX8LwSePgQe9eDC2v97eOCjeE0d8e650AGM=; b=aEwk2YgDrVOfMRDZTiPnfUN5vVDuXo8YfCu1dqS0RVdkzgci7Xzq05CmLDbWXFfVr5 2rWjgycxnaJwt1JLXYhQKfd2YDSghpeh5SK6KQMlcyG37u36g6nM5ZhLvC/haLeeCNO+ oVP298P6LvExugn/I0MSnZ5K2r6olX53xIlexxIrAFDJOyGK1PQlkMEx7UFZfcKo6WgK 8/xPB9KJ1VRPCeW2ioPS0nkyWNdR+UQFFmZrgp2oXIlpDyomxEwtb7+NtDDSL8GFkVy0 NVQdCEnAW5ZqafZEW80g30Nu61dJHob9t3nACV7bPDBpLpwkQ6icTuQwiLtgN9ppQXVw RlIQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KKhXyWtX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-87407-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87407-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id c6-20020a6566c6000000b005dc16b88e8dsi1926531pgw.353.2024.02.29.12.17.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 12:17:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87407-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KKhXyWtX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-87407-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87407-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id D2135B21D71 for ; Thu, 29 Feb 2024 20:17:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7CE8D14290C; Thu, 29 Feb 2024 20:17:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KKhXyWtX" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B14F13F45D; Thu, 29 Feb 2024 20:17:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709237852; cv=none; b=Mc/yA8ExdmL6yU4uGzSXHVzTlWJkgxgc9PANhjiG63UqrveK32wMsp2jbg1aIRrSNOubsU0I/fPIucWRDuVJwBmZ4BQt7K7BzYr1f1a+5yFrD2ckdIrxBoNekJdWv3/Tc6L1Qr54RWt0ws5AGgtcVVRmzLS5mt5MyF+vVrIkscA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709237852; c=relaxed/simple; bh=8n5E2LNXBRgRqn3a4H2ui7bU8RY9UINwxZyuyW3QsfY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=e4QFYWfgk6+Ok9M1YifpXfQrnMoOPIQXEjOSI3yK6/205aadchRqfUy60jwgEBq/37UlkWovoOSFbfz/muBE8TAf4LXxd8CcC/EuBaPGHN9357eRvUX449kF5OYjoP1fQzAH9U2ZwkmnfF0L3ULdjAtsfXNAGaeZndbpkJgn7/s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KKhXyWtX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3CA15C433C7; Thu, 29 Feb 2024 20:17:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709237850; bh=8n5E2LNXBRgRqn3a4H2ui7bU8RY9UINwxZyuyW3QsfY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=KKhXyWtXJL9AeWBjmkp+BjnZVMoeL7I7O6cKVu75Omefa3kkRKKkP1B6mcxvyt0I8 Hyb9ZwsVKu/K12QbKYij6JMIOnn1XJXBQ3yrUqPWSGDCmumQjMEuKxxwjHqm6Fu9H6 7VOtYGFfwbhhM8XaxEpcfiv27VgfPyAi+9drfZPP7Trsie2y2i0+XLZWSWg9DyjqWL p1MPUJWGNbKAgA9UZSt/R0NvlrktC0pDfAo18+F7gbtyfBolL//rk+DJKxgQ+wXZRF KBKrhWJpG/O5b+6/6KC9w+KLLrOAMr8kpyKLOpWItuGTPxfvHp2/V/SXQszNgD36U+ b6KMRbw0ZHnow== Message-ID: Date: Thu, 29 Feb 2024 22:17:23 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 1/7] dt-bindings: iommu: Add Qualcomm TBU bindings Content-Language: en-US To: Krzysztof Kozlowski , Georgi Djakov , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, will@kernel.org, robin.murphy@arm.com, joro@8bytes.org, iommu@lists.linux.dev Cc: devicetree@vger.kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robdclark@gmail.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, quic_cgoldswo@quicinc.com, quic_sukadev@quicinc.com, quic_pdaly@quicinc.com, quic_sudaraja@quicinc.com References: <20240226172218.69486-1-quic_c_gdjako@quicinc.com> <20240226172218.69486-2-quic_c_gdjako@quicinc.com> <1239b980-da57-4cb1-bde0-47550dcf1065@linaro.org> From: Georgi Djakov In-Reply-To: <1239b980-da57-4cb1-bde0-47550dcf1065@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Krzysztof, On 29.02.24 19:59, Krzysztof Kozlowski wrote: > On 26/02/2024 18:22, Georgi Djakov wrote: >> The "apps_smmu" on the Qualcomm sdm845 platform is an implementation >> of the SMMU-500, that consists of a single TCU (Translation Control >> Unit) and multiple TBUs (Translation Buffer Units). These TBUs have >> hardware debugging features that are specific and only present on >> Qualcomm hardware. Represent them as independent DT nodes. List all >> the resources that are needed to operate them (such as registers, >> clocks, power domains and interconnects). >> >> Signed-off-by: Georgi Djakov >> --- >> .../devicetree/bindings/iommu/qcom,tbu.yaml | 65 +++++++++++++++++++ >> 1 file changed, 65 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/iommu/qcom,tbu.yaml > > Heh, I wonder how did you solve Robin's comments. I don't see you > responding to Robin. Just v5 sent... Yeah, i didn't respond because his response was clear to me. He responded to the fundamental question whether to model the TBUs as child DT nodes of the SMMU or as standalone nodes. So in the first versions of this patchset we tried to explore the path with "child" nodes and search if there are any other implementation than the Qualcomm one and try to find some common binding... and Robin's objection was exactly to that. It seems that adding more functionalities in TBUs (which requires resource management) is only a Qualcomm thing and common binding does not make sense, so now we are going with standalone DT nodes as he suggested. Thanks, Georgi