Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1256493rdb; Tue, 30 Jan 2024 12:41:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IEI7dHItSInKNLDqXE0cooH7dAFtKg8vElYthCM7QPwjPPnccT6P8vMGAuHdrknnNjT/beC X-Received: by 2002:aa7:da8a:0:b0:55f:36fd:4378 with SMTP id q10-20020aa7da8a000000b0055f36fd4378mr1976783eds.19.1706647300130; Tue, 30 Jan 2024 12:41:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706647300; cv=pass; d=google.com; s=arc-20160816; b=yW0r2wfyNIFA5DsgaAkShCmKBgmN8WYTeuMQ6vr4JD57syBXZZOEs0T8wjHf3KdTw8 6zqs2Njf+fVk7jH8Tt/JlBw2Ka4tvOJs4gPfeVwWTnwPc9xVOkBvo5H9qctzPhlB+qgn MPU/m3AgVGGobrv6LrEpvKXTEZd947IJ2hqaRPYQhDBMmP7GcKaKNq6aPa1biuIEjnlB n1l11zXeIat+Qn5WWGXVmGxfOmxIsUE2ZBJa2XBj2VcvIIxYhWsuefXZ5eBkE1JRyxlj CD+YKYhhH/ZZPzah2o+TfRVQxzDY+3QO6Lvso6VkET8qZn7N/9K2+cTqOAg1vfrMoOS5 XkuQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=y9OzBq6gWd0BJFvSgtjPyJwiO3ruOjewsWTRko4LLnY=; fh=4ceOEjQTtYijFmMtiVmwRjrcd5h7PQDKR7sxKmx18lg=; b=stG+QHJEiX6EfyNKarpK6s+Pyez9LyxqoCkR9FDcIy5uu4hG5S0OdPTi/d3QTz5GBe pD0Yj1jkQoWpoGAEsNat7VRHzCX8yh04nGD+QxNYNrePqNw3ngfj+G7d4DDaJkiSeJCA 0V5MAh/hPtMIVCXknge8CiF11SHkjxU5/Sz28XMd2TCDdK4OZDzB7mh0XFAxyiCSb+bZ O0E2ahGmUwqGKnSqTp3OmW9MHo1OuiZsfGqgriTop5tdj/19ww1BYeg7b+1T689Hljt1 1YHgoYX6RHSpycqEKDlDw0hDwAAMQdE0Qw2kDLC9dCLlyHpI6MeLLUy6ApAxHvJklnRv qCKQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@grimler.se header.s=key1 header.b=Aq0UQlvz; arc=pass (i=1 spf=pass spfdomain=grimler.se dkim=pass dkdomain=grimler.se dmarc=pass fromdomain=grimler.se); spf=pass (google.com: domain of linux-kernel+bounces-45286-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45286-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=grimler.se Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id y43-20020a50bb2e000000b0055f13e7499esi1864232ede.633.2024.01.30.12.41.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 12:41:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45286-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@grimler.se header.s=key1 header.b=Aq0UQlvz; arc=pass (i=1 spf=pass spfdomain=grimler.se dkim=pass dkdomain=grimler.se dmarc=pass fromdomain=grimler.se); spf=pass (google.com: domain of linux-kernel+bounces-45286-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45286-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=grimler.se Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DE0261F24D2F for ; Tue, 30 Jan 2024 20:41:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 48E07762E7; Tue, 30 Jan 2024 20:41:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=grimler.se header.i=@grimler.se header.b="Aq0UQlvz" Received: from out-182.mta0.migadu.com (out-182.mta0.migadu.com [91.218.175.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 13A256A016 for ; Tue, 30 Jan 2024 20:41:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706647273; cv=none; b=oNCNQ+eokaacXFICWm7iQ5Qdgx/OkU3FOSXabfUqJgWrh59K5OeVqKXdxTA1+jo17OjdVETQQI+NSD6dJJrcAIKgVuwXENY39+i0O1hKa1zqQWefTd0+7FEeFP+Kg+cIZQylKBsJb4nOsK9Q+f3y6rRnBFZ9DUYyCDhC46c+Yv0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706647273; c=relaxed/simple; bh=+RHfIOYCokHUptccyiBZRvuJnCzYabw0CvXOcn+k8r8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=N2QVBwlu6ULB5XaIGa59PYbC/CchJtVLDEI717/0vthbAJvvijFga3KSQjGcLFDnCI7OkVWkfZOMAgUiy+Xm5cnld7bHej/CJhstaQ3m+4tfjhDou+nEpcOBY7MB/dr4IfPHdE7k3gRUBk3B8dRVjd22v6LPXyz79PQGHYGGtG8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=grimler.se; spf=pass smtp.mailfrom=grimler.se; dkim=pass (1024-bit key) header.d=grimler.se header.i=@grimler.se header.b=Aq0UQlvz; arc=none smtp.client-ip=91.218.175.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=grimler.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=grimler.se X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=grimler.se; s=key1; t=1706647270; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=y9OzBq6gWd0BJFvSgtjPyJwiO3ruOjewsWTRko4LLnY=; b=Aq0UQlvzNFD11kaNf3XHOfH/iW849kODjaOMj1v2yq3LLab8Mq3U+lkWK1AWAThc5HTzkc 9G4kGMgpB6IquqkxcO5bYfwFFxxhE0M2Wnk2EG3NtoWVDIwSBsBZWgvuyl7CVgRN2/QGcM hLti9PLufMHq6Tf56sDcpP9MHv/4T94= From: Henrik Grimler Date: Tue, 30 Jan 2024 21:40:41 +0100 Subject: [PATCH 3/3] ARM: dts: samsung: exynos5420-galaxy-tab-common: decrease available memory Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240130-galaxy-tab-s-cleanup-v1-3-d4e17857241d@grimler.se> References: <20240130-galaxy-tab-s-cleanup-v1-0-d4e17857241d@grimler.se> In-Reply-To: <20240130-galaxy-tab-s-cleanup-v1-0-d4e17857241d@grimler.se> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Marek Szyprowski Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht X-Developer-Signature: v=1; a=openpgp-sha256; l=1202; i=henrik@grimler.se; h=from:subject:message-id; bh=+RHfIOYCokHUptccyiBZRvuJnCzYabw0CvXOcn+k8r8=; b=owEBbQGS/pANAwAKAbAHbkkLcWFrAcsmYgBluV7fF6B01N24dpZiM46HwWy7QO86eVRtTi+9c Y6KjRqW2yiJATMEAAEKAB0WIQQsfymul4kfZBmp4s2wB25JC3FhawUCZble3wAKCRCwB25JC3Fh a8mwCADBSJIa2AFfO1WD6mWg8Brz+Yftzi3+6+Nwh7oTvciF7eaqquXG5yqubm18N8J9CRtxBuD UtYFZKUfDnE68P1FWNiGywdvNJ6bV6aVPaDeM4wsD4eG7zF4Wl5QCxzjoM1WYs9hkOe+2HTbEpN aTto0cpgaLNi1yrFuJbVCdwFbVFdMbmm5dvP61/eGCYtnhKCDb5FmzE+SnoszjaIgxOStr2a0kp Tu5kSLVs/Bb8J80waAvzNzZc0JK/Zeh9Q15dwrlk2phBIBz+6Sly1t+R8np+h+5FY2Mdcrv+Nyq 6nM58l94DK86gXpjXdA1lkK++x4dq/1WskIxNu1cQMYcvdTh X-Developer-Key: i=henrik@grimler.se; a=openpgp; fpr=2C7F29AE97891F6419A9E2CDB0076E490B71616B X-Migadu-Flow: FLOW_OUT The last 6 MiB are used by trustzone firmware, and cannot be used by Linux. Currently we are saved by that the proprietary bootloader (sboot) passes available memory to kernel through ATAG_MEM. Change memory range in any case so that we do not have to rely on ATAG_MEM. Signed-off-by: Henrik Grimler --- Similar fix was applied for the exynos5422 odroids in commit 6591a02e17e6 ("ARM: dts: reduce total RAM by 22 MiB for exynos5422-odroidxu3"): https://lore.kernel.org/all/1421842972-25807-1-git-send-email-m.szyprowski@samsung.com/ --- arch/arm/boot/dts/samsung/exynos5420-galaxy-tab-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/samsung/exynos5420-galaxy-tab-common.dtsi b/arch/arm/boot/dts/samsung/exynos5420-galaxy-tab-common.dtsi index d569fac29b18..ac929e282c84 100644 --- a/arch/arm/boot/dts/samsung/exynos5420-galaxy-tab-common.dtsi +++ b/arch/arm/boot/dts/samsung/exynos5420-galaxy-tab-common.dtsi @@ -40,7 +40,7 @@ chosen { memory@20000000 { device_type = "memory"; - reg = <0x20000000 0xc0000000>; + reg = <0x20000000 0xbfa00000>; }; firmware@2073000 { -- 2.30.2