Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9082244pxu; Mon, 28 Dec 2020 06:12:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJzd4hWpi8woyBV5pGSVHf0pQrKTNiMZuLx3UkIMsTXMZpqKbtelJBEjXN/gb6DK7Kz7f4Wc X-Received: by 2002:aa7:c358:: with SMTP id j24mr42755615edr.265.1609164753044; Mon, 28 Dec 2020 06:12:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609164753; cv=none; d=google.com; s=arc-20160816; b=C6pVWLWbId6BkOjpIahawqsQictg3+xMWE6s5L5W8kpztaMObfcB2uDi7TlXL4tmHR PEQK4LXncBmu6BkX0xvCOaQ7i3YaySq4VQ56f+ZVJkDtds3fTkb7xR78BC9Aa9NIpkOe q8BEeb3zjSLBL/591CyuCHBmoTd7eH5om+YsAK3axKjOJlKZHti3xnE4ul2V40YhLH2a 0iTgk6oAFFp2/spRJUgVjo4UqSGMinQw2/umL8D3g4HUu2uqnzzV+A6SI2B282Es1nDX ZAC4664OQIWUQuSmPizSj7jlZ4eKEwdcwmRzTvKEKxlRVcx8fYkx5JqpJthaC9ZnVer4 25bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=raXC75NfGbLsl1eWd+cQS8FER/STMl9t2W9iDOR6QHk=; b=cJ13o6r3usFh/7FAHvWqxYhqP+bNH0/Y6WGidVkW7vy0pZJeG5svzW6lxIjOvxt8m4 GJGWS++Cl8RzW71HKxGBsOuZqDHQBVGmTgvLls/8mTsBvfnlWHzsUQl85BldEbLwPXo6 OZQ45GabXSVOx4vhNYOeq8Ua7K7Px1lNTfKql2dFH6zvnF/i0Out2JtagemO6uFRifxj dwMNfzTUJ2Elz3MwG+O8pLtGF8uOrM/KqLnt4MGqPt0btHeGqYoO6AMaHiqIGlb6l8vm MawvLGP3yRXZRcmS8FQBroF8cUIdvJveamTcRzeof/+cne8e6U9m/JtipDFvxy8BSg0R Ui0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=D0Vc3WFL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h8si18252255ejq.268.2020.12.28.06.12.09; Mon, 28 Dec 2020 06:12:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=D0Vc3WFL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438725AbgL1OIv (ORCPT + 99 others); Mon, 28 Dec 2020 09:08:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:42886 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391735AbgL1OIg (ORCPT ); Mon, 28 Dec 2020 09:08:36 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id D5E8D2063A; Mon, 28 Dec 2020 14:08:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609164501; bh=VTKFG8x/9ubRDJEHHfb2/5jIan0v6X/2BQC/NjlwyCU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D0Vc3WFL0EmkoXnuew9+oqNj2vNqL9CBx3LLoDPth/bp2j2o5uGqbTKjoLXw2QHhz J+qrqH36skIqWA7Eqnqnf+BXuzReDxynMXKV/ENjOmkkf3nCfZFdJK5RIEVfmAB27f 8HuOHBFfl+hN9Yh3rFyCbEruLqlG0D9n/BQzppPo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alex Elder , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.10 202/717] arm64: dts: qcom: sdm845: Limit ipa iommu streams Date: Mon, 28 Dec 2020 13:43:20 +0100 Message-Id: <20201228125030.656380195@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bjorn Andersson [ Upstream commit 95e6f8467c83c4074a6f6b47bad00653549ff90a ] The Android and Windows firmware does not accept the use of 3 as a mask to cover the IPA streams. But with 0x721 being related to WiFi and 0x723 being unsed the mapping can be reduced to just cover 0x720 and 0x722, which is accepted. Acked-by: Alex Elder Tested-by: Alex Elder Fixes: e9e89c45bfeb ("arm64: dts: sdm845: add IPA iommus property") Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20201123052305.157686-1-bjorn.andersson@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 40e8c11f23ab0..f97f354af86f4 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2141,7 +2141,8 @@ ipa: ipa@1e40000 { compatible = "qcom,sdm845-ipa"; - iommus = <&apps_smmu 0x720 0x3>; + iommus = <&apps_smmu 0x720 0x0>, + <&apps_smmu 0x722 0x0>; reg = <0 0x1e40000 0 0x7000>, <0 0x1e47000 0 0x2000>, <0 0x1e04000 0 0x2c000>; -- 2.27.0