Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3244500rdb; Tue, 6 Feb 2024 11:15:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IEk4JHIa0XmWCOkFxo0a47wKkjy0WQw83WwddXLTeLb5d5eqflFLkW62qZd7gMLmabxNJEA X-Received: by 2002:a17:90a:fd0d:b0:296:5abe:a862 with SMTP id cv13-20020a17090afd0d00b002965abea862mr544082pjb.9.1707246941012; Tue, 06 Feb 2024 11:15:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707246940; cv=pass; d=google.com; s=arc-20160816; b=CGt5mu6nbtFSp2FFCqlKNksrYNhc0vxTBwpiodqSQf2Hl19Gfnr9tKkyhVTyY4TQCi 5QzbXI0XnzG/3Z0V19IkjwioiQXfKzCFXZVwbrD3IhbdgU+Tji/bdn255XCmwlP9k2tS ipm+YFDXYQ+vrVjgmACkht1tvVSAVkycx2yIVoJQR1eACPRvkQngWKbCoZbRpQNCtMvw N+z6zRcr7wJnvCS6JEwrjXNsPOV87ZqEhPyTljKQihOCn/aQ1VMeT00rZmUhJvbqp1gv DI6V1SdVn/rfrV0dUuQToU8GKn6Re1s/TY8NeVAA+ENmxdrNNn3ao4Sc7tbfrA5UP2z3 LIoA== 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=MdMobT+8h7P/ZBNgynDgzGAaw5f0RjP4kU2V9E4+mMM=; fh=GyLVYlDyzyOXF2jb1sDgyxYL27rh4QtrH7EE6EUehRU=; b=b3jgZl/PD3FwX4CbL+lZ8uU7SW1buVHpa9ky9Wm0jkDscoPyNTbUDBAtiKjIEBtJHQ hmRPhoibwGSaaN+M1eMm1LihpoFcVTD5vYyIaJsg5hc2XOGzZmCGY3FJHRk41DxsuZ0X 5yr0gEcLGi+K1A7x7nM56VDsx0K46ZE4yvk4o7X0d+LPwwV16iKsfIvEaCLjow8r9wHJ rcHFc4vjkVgpT8cD0YKljME1ZILSkMiJ6iZ4w6il5pYWtjJx35t9WrScBNSV+HyQO0KT SFVYUrg4thv5WOEd+vpWEt47ZFPfGiu98mEpbPkTvoDiHyWblZhfSHZKhR/8Alu6pwo4 shhw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lABHGyib; 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-55542-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55542-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCUrjoR4OEUOPQfORh8okGRoXjTxRNShnEsQw0hijMBxre5KceArw13c8ZvtZ21qSvwN3Sy81SA3oLShm1EPVm5+80kZKjDtE2Jv7tSi6A== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id go19-20020a17090b03d300b002961cc0cda1si1562773pjb.83.2024.02.06.11.15.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 11:15:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55542-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=@linaro.org header.s=google header.b=lABHGyib; 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-55542-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55542-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 946A2B25EE1 for ; Tue, 6 Feb 2024 19:08:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C3AD51400F; Tue, 6 Feb 2024 19:08:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lABHGyib" Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (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 E94EB14A99 for ; Tue, 6 Feb 2024 19:08:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707246512; cv=none; b=Ey1DjRhZE8ZT2Ixp2h+J8CT0LuLavIyWSVUto5w9M6pt2vC95iNAIQ02aj36XDGbYihJ60D8wWlAohEAdA/LG6uqdpkGxO6nsfBWQHDlKB8qvMEMziu/7D1Wbuiy2Xpb0V2gjW5R0+/eM01JPl0lEMMcVCsHzhDeHF3WFZQWCDA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707246512; c=relaxed/simple; bh=UZTJjPcb2MjuJk4X9agIJ4O2gWUdi3IX7M8uOAzP3So=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=bIBLw+Ksy5llomrE2PJ3BoOWTpQrsI+YlYrhlEyygcfRuhSPiwP8fwdpo+ZPhzR2Snpbw3+gFHD706ppmRQ66f8NMO3IHHwK7ILoHobjug0ps/LkjWl8HU19/+blFvU/S8xuPqyxpp7aKHavL+HK8Fef9jNrK5PXmb7D9XHp/4A= 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=lABHGyib; arc=none smtp.client-ip=209.85.208.180 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-lj1-f180.google.com with SMTP id 38308e7fff4ca-2d09bdddfc9so41307861fa.2 for ; Tue, 06 Feb 2024 11:08:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707246509; x=1707851309; 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=MdMobT+8h7P/ZBNgynDgzGAaw5f0RjP4kU2V9E4+mMM=; b=lABHGyib9M3NYjj7cXYk/RIaG2/zHk4rYrNZMI365x1Ol0zFqBB2OTMlwoDwtqAUv2 XgzzOWl48pVuU4xIQNLTTewaagQu3yOSe8h4TJoD/5QrI1j3JSmdc8qyutYO46qtYJ+L LaTWWnyk7MxJklDOu2nr5eGSsabjKt3EuCt+y+ed3Cxjwl/BHypLOB4hxtxkjYgnLIfS kfKp3l4EDVBxV/7mHEbic8dkdZMgUW7Hm8xixANQuDg+bD2Q1BZFLy8rZaOj57NxHjWC TOuM28Wl+pjp3NK4woQ2xBc1OKcb65/RkQ/ct9dbxVt2Iw53dXaFTPSNb4SreSyzZyk+ wl0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707246509; x=1707851309; 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=MdMobT+8h7P/ZBNgynDgzGAaw5f0RjP4kU2V9E4+mMM=; b=g1S4GBL//WpShGqezGPdn84YoXCEp+Lw5RlrTDeLbAiL4g2cnNsi+TXuWv097EFv1/ +SAKv1a4JOVrdD3sSFWXPysGrLSi1U3GzaLaay3eaOCDmJycXO/d57YVecRdOEV0uiFL 6xUtUbV69qvW6KAofYVSGpA+HrlNLqcu/mCtLMqYHWJy7IdsKTYyfilI1v9YUGY5gL1B DHY1QENkaFIULDcCmw7ggJpnUe/HfGKTeZpZzqPvet5fhbyutLBGrcnQSmAfsLxDtA05 qwjTEeshy3bgMMw//lFfSo6yBo+fc2TT5wZ1N+f/4XqCNDL0QPAci77JkDFIukUBwY9I 6sAg== X-Gm-Message-State: AOJu0Yzqc3nsmXvQMBTHbgqvP9a47E6rjj5lI2xEH5lgHX51GasteopB AmFQaklrR+drTAycY8txUNh+zmfjryfhfDawAdjaUxP3ETyFp0k+/qvbvm9twaM= X-Received: by 2002:a05:651c:1713:b0:2d0:9c30:e1af with SMTP id be19-20020a05651c171300b002d09c30e1afmr1936187ljb.53.1707246508808; Tue, 06 Feb 2024 11:08:28 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWwv1KQlgQ/Y+PE04tvRgGVtPexYwA2ALlogWGTpP+H1isFU41OBdCM+51YfUdAwynKJ9cx5y6GQLuuXdl68pQotMwBIzaP63RERBsPE+Jth8pkvqnJtWrcmfZka/loSHbdhaoG07lmJn6ihYkb1paKcC5moSWInVErUjW97QpmX6zDzyP6I71m5RQHgwx5nsqA2oKnfjQpuCB8NC5jldq4aF8oV5qXkzwiEFotOoM4j6Z1FQA7MCdsH7FD13pdTbDOHzUqUoJ5EuWeNtxw2D58TLt8coNS/p+1aCssYP+TNv+WV/xGcmdDWxZTnRLGtbMZD9W9UH1niLzdw6JtwQ9OX45zakNIZK69Eqsxd2naXydi8WPbDfByyAW1fcoKt4inEC92a8KY5nB7VGa2hd1ClPwIYv4339UotBvprXKNhLZ5kTQ18GHkxdfcsPAUHA83+ah7Phc+7ecE9rDN2yNpB7nNXOnAxrkBieaq8WeqTOvxI+09rP6DvseCjKZWq0RkGPYlCJR27VR+vsOo2P+YzchmvmETsm4mU2eNcBIrIdxJ2sMnJYXdSv1Y54WrrPmNN8p2MHKpJxTsV6WdxaOwObab/BaapzqdxQfJU0WZlZW863YCYsvHqSI9HMqeFgMi4QYw8QwmQMy1hoJTXhwUNtx3uBe+96mxE+Jgpu+Mj2AJoRPVBPdl1aKbpKLuOB7byIPK/o/sjniuI2w/dSh8 Received: from [192.168.192.207] (037008245233.garwolin.vectranet.pl. [37.8.245.233]) by smtp.gmail.com with ESMTPSA id q24-20020a056402041800b0055ff68cce5asm1325939edv.27.2024.02.06.11.08.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Feb 2024 11:08:28 -0800 (PST) Message-ID: Date: Tue, 6 Feb 2024 20:08:26 +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 1/8] arm64: dts: qcom: msm8976: Add IOMMU nodes Content-Language: en-US To: Adam Skladowski Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Krishna Manikandan , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240121194221.13513-1-a39.skl@gmail.com> <20240121194221.13513-2-a39.skl@gmail.com> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25yYWQuZHliY2lvQGxpbmFyby5vcmc+wsGOBBMBCAA4FiEEU24if9oCL2zdAAQV R4cBcg5dfFgFAmQ5bqwCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQR4cBcg5dfFjO BQ//YQV6fkbqQCceYebGg6TiisWCy8LG77zV7DB0VMIWJv7Km7Sz0QQrHQVzhEr3trNenZrf yy+o2tQOF2biICzbLM8oyQPY8B///KJTWI2khoB8IJSJq3kNG68NjPg2vkP6CMltC/X3ohAo x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bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20240121194221.13513-2-a39.skl@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 21.01.2024 20:40, Adam Skladowski wrote: > Add the nodes describing the apps and gpu iommu and its context banks > that are found on msm8976 SoCs. > > Signed-off-by: Adam Skladowski > --- > arch/arm64/boot/dts/qcom/msm8976.dtsi | 80 +++++++++++++++++++++++++++ > 1 file changed, 80 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/msm8976.dtsi b/arch/arm64/boot/dts/qcom/msm8976.dtsi > index d2bb1ada361a..118174cfd4d3 100644 > --- a/arch/arm64/boot/dts/qcom/msm8976.dtsi > +++ b/arch/arm64/boot/dts/qcom/msm8976.dtsi > @@ -808,6 +808,86 @@ tcsr: syscon@1937000 { > reg = <0x01937000 0x30000>; > }; > > + apps_iommu: iommu@1e20000 { > + compatible = "qcom,msm8976-iommu", "qcom,msm-iommu-v2"; > + ranges = <0 0x01e20000 0x20000>; So.. there's no 'reg', does devm_platform_ioremap_resource() pick up the corresponding reg space? Konrad