From patchwork Tue Jul 20 15:33:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 481546 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp5243510jao; Tue, 20 Jul 2021 08:33:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdsUHiL6l9l+StdThTWE1osjLhbq6aW1krTRLWOrtocvhkXe8gal43I31murSp/dQmjSrX X-Received: by 2002:a63:4e11:: with SMTP id c17mr20883462pgb.54.1626795233399; Tue, 20 Jul 2021 08:33:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626795233; cv=none; d=google.com; s=arc-20160816; b=UkG6L9cy62GTV7k7DQ7qrkWF3iBl0e5gByofccqpqJc95SM+2SNQAu0ragbFNk0FVV K0CAhV+kSd7/wM8nYNbDg7z7u/bueqrptsuxjUOtnBBxA9W5MVCMltWkBaUvH+2LtU9E 9EgRJqUFHBPEFBWpzvWjPVdPYLdkRU2xElOhQCTyAaL/41fUGx/3OcUsbkUA6em2VjvG bvwbCqpySQJ7P8JYO2XXbm1MMWdhjdVcsMktAsdper33goYhIY+Vq01leJFCojLmzxIU RzUQKodiszaxax6TZr2+JVOt1dbQnVd1qasZLoCEV2xGZWhxAI1Ks3O/5qBPTXjcBjEF kipw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:from:to:dkim-signature:date:delivered-to; bh=a/cXIJple0tXhCo8wBmyM+liGV06lwy6xissR4KIOBE=; b=oonX3shIKP/zWEd9pWe2mqxWNg1Vq+Mck7OX06/ladTPOgRk2Pal7lOmeXJ7L5gb2n sf7n7/6wE2ELxUi5L2JSzIv2Ht6PH/xITAS5VTmKnlb/4Tdk84Af6jROgEsyHUQqfLWS ONvmS/h6cCmgI5UMd6E2qvyiBloAMg2oM07fAGMWjhhhpnTvjUrbY3RkmOBhCCLdnuek mUD2+zysGrFH2NMAAoK/gT3oiz8XNRUYPdCkJTwP1rB5jCODmqNFGFNx4LJqW69YfY3y jF6im43NXn+qeL7L0tYpDyCwrGB9KU0xDs51aBS9c2yh6HyAguD+/Pa7VERMAy4LqKlH FLiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@connolly.tech header.s=protonmail header.b=e5PSRNYV; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=connolly.tech Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id t5si27665429pga.44.2021.07.20.08.33.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jul 2021 08:33:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=fail header.i=@connolly.tech header.s=protonmail header.b=e5PSRNYV; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=connolly.tech Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AECD689C17; Tue, 20 Jul 2021 15:33:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-41103.protonmail.ch (mail-41103.protonmail.ch [185.70.41.103]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5E08B89C17 for ; Tue, 20 Jul 2021 15:33:49 +0000 (UTC) Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by mail-41103.protonmail.ch (Postfix) with ESMTPS id 4GTjRb4Sh9z50W7L for ; Tue, 20 Jul 2021 15:33:47 +0000 (UTC) Authentication-Results: mail-41103.protonmail.ch; dkim=pass (1024-bit key) header.d=connolly.tech header.i=@connolly.tech header.b="e5PSRNYV" Date: Tue, 20 Jul 2021 15:33:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=connolly.tech; s=protonmail; t=1626795223; bh=a/cXIJple0tXhCo8wBmyM+liGV06lwy6xissR4KIOBE=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=e5PSRNYVIfDTCyWKFDdtWRV/a1CHmQ6s52JrLyxXS9rbHzfboI5GOSvtNzvZnBWcV VCtwbsy8K5xipPFOva8gx7eiSn8BNhQ5xQQq5zzs6BlYwOF35MdXmrIdQsjpEhxOkH KUCJjs5/nplTVb5VpmyJpLmCUZSvkNe21BMEdoYo= To: Caleb Connolly From: Caleb Connolly Subject: [PATCH 1/5] arm64: dts: qcom: sdm845-oneplus: fix reserved-mem Message-ID: <20210720153125.43389-2-caleb@connolly.tech> In-Reply-To: <20210720153125.43389-1-caleb@connolly.tech> References: <20210720153125.43389-1-caleb@connolly.tech> MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Caleb Connolly Cc: devicetree@vger.kernel.org, David Airlie , linux-arm-msm@vger.kernel.org, Rob Herring , Bjorn Andersson , Andy Gross , Thierry Reding , dri-devel@lists.freedesktop.org, Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fix the upper guard and the "removed_region", this fixes the random crashes which used to occur in memory intensive loads. I'm not sure WHY the upper guard being 0x2000 instead of 0x1000 doesn't fix this, but it HAS to be 0x1000. Signed-off-by: Caleb Connolly Fixes: e60fd5ac1f68 ("arm64: dts: qcom: sdm845-oneplus-common: guard rmtfs-mem") --- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.32.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi index 4d052e39b348..eb6b1d15293d 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi @@ -69,7 +69,7 @@ rmtfs_mem: memory@f5b01000 { }; rmtfs_upper_guard: memory@f5d01000 { no-map; - reg = <0 0xf5d01000 0 0x2000>; + reg = <0 0xf5d01000 0 0x1000>; }; /* @@ -78,7 +78,7 @@ rmtfs_upper_guard: memory@f5d01000 { */ removed_region: memory@88f00000 { no-map; - reg = <0 0x88f00000 0 0x200000>; + reg = <0 0x88f00000 0 0x1c00000>; }; ramoops: ramoops@ac300000 {