Message ID | 20200512144803.24344-4-ykaukab@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=E2i/=62=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> 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 59B6D139F for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 12 May 2020 14:49:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3807E206D3 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 12 May 2020 14:49:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="DsR3VS8L" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3807E206D3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xYT1s6NhLdXEWX8dkUfVu0mWpBJFE07qKyoh/+8++Zo=; b=DsR3VS8LlLrkCf rKzLmrBAiIg6HLM8F/+oK3XDxwOlcKZMUgQANuduOp+SqPL3q/OsmzPO9nny0Gkg8uhTH96XrvVRY yEY+zDxUMvxUGNrt8dA5thq6siYvHPMmnw6pjM2k9rpvs3WQpypJ4NcgTsYTZExjbxdQjghBaY8s2 B5fZ0R8E7GbU4mhKDedWFkmzjMSgKjhfjXOi9ASa6TcAJ/bPV96b7KU/hGVaZSwjRzlFJRe3klV+5 SSTBso1gi3QrvuFV1skAiUViIMIULvmwNIroNx5zYYN2KGq8RcXNKZGvDWHVpz/KERgR/CETNvmsH 3EXPelBQ31Bd50fu0sWg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYWDm-0006mz-SR; Tue, 12 May 2020 14:49:26 +0000 Received: from mx2.suse.de ([195.135.220.15]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYWD6-00068L-Pq for linux-arm-kernel@lists.infradead.org; Tue, 12 May 2020 14:48:47 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 7C1A9ACF1; Tue, 12 May 2020 14:48:44 +0000 (UTC) From: Mian Yousaf Kaukab <ykaukab@suse.de> To: swarren@wwwdotorg.org, robh+dt@kernel.org, robin.murphy@arm.com Subject: [PATCH 4/4] arm64: tegra194: add reserved-only flag in sysram node Date: Tue, 12 May 2020 16:48:03 +0200 Message-Id: <20200512144803.24344-4-ykaukab@suse.de> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200512144803.24344-1-ykaukab@suse.de> References: <20200512144803.24344-1-ykaukab@suse.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200512_074844_997401_8199A88D X-CRM114-Status: GOOD ( 12.55 ) X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [195.135.220.15 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [195.135.220.15 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: devicetree@vger.kernel.org, arnd@arndb.de, gregkh@linuxfoundation.org, Mian Yousaf Kaukab <ykaukab@suse.de>, linux-kernel@vger.kernel.org, jonathanh@nvidia.com, talho@nvidia.com, thierry.reding@gmail.com, linux-tegra@vger.kernel.org, afaerber@suse.de, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
[1/4] misc: sram: add support for remapping reserved regions only
|
expand
|
diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi index e1ae01c2d039..9a5276d9c2a6 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi @@ -1743,6 +1743,7 @@ sysram@40000000 { #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x0 0x40000000 0x50000>; + reserved-only; cpu_bpmp_tx: shmem@4e000 { compatible = "nvidia,tegra194-bpmp-shmem";
bpmp driver has reserved regions in sysram. Since sysram is only used by the bpmp driver, add ‘reserved-only’ flag to the sysram node so that only regions used by the bpmp driver are remapped. Other regions of the sysram may not be accessible to the kernel and a speculative access to them can cause SError. Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de> --- arch/arm64/boot/dts/nvidia/tegra194.dtsi | 1 + 1 file changed, 1 insertion(+)