From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 2/2] arm: fix kernel image size Date: Tue, 21 Jun 2016 03:57:20 -0700 Message-ID: <20160621105720.GK22406@atomide.com> References: <20160617194405.GN1041@n2100.armlinux.org.uk> <20160621074319.GH22406@atomide.com> <20160621094737.GA5783@n2100.arm.linux.org.uk> <20160621103810.GI22406@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20160621103810.GI22406-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "kexec" Errors-To: kexec-bounces+glkk-kexec=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Russell King - ARM Linux Cc: Pratyush Anand , Baoquan He , kexec-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Simon Horman , Kees Cook , linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-omap@vger.kernel.org * Tony Lindgren [160621 03:41]: > * Russell King - ARM Linux [160621 02:50]: > > > > There isn't really an answer which will always work for this problem, > > as I've already detailed in a previous thread discussing the issue. > > Adding a zImage header don't fix the problem. > > Well how about we change both comments and code to use a value > that works? Maybe zImage size + MAX_RODATA_SZ + 4x zImage size? Then the MAX_RODATA_SZ could be 2 or 4 MB or whatever we think is sufficient to kick the can until we have a better solution. Regards, Tony From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony@atomide.com (Tony Lindgren) Date: Tue, 21 Jun 2016 03:57:20 -0700 Subject: [PATCH 2/2] arm: fix kernel image size In-Reply-To: <20160621103810.GI22406@atomide.com> References: <20160617194405.GN1041@n2100.armlinux.org.uk> <20160621074319.GH22406@atomide.com> <20160621094737.GA5783@n2100.arm.linux.org.uk> <20160621103810.GI22406@atomide.com> Message-ID: <20160621105720.GK22406@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Tony Lindgren [160621 03:41]: > * Russell King - ARM Linux [160621 02:50]: > > > > There isn't really an answer which will always work for this problem, > > as I've already detailed in a previous thread discussing the issue. > > Adding a zImage header don't fix the problem. > > Well how about we change both comments and code to use a value > that works? Maybe zImage size + MAX_RODATA_SZ + 4x zImage size? Then the MAX_RODATA_SZ could be 2 or 4 MB or whatever we think is sufficient to kick the can until we have a better solution. Regards, Tony From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Tue, 21 Jun 2016 03:57:20 -0700 From: Tony Lindgren Subject: Re: [PATCH 2/2] arm: fix kernel image size Message-ID: <20160621105720.GK22406@atomide.com> References: <20160617194405.GN1041@n2100.armlinux.org.uk> <20160621074319.GH22406@atomide.com> <20160621094737.GA5783@n2100.arm.linux.org.uk> <20160621103810.GI22406@atomide.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20160621103810.GI22406@atomide.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Russell King - ARM Linux Cc: Pratyush Anand , Baoquan He , kexec@lists.infradead.org, Simon Horman , Kees Cook , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org * Tony Lindgren [160621 03:41]: > * Russell King - ARM Linux [160621 02:50]: > > > > There isn't really an answer which will always work for this problem, > > as I've already detailed in a previous thread discussing the issue. > > Adding a zImage header don't fix the problem. > > Well how about we change both comments and code to use a value > that works? Maybe zImage size + MAX_RODATA_SZ + 4x zImage size? Then the MAX_RODATA_SZ could be 2 or 4 MB or whatever we think is sufficient to kick the can until we have a better solution. Regards, Tony _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec