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=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 18F76C63697 for ; Thu, 26 Nov 2020 17:47:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C744221D7E for ; Thu, 26 Nov 2020 17:47:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GeqZtzB8" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404534AbgKZRrQ (ORCPT ); Thu, 26 Nov 2020 12:47:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404533AbgKZRrQ (ORCPT ); Thu, 26 Nov 2020 12:47:16 -0500 Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0236C0617A7 for ; Thu, 26 Nov 2020 09:47:15 -0800 (PST) Received: by mail-oi1-x243.google.com with SMTP id w15so3007157oie.13 for ; Thu, 26 Nov 2020 09:47:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ji9tlscliCLN0LYIyEt9KD3a3MCIVAkdS9NkM4jRpzU=; b=GeqZtzB8CzX8/SX36WTvrTjGZINKtLen+xUmDFCJoF60rC43wPoG+F86S9YXQNSxO7 S43tdvejsYFX3dNMSu0Taxbxc9/loWYec+adZRBEaFo0hIuyZ+MjnekJGM31pTDR7iQu lxtHUjWyHCoOqTKKnG4gRBCrVuNBJ0UMPFtNhII8Cyhx3BShvAFtkw+UsRtWh1G0LATm bbDWMd+yFVlH/gf/oR8Z9CxnXUZjYgd2fuzBLn8KF99OnlXUk5yKN6rciwrIhzcVG3nj fH/xe4tAgmnEb9afBRI7/LNIL5hlZ1jl/uS8PWeXXEXO/J2KVAmXD15p5utHnPCU7vaZ Uydw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ji9tlscliCLN0LYIyEt9KD3a3MCIVAkdS9NkM4jRpzU=; b=BGAQ+YbQJucoRJhz4YJyktUMOGt1HJqDh/SpqHCu/xsUjprfWnBsgXa6EaDnk/hHAe dgNWeuf3v0JRexwJ4h9+fw1sQ9OVCHw2ZmNhhzj4EUBIkHSSJC5/rVU2oZEoz2ZNCcOj Ou7K77h0jQSIqthyXcxxBVw7kxYhNXodab7mKfBJxjhsEuqz9ygnb6R+oSyuq2X85rif xMSU2FlV5JCS+EIQADq/B6pAO5yGYkN2KDWhu3VXelL4ltj1grrnM/T3A79CBDcXk+pI /8m/GdhRyMSg1goMY0YX/VBjBjaERedg4Srs4lCz6mt+FfR11oZbttvIPDGqdsTLIxme dLhQ== X-Gm-Message-State: AOAM531qxq+EyqD2+YLDR5J+BECs54dCEqVkEn9xxEF2bd68HeB8t7ES R7XTIEU/OE5spIrRcN2qxWu9iQ== X-Google-Smtp-Source: ABdhPJzV4JJZig/67KvTlQcOUGc8xVp51xSXwYlfjM7f8LjhRhYB1WlGP/8UUTGdyZAx2bNEQI2RBg== X-Received: by 2002:aca:ed86:: with SMTP id l128mr2744772oih.0.1606412835129; Thu, 26 Nov 2020 09:47:15 -0800 (PST) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id o29sm3357331ote.7.2020.11.26.09.47.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 09:47:14 -0800 (PST) Date: Thu, 26 Nov 2020 11:47:12 -0600 From: Bjorn Andersson To: Alex Elder Cc: agross@kernel.org, robh+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] arm64: dts: qcom: sc7180: limit IPA iommu streams Message-ID: References: <20201126015457.6557-1-elder@linaro.org> <20201126015457.6557-2-elder@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201126015457.6557-2-elder@linaro.org> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed 25 Nov 19:54 CST 2020, Alex Elder wrote: > Recently we learned that Android and Windows firmware don't seem to > like using 3 as an iommu mask value for IPA. A simple fix was to > specify exactly the streams needed explicitly, rather than implying > a range with the mask. Make the same change for the SC7180 platform. > > See also: > https://lore.kernel.org/linux-arm-msm/20201123052305.157686-1-bjorn.andersson@linaro.org/ > Reviewed-by: Bjorn Andersson > Fixes: d82fade846aa8 ("arm64: dts: qcom: sc7180: add IPA information") > Signed-off-by: Alex Elder > --- > arch/arm64/boot/dts/qcom/sc7180.dtsi | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi > index c0efb101b0d61..eb66aadf360d7 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi > @@ -1396,7 +1396,8 @@ > ipa: ipa@1e40000 { > compatible = "qcom,sc7180-ipa"; > > - iommus = <&apps_smmu 0x440 0x3>; > + iommus = <&apps_smmu 0x440 0x0>, > + <&apps_smmu 0x442 0x0>; > reg = <0 0x1e40000 0 0x7000>, > <0 0x1e47000 0 0x2000>, > <0 0x1e04000 0 0x2c000>; > -- > 2.20.1 >