From patchwork Mon May 4 18:13:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 11527329 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1DFC114B4 for ; Mon, 4 May 2020 18:14:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 051E424965 for ; Mon, 4 May 2020 18:14:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="K1h0aeVu" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732329AbgEDSOD (ORCPT ); Mon, 4 May 2020 14:14:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1731972AbgEDSOA (ORCPT ); Mon, 4 May 2020 14:14:00 -0400 Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C379C061A0E for ; Mon, 4 May 2020 11:14:00 -0700 (PDT) Received: by mail-qt1-x841.google.com with SMTP id b1so336296qtt.1 for ; Mon, 04 May 2020 11:14:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Z3nW96fFZYnDn8jk8+VYyojQcEjzERa3OD5pCIlBdho=; b=K1h0aeVunNzSt5ERI2Q5f1AdAZ3vbRcewfdgTDjWr/DOw/0bFRJyHo5X3G1b4FH9Xu gr4v3njy+NCCtBeUGcdM6EZfJjBU6Sb4QUbjBMA1Kf13psCgtumNxIH5kyXKgupAOryp IQhYOQHjNWrgm0b3KRupuCNtFivn+Gqns6Zb0HPC4S3bQY3xzBOxxEUeNIDvpR6c8JPA O65YVwhn7Nx9KOa2gtSjrvavv1qiH0w42V+gZdqaIAPrDgMfh4SLBo6u3sD/DfiY88EK OMf9ZIRY2El4ZvVgtPG2UoIZkbB3A4Y0bllnjIo9M+x+MzBKenOUkIRU2d1Rhgahl7ik W28A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Z3nW96fFZYnDn8jk8+VYyojQcEjzERa3OD5pCIlBdho=; b=rV6eICAAUsNsXDvmUccnFaXiN2YddPCn2Ok7EK6MHB/mO6UgVYm8hbatTus5oOg+gk 4pJp4dGYtGMyKoGR+UnchM+8j1OtUnItanNUUqQ3+uypQLRsO8mSg2owNscpNlmXfJCw Gu0jNGennCEwJutVJp6AURAdKaC4Ppu52PpUnw8EotvHEbk7+27Z28WTXHp4O5lgmq5o mUVQOEw4fzZByyULLYYRH52IcQyAA+dMtdvpmZf/ZN0VJkvMclqMQcY1pNCnkrj0laOa qkzwOe7xxiaLYvJ/saUDp0eLfG/4luZJTPCgbwowQqlvR6+/3dhYxWREj3wEclxlQqls NH9A== X-Gm-Message-State: AGi0Pua6m5s5UUSlJ58s4B8maDsE3upLylC/2gtSs0q830ompDPUbMK/ WzA5Xrn4/WK+3dXRo0pNzoBN8w== X-Google-Smtp-Source: APiQypI4Oi2r4p833QHi40cXGxwDFX3mON5ouXXX22y6pe3WuHg5/KcOdeA1C0f71wZ5egHt2uEuCQ== X-Received: by 2002:ac8:1c35:: with SMTP id a50mr389657qtk.286.1588616039180; Mon, 04 May 2020 11:13:59 -0700 (PDT) Received: from beast.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id v4sm7107146qkv.43.2020.05.04.11.13.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 May 2020 11:13:58 -0700 (PDT) From: Alex Elder To: bjorn.andersson@linaro.org, agross@kernel.org Cc: davem@davemloft.net, evgreen@chromium.org.net, subashab@codeaurora.org, cpratapa@codeaurora.org, robh+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH net-next v2 1/1] arm64: dts: sdm845: add IPA iommus property Date: Mon, 4 May 2020 13:13:50 -0500 Message-Id: <20200504181350.22822-1-elder@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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 --- NOTE: This was posted in error previously as part of another series, which has since been superseded (and no longer includes it). https://lore.kernel.org/netdev/20200504175859.22606-1-elder@linaro.org/ 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 71dfdfcf2033..7cce6f1b7c9e 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1762,6 +1762,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>;