Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1259455pxa; Thu, 20 Aug 2020 07:00:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOpjUjoBxKzmrWZ2elW/OOKOqWD+FPO8YPwWOl7rVIkW1FLN5hyczHRuJyGTkTMZNQYgFh X-Received: by 2002:a17:906:3616:: with SMTP id q22mr3615762ejb.79.1597932006260; Thu, 20 Aug 2020 07:00:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597932006; cv=none; d=google.com; s=arc-20160816; b=fBV1M5T3TgWyBsCSo+sc0cKe36npErZTcnyVeV/6jmMN4rTtjJILHCQLPnKb/iwg7H SzaWI+yMuQ7zPak/KDVKgOq5JVZszukQHgMPTkEdCPOFLKL/7Kq63oWp/mHMwSEg2Ng4 Vuv3qd2ejhn+LQjbX1RsDnFtOdSeaMeZBouyxXdLm9Nkw9jpG4PVJ8ezusd4H2eb7Mb/ czamMr0yXeqTijM1dkRqy5twOYdCm0USSkE9Xud+TRH6Oo0wsX4CYrndwyYQPyhB4uV5 X9flZ/NWpWmmh4QUiZht/K00ILtMQPohTIItXfgVsKauwGPa/gKSopLcIg4vg22N9AS5 e0Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Ay+3qQjzIGSQCopyeFZysPXa821SXCEfVonziB+T/vc=; b=MdcyeEUv01Oa4gDv/4qPBToEer3c4CWcEmzL3xVqS+BY01tzy8TzG0TUGptwS0gekB YD5chR2H8lWVOivGZEAQGBtwWGiLXqTiBYkfcNXhk5Rcs2ZGRKExY6y3Py6/wa4rxzZ1 VmfOkkZQZZetT8pSPdhxtNR/koO0hm99Ij7/Z3VBhaN6z9x9q+ayUxfeMPG9oEsvIRWa RyhwNlDfjcbbbD5ntAQp0P+JyO9CuNgnLc1kiDSUHzvY4nz842FIBAu84/xBh4dOA7pr c+T/QGTbNqvOwtAuCB2Pcht3koVJ2ZSfZ0FvnBTmvJCRP9aLsP44ptN/BITxvy7g1vXQ ORxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FOw8Dsaf; 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=fail (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 z8si1216757ejj.334.2020.08.20.06.59.42; Thu, 20 Aug 2020 07:00:06 -0700 (PDT) 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=@kernel.org header.s=default header.b=FOw8Dsaf; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731137AbgHTN54 (ORCPT + 99 others); Thu, 20 Aug 2020 09:57:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:33672 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726905AbgHTJZR (ORCPT ); Thu, 20 Aug 2020 05:25:17 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 14EE722CA1; Thu, 20 Aug 2020 09:25:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597915517; bh=v0dwlY5SBRqPHG9bP2zvvxz+zgQcDfU5lnL0b2EymNE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FOw8DsafumJwOZScOs7ez460REee9hzAdxESB+A/5zFeLCKv3r68iDHBZdycRAUlU xRg//4oRa0GpCQIdHkG3r8HEzoMbQ3Dn6DvdUvJ0/Af4ecjLBc+q3orXvM2Xdseev3 ZNQHvW/FlGucKUtMgkAC25AkmE2hzuBbLLbgM+T4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Douglas Anderson , Sai Prakash Ranjan , Sibi Sankar , Bjorn Andersson Subject: [PATCH 5.8 042/232] arm64: dts: qcom: sc7180: Drop the unused non-MSA SID Date: Thu, 20 Aug 2020 11:18:13 +0200 Message-Id: <20200820091614.821682067@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200820091612.692383444@linuxfoundation.org> References: <20200820091612.692383444@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sibi Sankar commit 08257610302159e08fd4f5d33787807374ea63c7 upstream. Having a non-MSA (Modem Self-Authentication) SID bypassed breaks modem sandboxing i.e if a transaction were to originate from it, the hardware memory protections units (XPUs) would fail to flag them (any transaction originating from modem are historically termed as an MSA transaction). Drop the unused non-MSA modem SID on SC7180 SoCs and cheza so that SMMU continues to block them. Tested-by: Douglas Anderson Reviewed-by: Sai Prakash Ranjan Reviewed-by: Douglas Anderson Fixes: bec71ba243e95 ("arm64: dts: qcom: sc7180: Update Q6V5 MSS node") Fixes: 68aee4af5f620 ("arm64: dts: qcom: sdm845-cheza: Add iommus property") Cc: stable@vger.kernel.org Reported-by: Sai Prakash Ranjan Signed-off-by: Sibi Sankar Link: https://lore.kernel.org/r/20200630081938.8131-1-sibis@codeaurora.org Signed-off-by: Bjorn Andersson Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/qcom/sc7180-idp.dts | 2 +- arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/arch/arm64/boot/dts/qcom/sc7180-idp.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-idp.dts @@ -312,7 +312,7 @@ &remoteproc_mpss { status = "okay"; compatible = "qcom,sc7180-mss-pil"; - iommus = <&apps_smmu 0x460 0x1>, <&apps_smmu 0x444 0x3>; + iommus = <&apps_smmu 0x461 0x0>, <&apps_smmu 0x444 0x3>; memory-region = <&mba_mem &mpss_mem>; }; --- a/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi @@ -634,7 +634,7 @@ ap_ts_i2c: &i2c14 { }; &mss_pil { - iommus = <&apps_smmu 0x780 0x1>, + iommus = <&apps_smmu 0x781 0x0>, <&apps_smmu 0x724 0x3>; };