Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp790339rdb; Fri, 2 Feb 2024 04:20:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IHX8VU6vlx5ew2k9o/yYl6KW3mSqCugC+23FY6tCE1GXdIcS9YIC6dBsykLQAsxcf9bI1FD X-Received: by 2002:aa7:c6d3:0:b0:560:6b4:4789 with SMTP id b19-20020aa7c6d3000000b0056006b44789mr176377eds.20.1706876416272; Fri, 02 Feb 2024 04:20:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706876416; cv=pass; d=google.com; s=arc-20160816; b=tlq3L+EC/Svmhz5xky3hQv0QQ+UKnLoP+w+qelju4iwPxPXN9UgUHF4SeHxkdHuLoZ 2YKOZJo8cl1knX2WMD/FU9KU4NdGfHZPnyoUEhMJOVDKoYq3v2KiSFJ41hEz0DCaqzTb WP2KyKz5CAhomrqF1h4+50IC7rdd5fDI/xJQRDCtc+zVlXyicxB17UqzmF1y8S6BLe5o STvdbrP6A3ezgykumJGkt/jt6W58gCMauvIBmoooH7f4pGmP/l5hAEP4a7IIqStLHlhU BYAf/ErNWCzWOZKdwCktvq5Q1wqOKYdxI5kjD47e77bKz8IgcqP/pQWKjhGmvVOXJOgv tzMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=HiajaXq4ADJJJV5m89dGHzIE2BPOaQ5OEIoMtsAKSSw=; fh=4/F9PiSNatLuhSFu8Puf4ORRtmFnO2Vzshzq8qV2g+0=; b=HSqh8sQFJyh/krYPzYsHzwJ57uf3X0pVIvXIrnN8i2W5UmZCJbr7pK9ksUF1xi0fC3 WF842LYhXkd1S/9tvlIpIYPbi6fYAV2zzkDLTqrtJMXr3n4lL7fITM7RYTn8qPyjMGwz k1qyT1HnPyE79jPlgIBxj9znhuCtm6iTKeiMK4J0LA/P7ozaIuQzLSLN+oXSmKpT7K1d sCwHBxfIP9IDMnM47gwa06HTFym831/wxmMwmT6Ijxq6xR4SW9XJBxCDyF2LOy4V0eTz eVz/ewQFKGFcmeisR6JFoJdNa7sdPMCN4SPrVYtmqemb8Pf8hnhg+Lp36OX6Qi75kEZf QTPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xIPmnWw5; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-49826-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49826-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCUErN05GLPv4bSlvNKS1zMFr2lvYsfR8WLSIV28rwnkgZ/EbOss0v5p3rmPSUqltPnkxfQE+pbFJQcl3Ows1ug95c5E6dNR1xOR2f7+BA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n19-20020aa7d053000000b0055fe2ee6bafsi781806edo.36.2024.02.02.04.20.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 04:20:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49826-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xIPmnWw5; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-49826-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49826-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 am.mirrors.kernel.org (Postfix) with ESMTPS id D53AF1F290F8 for ; Fri, 2 Feb 2024 12:20:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 40F34140799; Fri, 2 Feb 2024 12:20:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xIPmnWw5" Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (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 6656913F00D for ; Fri, 2 Feb 2024 12:20:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706876405; cv=none; b=d9B2wcdRc8sjeUm+r/0UOe0iKhA8bxvdBRoyRQdGwxId3nNq4GjjDeGjR/nLa/yiD/D0c8C/h1Q7bIRsXXq2UQ6UR4Ap1Y/HKyPGRL5gPLF8o7lNwO86f2/13gNgH3sOoxP05J16tNpv1JK/wmHNBsEyN0Efh22gGekdaYsG6EI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706876405; c=relaxed/simple; bh=ZFLQdei8xlg1cwqkesOsjr5bgM9I79Lr3BOF4Qbotno=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SVUD25p4+dLAR9tg7P3a4SADVZRw9VaQK63bDNAU6WM/MtpCrdfDG9yH6XAQz+o7Zv7T7RerejQx5+tIrYPBSshrDuqeWPmvT4jVtVK+9BiMM+57xD4nnBkEfNtlszBvQG8GPl+/5VgqRVxlFxf5gSduipqkPaHWgWn+EHbPd4s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=xIPmnWw5; arc=none smtp.client-ip=209.85.208.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-557dcb0f870so2892864a12.2 for ; Fri, 02 Feb 2024 04:20:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706876400; x=1707481200; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=HiajaXq4ADJJJV5m89dGHzIE2BPOaQ5OEIoMtsAKSSw=; b=xIPmnWw5JxcztMy5CboIwIuMMm41oExIwr+OE7BnWKRAFXZzXXofRfaPS52eEBq7tJ lsTS+To5l/QAj7JOnCHSyNKIr+6vCOkE+xSCF6TM8noEkv+IlE1Aa7XH6VsXI/U5SBt8 cstU6oYOWPUIryAxvw/jg/tK9XM/x1tgn0qCXccdUKFF5UATA24BrkgNNlsZJX3fPjk/ qZOwT+Dj3wnD1FFhOAwyl55gg3LNjoi3peT/C422bvclz13LQ/7Ybg7ki8nAxPmKnHdy f2SDDCzHwLPE6eFrgFHV4dC2yLpQfMv+ifNmcp+qt+ZOJ+QfWpE7WWeKSgDlBrQqYsGD hEpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706876400; x=1707481200; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HiajaXq4ADJJJV5m89dGHzIE2BPOaQ5OEIoMtsAKSSw=; b=Z8CNh2u5e1X7W0iFeDtvhXVOHdrDvHnS6YSWvZlBVemOdKTkJe7RLsnM9tBwJYhtFx t7khtN8HtOYuNXC/VO0KylSVo6uF5/Dqwb31xZ6lQprkQa7yjctTz3Lezmq7ZqIQTVHc VxQudLXJeSXPJ4wgK6kAQ2P5385+yox6SHYJaMmcQSdAvK+U4bY9snV0LgapWyH+rwPA Y30RDH0fZbfAcV2Rw2YxzLsVcpf7N+emzgS/0adfnwdpFMqgUUhQC9YbG9KpxrfRyyQu ZHbhiWeXYXjZ0SPW1z8JbmaizkoDarZxKT5tUgFUjhMROhF+unECADXv4HVwzR+cUa4G joaQ== X-Gm-Message-State: AOJu0YzUY3cfmRKwAjUTNwe5vZaoQyGVF3ZBAEI/IjAZVH8U+tjKc9Ie gKGKqmNYED610wEcJN2dAL6kuiw5dPVG7A5GL3mH96WH30U1QkCzBWyC1G0+kTU= X-Received: by 2002:aa7:c444:0:b0:55f:fd22:ff6e with SMTP id n4-20020aa7c444000000b0055ffd22ff6emr779342edr.39.1706876400517; Fri, 02 Feb 2024 04:20:00 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUKttvY3oKSyHZXC8LNqHvkOTYN6ZYqt2BnSlOUcJYynbbCZxUdaRqhPOzV7i2Vx99T3vsnsyMyZkXBZaCEQj10idzfGibTtC9cXmmL4c3CbIny3z4pDsjTGSBIMuTAysWZ71tNZ2HqtStFQQUDUcspk46g9BP0Wsdeg9D7q4YfiC5dEk7PNvAaXNDRenTUYdpSSqGulOPNESuc8XnX7AHo1hG1rSizLgJ5W4y8UJj5LPkMhSTLUYmSm52KHV1CoH9eI6TfJ5ycamXs4MdWsJ/YHKIQ5bt361YoZDncZxyJdlZ1wvXnNAvsltt84QYs3mBJ0xRa8qOYtsncepA2XW3h/AmBpB0Mdy+l8yc365irLFWQjqGtvxJEu46fVpWGEcYmf8rddKSssLANFjKDMSk6decyba1kcHuCE5pO4QOveVEp0S2H Received: from [192.168.159.104] (037008245233.garwolin.vectranet.pl. [37.8.245.233]) by smtp.gmail.com with ESMTPSA id c16-20020aa7c990000000b0055ef1d4fcb5sm751602edt.9.2024.02.02.04.19.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Feb 2024 04:20:00 -0800 (PST) Message-ID: <9dabe028-278c-4273-8a57-1cb080c1019d@linaro.org> Date: Fri, 2 Feb 2024 13:19:57 +0100 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 RFC 1/2] arm64: dts: qcom: msm8953: Add GPU IOMMU Content-Language: en-US To: Luca Weiss , Dmitry Baryshkov , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vladimir Lypak Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240125-msm8953-gpu-v1-0-f6493a5951f3@z3ntu.xyz> <6009977.lOV4Wx5bFT@z3ntu.xyz> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj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.lOV4Wx5bFT@z3ntu.xyz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 27.01.2024 18:24, Luca Weiss wrote: > On Freitag, 26. Jänner 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 >>>> >>>> Add the IOMMU used for the GPU on MSM8953. >>>> >>>> Signed-off-by: Vladimir Lypak >>>> --- >>>> arch/arm64/boot/dts/qcom/msm8953.dtsi | 31 >>>> +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) >>>> >>>> diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi >>>> b/arch/arm64/boot/dts/qcom/msm8953.dtsi index dcb5c98b793c..91d083871ab0 >>>> 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 { >>> >>> Nit: most of the platforms use the adreno_smmu label. But maybe the >>> msm-iommu vs arm-smmu makes difference here. >> Not really :) >> >> Please keep the labels unified > > Ack, renaming to adreno_smmu > >> >>> Nevertheless: >>> >>> Reviewed-by: Dmitry Baryshkov >>> >>>> + compatible = "qcom,msm8953-iommu", "qcom,msm-iommu-v2"; >>>> + ranges = <0 0x01c48000 0x8000>; >>>> + >>>> + clocks = <&gcc GCC_OXILI_AHB_CLK>, >>>> + <&gcc GCC_BIMC_GFX_CLK>; >> >> And align these > > They are? Not in my email client :P, anyway.. > > Also any comment about the issues listed in the cover letter? I think v2 on all smmus on this platform is right Konrad