Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8107672imu; Tue, 4 Dec 2018 03:07:54 -0800 (PST) X-Google-Smtp-Source: AFSGD/VhT/uHETfeN3YadggFuGBU/ZQqHHB7GTwHiNoVmblNelEwkVBXaf8hBFQSneXr0aNAnpOj X-Received: by 2002:a62:4bcf:: with SMTP id d76mr20606188pfj.170.1543921674222; Tue, 04 Dec 2018 03:07:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543921674; cv=none; d=google.com; s=arc-20160816; b=j4n5BITfBuqMLxxxpeNlmEJDVwJLhYs+svLZZ4DeohguxZkiS0nVLQaYkqvV8v6BzX W17QjK0lBWWVxm7P3v4s9Ven8v5iT+VzsQ4HbP0azQPtn5MX93ySNZgKEHwx4sgOXaET sUSMT5E3Qsc1lwd5i2Cr1138IQycvWj1CJJcbRW0KD/ImsE3x0onBmeoEaOCflwLIGed hTu//JTLOuW6HIA8l7hkNrFdIczwcvwMbQYZ1Z8FOR/MuN9MWvF5rZFREiu0rWcB1KRu ozbxZQROsI0Tl/MtyLMRQBkNy2zk426D+OAlJpSUhxco/1Hi4g9sl/nbPyAZDkygHf6S iRMg== 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=UusyazzGu3m5T9yjBEicjyyFRNaqyjrBJjg1ZWwmyq8=; b=BsRopNU0wuD/GE/PStQGDVGIZEvvCsM35Q+DsZvmtyF60i9cR3WNc1Tl8w37SvE6HA pGk57EXxoK75ZZKoztHIro+70DD0O1aglsAslrR3Shp/bId+BKGpK2Mhh7BGGVpmkgTV vvJzsIu69Fkt7L9RDMb0pbbDi/f5l62JDS+G9dYjJL6pxJygSNWf+j9rrsA8rImZ72Ik koaruKnbJbRknBAq1P9KQfWcKg/FRJ8VV3sD0hHPTdSSVx0hU+Y7sNmLDgHrnkPzLqUz FdqNESU4ReSU8Vcyft00M94AGCr2RVgWj9R4C2RR1HAs8DTIHwekZ9Ozou4uYd1rGm73 b0uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="do/sC3VD"; 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 69si15848019pgc.164.2018.12.04.03.07.38; Tue, 04 Dec 2018 03:07:54 -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="do/sC3VD"; 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 S1726541AbeLDLGl (ORCPT + 99 others); Tue, 4 Dec 2018 06:06:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:55184 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728344AbeLDLGi (ORCPT ); Tue, 4 Dec 2018 06:06:38 -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 678332146D; Tue, 4 Dec 2018 11:06:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543921597; bh=qLnNQ6sx+412KNIC5YYs99X01fS8VWNG4xo8Sk4+7nY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=do/sC3VDGxRnyxBrjHTln28z94JPa53BECq+UTkBORUCC6o1GVepW9mAn4jBBBngw iG/HgK8sIMxNvjRiFoHiRFuGuGlQCVCjzbGV8ud0LkKUc35nG7tonxl91hrk28FUFV D7IAgvPuIgu4xFxEX59bXlo0sf9Lt4poTQXJ0d6Q= 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.14 132/146] ARM: dts: rockchip: Remove @0 from the veyron memory node Date: Tue, 4 Dec 2018 11:50:18 +0100 Message-Id: <20181204103732.135532947@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181204103726.750894136@linuxfoundation.org> References: <20181204103726.750894136@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.14-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 @@ -47,7 +47,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>; };