Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2500584imm; Mon, 24 Sep 2018 05:32:13 -0700 (PDT) X-Google-Smtp-Source: ACcGV60f0eGnnkwaAuEjfCCdkxH2M0AjWoT4sP8FRBkfaT3gFCPJJwLQlb7Wj9lVXiPSQzSDAlk2 X-Received: by 2002:a63:d946:: with SMTP id e6-v6mr9427576pgj.24.1537792332987; Mon, 24 Sep 2018 05:32:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537792332; cv=none; d=google.com; s=arc-20160816; b=ZaCpQ9vKnUjM1609+wRxg9v6KGyOfGJFbadN9EEcYHvzYXzepFm4qMZLn8UNX2XI5A WIpOZdfNljfb+aRue+gDXoJJesD1QTYvRthJeUmnK1+LflQr0uysWnN4zOkGwUNWSdLn SYmjvHAZrDXvS2ksTi3xXidqsivgOYfouSRZuxvB70jboO/GS+L9wUG6akkk7DA+1nGv JSLLBHet31iqip43i8dbPA0IADrEK8sCsALuuSPed4S9iAhar2m1iHmgTKVG3a51HcvN NXO9p06ErDP+mUzdLz1cb6RjnT5udh8gtlQ9ZWTQUQyuM7rpO36svhXNeqLHznhdlRJQ n8nw== 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; bh=8sddTZlY/otY4XnaqbUTQea6xcMjbHEauSh2ujvU+m0=; b=lAq2LFN4w1OIYauE6p6KrP0gubW0ZGo+caxjh5T0rEJhrYU3eFlgDN4VEGTuOSQXy/ 8J6DcITf6pr73Pgrx86jnrq9HAS/EZCCjA04cgMpFFxMKu2NlI4izwSlSFQabk+ipX0+ c2hTiuS1XTmDqSqFK69C9ByhX1caAjGNpokNiM/9kJ5meEfgFCgfxfUybjbEiemj0//G q2vnYc6HK2AftXyVjvsuPh1JFETERRd6tPt9g05BF3g1yaGYQ/sDIyB9eGJfiwQp6uBy Rqjhg0IX5/Nhg52jLvwV2v5Ntgeygk7BFlkJah3nrMemN4xYQQz+/sXmKWMdKmWQEM7b mk6g== ARC-Authentication-Results: i=1; mx.google.com; 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 32-v6si35626684plg.390.2018.09.24.05.31.57; Mon, 24 Sep 2018 05:32:12 -0700 (PDT) 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; 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 S2387945AbeIXScy (ORCPT + 99 others); Mon, 24 Sep 2018 14:32:54 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:57892 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730258AbeIXScx (ORCPT ); Mon, 24 Sep 2018 14:32:53 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 5C19E1098; Mon, 24 Sep 2018 12:30:58 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Paul Cercueil , Paul Burton , Ralf Baechle , James Hogan , linux-mips@linux-mips.org, Sasha Levin Subject: [PATCH 4.18 069/235] MIPS: jz4740: Bump zload address Date: Mon, 24 Sep 2018 13:50:55 +0200 Message-Id: <20180924113112.129504085@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180924113103.999624566@linuxfoundation.org> References: <20180924113103.999624566@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review 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.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Paul Cercueil [ Upstream commit c6ea7e9747318e5a6774995f4f8e3e0f7c0fa8ba ] Having the zload address at 0x8060.0000 means the size of the uncompressed kernel cannot be bigger than around 6 MiB, as it is deflated at address 0x8001.0000. This limit is too small; a kernel with some built-in drivers and things like debugfs enabled will already be over 6 MiB in size, and so will fail to extract properly. To fix this, we bump the zload address from 0x8060.0000 to 0x8100.0000. This is fine, as all the boards featuring Ingenic JZ SoCs have at least 32 MiB of RAM, and use u-boot or compatible bootloaders which won't hardcode the load address but read it from the uImage's header. Signed-off-by: Paul Cercueil Signed-off-by: Paul Burton Patchwork: https://patchwork.linux-mips.org/patch/19787/ Cc: Ralf Baechle Cc: James Hogan Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/mips/jz4740/Platform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/mips/jz4740/Platform +++ b/arch/mips/jz4740/Platform @@ -1,4 +1,4 @@ platform-$(CONFIG_MACH_INGENIC) += jz4740/ cflags-$(CONFIG_MACH_INGENIC) += -I$(srctree)/arch/mips/include/asm/mach-jz4740 load-$(CONFIG_MACH_INGENIC) += 0xffffffff80010000 -zload-$(CONFIG_MACH_INGENIC) += 0xffffffff80600000 +zload-$(CONFIG_MACH_INGENIC) += 0xffffffff81000000