Received: by 2002:a05:7412:9c07:b0:fa:6e18:a558 with SMTP id lr7csp447541rdb; Sat, 27 Jan 2024 13:40:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IEru5J6zkSidzqCttGPuQr/4IHfib3KfYjBcyeP2szzD/XDi1gmG5G3/QKNCArcfq90dyEg X-Received: by 2002:a05:6214:2a8c:b0:681:7fd6:9983 with SMTP id jr12-20020a0562142a8c00b006817fd69983mr3104830qvb.125.1706391610124; Sat, 27 Jan 2024 13:40:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706391610; cv=pass; d=google.com; s=arc-20160816; b=vjZ/FJNypZ/5K/9vTBU2tFXX6FJffCs1MmN/d90SZTmAJMuFITDZH2PyvCOCi2mN5t Ip2JKNFuJQelZn6ZVQzKcwL+af5Uo4ZxdUI45FrJvuAwhanDjwnfDc+y4QPJKczOqmVS 0c4AdhF7/VKo3Ef7n985Jafm9qKsW+7n4TJLXRWsSnMx6H2bucpFzEmFStYx6dbdmuSY u8KnpHDUoDS4ycQCe6kY31Nry8bPe4CM9gMsbgFcKY00QUcH7pg8PX/r8MQ3XQhkIzdB 3xeGuGfqbsWANSjTBu33Y4469bYpIOHy2liIBvJtk8gtXbwNUWLMnmJs4N6+oiOjEF50 86Tg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=n91qf9cJtPl2yLt4TPWxg2nCOmrxxMzvjnjyMyh4fOM=; fh=PsEL3UNsidDIWWvYt1gpkv/yn18q0ysynK8BR5HAuYw=; b=wdI9bN3M4jnHYiISWIpQ7EniOeRgdEenhDesrjOwBhOgo5lQQh9EUe/kpocuygRAqe sGmHqunEmundnTMTrFuTipil2RctsgdeuS+h6qTeQhuCWm/BSwpBItBdE2SP1OmIQpbq ykuhxKQjPIB+PM7vMFptWa3J6MLYYOU5ZVVjssi4ZrSJMdMFEaBVQaHg+cBGpPH7wJCW lS8elfujUaWLP3RYAV5k7Vnp+Fd/yy1jdDDYAvVRUekYZsm/f1vmWXt9JkW50fmVe6uu hA5mwXLpTyv59DXGad+GO8jBSewb/dK5fE7ywocBswM8nwwVbonfcWtscTfaJiJ/swjQ Egqg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=K9mpjh1w; arc=pass (i=1 spf=pass spfdomain=z3ntu.xyz dkim=pass dkdomain=z3ntu.xyz dmarc=pass fromdomain=z3ntu.xyz); spf=pass (google.com: domain of linux-kernel+bounces-41342-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41342-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id k13-20020a05620a0b8d00b00783cbc0d9dcsi4177969qkh.83.2024.01.27.13.40.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 13:40:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41342-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=K9mpjh1w; arc=pass (i=1 spf=pass spfdomain=z3ntu.xyz dkim=pass dkdomain=z3ntu.xyz dmarc=pass fromdomain=z3ntu.xyz); spf=pass (google.com: domain of linux-kernel+bounces-41342-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41342-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 255981C21D8F for ; Sat, 27 Jan 2024 17:25:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D39F52D04F; Sat, 27 Jan 2024 17:24:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="K9mpjh1w" Received: from ahti.lucaweiss.eu (ahti.lucaweiss.eu [128.199.32.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8AB522E629; Sat, 27 Jan 2024 17:24:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=128.199.32.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706376297; cv=none; b=l+r5Ue493NmytYiu8Rh3cA+/W5p7FG2Z83m2tDAyvIiGRsqavv9QquMkQyUNuaIhSBv77ISzcM2E0xg9smFrsQT7KhA3by99DBhWnaAJ4eYysZ/JlaNv4ZQOMnbFX1/691Aps/kG43IWbA8cDTcRR1qV+wFDKHvzuttoZpzcUBA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706376297; c=relaxed/simple; bh=um2zQi0rBzC8vtFhb5/Jr5Ju8k+jgRVIJhHFh1WG0GQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=g4oxQLhWOX1beG1Il4PqsUqSLs33HjC01tCtnCyvzMTLvOs/jP9C8drOOnWmnn88djDarKuktzswzqj5w4wVPvgZdy9u0dyClbM47hFvmPp/XRat0+s7QJP50PHySHpvTyfQnfwUL4KZSzWZVvsHIJ5gw/qAAKEMIjespW/LuA0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz; spf=pass smtp.mailfrom=z3ntu.xyz; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b=K9mpjh1w; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=z3ntu.xyz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1706376288; bh=um2zQi0rBzC8vtFhb5/Jr5Ju8k+jgRVIJhHFh1WG0GQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=K9mpjh1w99h/qZJXyhsZ0vx7eSlMDE5z+MlrrtjViAdsFilQbubnRXXZs7ILkS+O+ HZYrfKY21rt9or3WbeMF78RgtUYmofwTbRC9UFNIpe1BR7slgcfujz52TIGKdFFBCN tTlXdkxr5ojIaE5/MqPC9ODVhxrvqpJ8/QAIrPJI= From: Luca Weiss To: Dmitry Baryshkov , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vladimir Lypak , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC 1/2] arm64: dts: qcom: msm8953: Add GPU IOMMU Date: Sat, 27 Jan 2024 18:24:46 +0100 Message-ID: <6009977.lOV4Wx5bFT@z3ntu.xyz> In-Reply-To: References: <20240125-msm8953-gpu-v1-0-f6493a5951f3@z3ntu.xyz> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" On Freitag, 26. J=E4nner 2024 00:49:55 CET Konrad Dybcio wrote: > On 1/25/24 23:24, Dmitry Baryshkov wrote: > > On 25/01/2024 23:56, Luca Weiss wrote: > >> From: Vladimir Lypak > >>=20 > >> Add the IOMMU used for the GPU on MSM8953. > >>=20 > >> Signed-off-by: Vladimir Lypak > >> --- > >> arch/arm64/boot/dts/qcom/msm8953.dtsi | 31 > >> +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) > >>=20 > >> diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi > >> b/arch/arm64/boot/dts/qcom/msm8953.dtsi index dcb5c98b793c..91d083871a= b0 > >> 100644 > >> --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi > >> +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi > >> @@ -1046,6 +1046,37 @@ mdss_dsi1_phy: phy@1a96400 { > >> }; > >> }; > >> + gpu_iommu: iommu@1c48000 { > >=20 > > Nit: most of the platforms use the adreno_smmu label. But maybe the > > msm-iommu vs arm-smmu makes difference here. > Not really :) >=20 > Please keep the labels unified Ack, renaming to adreno_smmu >=20 > > Nevertheless: > >=20 > > Reviewed-by: Dmitry Baryshkov > >=20 > >> + compatible =3D "qcom,msm8953-iommu", "qcom,msm-iommu-v2"; > >> + ranges =3D <0 0x01c48000 0x8000>; > >> + > >> + clocks =3D <&gcc GCC_OXILI_AHB_CLK>, > >> + <&gcc GCC_BIMC_GFX_CLK>; >=20 > And align these They are? Also any comment about the issues listed in the cover letter? Regards Luca >=20 > Konrad