From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DBE10C47259 for ; Fri, 1 May 2020 21:59:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BBEEE2495E for ; Fri, 1 May 2020 21:59:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="pD3s9EAW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726937AbgEAV7p (ORCPT ); Fri, 1 May 2020 17:59:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726377AbgEAV7o (ORCPT ); Fri, 1 May 2020 17:59:44 -0400 Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83CC1C08E859 for ; Fri, 1 May 2020 14:59:44 -0700 (PDT) Received: by mail-il1-x143.google.com with SMTP id c18so5725913ile.5 for ; Fri, 01 May 2020 14:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=pDnC17yV3YK6+UXyEP5tqCWTQ7iWQE5yaacGTLu3Bc4=; b=pD3s9EAWNfIU7par29nN6lUA34erm8IVRafEDx41O3QbV/hemBxzAtdMXSb3pZm574 aO9aHakyiRxmGFaRx/JJuIXm2qP1QpRI6DT/uibu9HpFpcIxNVNNN0NfrhmRr6x+w9OL U5jDk9RfBViHO4PuRQ1UcNg4udK1HCU6VhdKHepQjPK1zJahKE1raamn+tjJ0afzx01g Tns0Qh7Wxh+TMn6G+JFpVi+RJ+OOvijYEVG9F8vYzHR3g8EudBURX8dL5GH/oK99t1Ov WKlqB/4JtYBZHuL2FluC+U07eyBEYNvi0YfKz5VGrt7znXVKVIlcMh328Yova+1wR1DP CExQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=pDnC17yV3YK6+UXyEP5tqCWTQ7iWQE5yaacGTLu3Bc4=; b=GfqfVSddlxVgDC1d6U+gCShxuAcTIBREs+H7VSJTB7IQ8grNdZxyHcU2h/8ayB9IT+ 8wWzNYVtOh8kuwCHRdCZT+6SP+Ku9qR8JNpFBYanDpgY2qlxfcwuUTm63dfjMgqrFlZ3 wHXvjvfaZIlCLe5suX+JtZM3pccTj1us9qJ0BWiRgrD5GQocgt1NHD0qFWu311XUGzD2 8CXrH+DnB75Annel4y7TQye86t5GGjPRU/fkLJW/wW24s57g0AtZIgrb2IRMQGZ6DoSc pSdpfmR0PkTKICfWM2SahWJupa1XOQD+TA1YsSqrx7Gmfpz63BBDZdDXyuQdyVDFlCDZ qkog== X-Gm-Message-State: AGi0PubNZGyLPk8p8YC9jyPddZfq7nUYxnxDK1Dd2A385E3aTFedNL8E /DWx1Gu8kdg3hQ+TxJIBxdmv4w== X-Google-Smtp-Source: APiQypIex3AmKv2b0vjFHu/JjPhozuTBvTpn+IlLgEkDCXArGdu/fO286GMESqLSgsBCeQY0NXUrzw== X-Received: by 2002:a92:8515:: with SMTP id f21mr5748721ilh.20.1588370383756; Fri, 01 May 2020 14:59:43 -0700 (PDT) Received: from [172.22.22.4] (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.googlemail.com with ESMTPSA id s5sm1724282ili.59.2020.05.01.14.59.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 May 2020 14:59:43 -0700 (PDT) Subject: Re: [PATCH net-next 1/4] arm64: dts: sdm845: add IPA iommus property From: Alex Elder To: davem@davemloft.net Cc: evgreen@chromium.org.net, subashab@codeaurora.org, cpratapa@codeaurora.org, bjorn.andersson@linaro.org, agross@kernel.org, robh+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org References: <20200501214625.31539-1-elder@linaro.org> <20200501214625.31539-2-elder@linaro.org> Message-ID: <2648d6a5-9ef7-b60d-c9a2-d5e1c083bc0a@linaro.org> Date: Fri, 1 May 2020 16:59:42 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200501214625.31539-2-elder@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 5/1/20 4:46 PM, Alex Elder wrote: > Add an "iommus" property to the IPA node in "sdm845.dtsi". It is > required because there are two regions of memory the IPA accesses > through an SMMU. The next few patches define and map those regions. > > Signed-off-by: Alex Elder I'm very sorry, I grouped these incorrectly. I intended for this one patch to go to Bjorn and Andy to be taken in through the Qualcomm tree, *not* through the net-next tree. I also neglected to mention that this addition is related to this other series, which has the modem define some IOMMU streams for the modem to use (one of the definitions is related to the modem's use of IPA): https://lore.kernel.org/patchwork/cover/1227747/ Would you like me to post v2 of the series correcting this? -Alex > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi > index 8f926b5234d4..de6bb86c4968 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi > @@ -1761,6 +1761,8 @@ > > ipa: ipa@1e40000 { > compatible = "qcom,sdm845-ipa"; > + > + iommus = <&apps_smmu 0x720 0x3>; > reg = <0 0x1e40000 0 0x7000>, > <0 0x1e47000 0 0x2000>, > <0 0x1e04000 0 0x2c000>; >