Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8101705imu; Tue, 4 Dec 2018 03:02:37 -0800 (PST) X-Google-Smtp-Source: AFSGD/VKWpStTLvA8y6a+j1kdQrSmcuj0rN/3ILGf2IQWi2qKLZdfEW7fvBdy16H7d5QpP6Mqfuj X-Received: by 2002:a17:902:f20d:: with SMTP id gn13mr18837161plb.11.1543921357781; Tue, 04 Dec 2018 03:02:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543921357; cv=none; d=google.com; s=arc-20160816; b=W/53UZlYUvCqWY/IunAYsagy81k1yeu+VYCYg6zIJypcynjqL16D+f6b2h6GIxcFNG +NobHq3nvIl8v/7yABWXGI6sTJBa4BB1pTgdrX3cWJkbdGNhwJJJYdGeXvjQpn+uRqD9 0BqfEPQJ7wXAJG9610V9MA/6XEiTu7FbEu7/SPFRO2/SrI+LN4SOAkwWpCDiEN6oBAdr gs4rJ/rZv6q945OpI46MeY6eVYrHF/vMOBdYs7X0/ic8C1uiegu2nAhOTsau641LC3P6 oP7/zCt6km/PnisPjP7pedC3+4TwBZ7zZglg8/8hrbzgWR9dWHBCTh470240R9jhV9FA cH9Q== 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=QgbboIFKhSVjZ4Jke+SkEkswfAU3zaCsmcRtNtgtdfE=; b=nP8tm3vXVdFKRN7T/AXZOBJ1tSkDtdGUjdoAcXbH7ApMMtBNu4zm4dxC5WbL06sk9V VDpCVlWmoJF/BX42y3VjQ7LayIdzhr01sVE86pgbPSc6JysdP+vW/qh1uFBAda0WQPWr 4UAR5yltdBTz9pYMGMdi1q8ob9wl6m55+HUdXU6oil4yvM31++mjUI6Q/CIeanH1OXWV ShPG1yM6nk0TNnBxXZFhiN4lOpiuoNqWiNJToei9j6iQxM0yVV1llPR67fKU9n+iVh0k GQ9psixCwdBiu68Biz+dDAxeSICOiTNHTrzubDxUFIHMErdlG+jCWKt6OcMzxW7w1Lhe ra9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=q5h1PJKf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10si19264445plm.1.2018.12.04.03.02.22; Tue, 04 Dec 2018 03:02:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=q5h1PJKf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727250AbeLDLAF (ORCPT + 99 others); Tue, 4 Dec 2018 06:00:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:45222 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727242AbeLDLAD (ORCPT ); Tue, 4 Dec 2018 06:00:03 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.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 2DCAF2087F; Tue, 4 Dec 2018 11:00:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543921202; bh=t2u5912p50J3onoDK7x+EAbdosNPqvaZEiZ6Xd9ICWE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=q5h1PJKfj9D6MV97z47/LJfrE9x3ZMYRTq3wFXZZNSG9FsGTnQLvZn8GLoXSrvT+4 dp0YrAo9AFqH6A8KaDxrOI7lNBAOcC/f1R1dmyq5dO/34aFh42hKykO8C/1Ksvg+WV 2WrV1vYWR5owtPUv+4OABbPGjFvytnQr16dRDntc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Heikki Lindholm , Heiko Stuebner Subject: [PATCH 4.19 121/139] ARM: dts: rockchip: Remove @0 from the veyron memory node Date: Tue, 4 Dec 2018 11:50:02 +0100 Message-Id: <20181204103655.660683439@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181204103649.950154335@linuxfoundation.org> References: <20181204103649.950154335@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore 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 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Heiko Stuebner commit 672e60b72bbe7aace88721db55b380b6a51fb8f9 upstream. The Coreboot version on veyron ChromeOS devices seems to ignore memory@0 nodes when updating the available memory and instead inserts another memory node without the address. This leads to 4GB systems only ever be using 2GB as the memory@0 node takes precedence. So remove the @0 for veyron devices. Fixes: 0b639b815f15 ("ARM: dts: rockchip: Add missing unit name to memory nodes in rk3288 boards") Cc: stable@vger.kernel.org Reported-by: Heikki Lindholm Signed-off-by: Heiko Stuebner Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/rk3288-veyron.dtsi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/arch/arm/boot/dts/rk3288-veyron.dtsi +++ b/arch/arm/boot/dts/rk3288-veyron.dtsi @@ -10,7 +10,11 @@ #include "rk3288.dtsi" / { - memory@0 { + /* + * The default coreboot on veyron devices ignores memory@0 nodes + * and would instead create another memory node. + */ + memory { device_type = "memory"; reg = <0x0 0x0 0x0 0x80000000>; };