Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2470618imm; Mon, 24 Sep 2018 05:04:32 -0700 (PDT) X-Google-Smtp-Source: ACcGV62K0mmDec5y7FOXv9VlSCXJnd0e51BDO780QbGSAQVKzEcPdgJxfI7Wv/baT75UoV4QZ1rv X-Received: by 2002:a17:902:934a:: with SMTP id g10-v6mr10343103plp.121.1537790672225; Mon, 24 Sep 2018 05:04:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537790672; cv=none; d=google.com; s=arc-20160816; b=eAEUM2EPFTJPCyvkvXD8F9sKJHwzxlNdaWz9Hac/Wf68znN1XEJpPbe+rP5QErU9cf 1IUsLt+feK0iebHGXABO4JIR6EoJtOalsSptRhSuxIga8wXD3t+nwx0hXPQBdJU6R8TQ Ij1BX1jYJvTEjXTkT010f0U+opYAQcgjhvUeIaXqJClf/B5cBbFWaUS/PfFqzxqlz5Qz rQl2Ht0SemS3uqY6mIkcE2AAVsyZUnAX3C9EqJPcetOITtNX7yytTkxS03ul7wa2zDkq Fyyv0uC7pWTcfpOrGU2LNNcheMSMkpg37Pd+719kVDa0EWMyOj2EVMSlH9x2xcgacaCX DGVA== 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=7rHfVdXdi7/gj1S9gJuPQ13Vk9weYfUuUD2FuwkPguM=; b=lm9tO7ab06rW3kR4TupKU7ZOi/A5CBmx9OWhBk+r/A0WszBvQphvNqh6ulGHkoinw+ rQijmfAzJ+pdYhdmc9tc8QPh0lzIqSNuAYshRjcEcj16z3n91P+WjZkQBsJIMAOWCiKo 1pIievDEja2D2mGAtN68zDTJEebqQ0xIt3naFYgnwQSqGGS/aZ0xMpvjQVnsVlRgeq8Y BdCFlEsjPNBO9YMu2OCo+Sw0cemF2n2NFOGu3CcvNZgqDXRwvVTGrXc5QwZz9RPl5eO7 yoPvHWZu5KwM3MMcIuPwbGXjExTRLK3/B8UKDrqD+VE42VRDyt3fATqlcUKaqcxZUDfT ZdIA== 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 o7-v6si35522186pfk.356.2018.09.24.05.04.16; Mon, 24 Sep 2018 05:04:32 -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 S1730823AbeIXSDu (ORCPT + 99 others); Mon, 24 Sep 2018 14:03:50 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:53672 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730816AbeIXSDt (ORCPT ); Mon, 24 Sep 2018 14:03:49 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 92A88D64; Mon, 24 Sep 2018 12:02:02 +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.9 030/111] MIPS: jz4740: Bump zload address Date: Mon, 24 Sep 2018 13:51:57 +0200 Message-Id: <20180924113107.583152271@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180924113103.337261320@linuxfoundation.org> References: <20180924113103.337261320@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.9-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