From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757016AbcHWDV1 (ORCPT ); Mon, 22 Aug 2016 23:21:27 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:34596 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754314AbcHWDVZ (ORCPT ); Mon, 22 Aug 2016 23:21:25 -0400 Subject: Re: [PATCH v5 04/13] powerpc: Factor out relocation code from module_64.c to elf_util_64.c. To: Thiago Jung Bauermann References: <1470956898-5991-1-git-send-email-bauerman@linux.vnet.ibm.com> <4126991.2tm6WB17SD@hactar> <3ca4a2de-0d44-dbc6-b57b-c149d10b048f@gmail.com> <4586138.sszncvQpYx@hactar> Cc: kexec@lists.infradead.org, Stewart Smith , Benjamin Herrenschmidt , Baoquan He , linuxppc-dev@lists.ozlabs.org, x86@kernel.org, "H. Peter Anvin" , linux-kernel@vger.kernel.org, Ingo Molnar , Paul Mackerras , Eric Biederman , Michael Ellerman , Thomas Gleixner , Dave Young , Andrew Morton , Vivek Goyal , "Oliver O'Halloran" From: Balbir Singh Message-ID: <239172a5-1952-de2d-e48d-4ca7d882356c@gmail.com> Date: Tue, 23 Aug 2016 13:21:04 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <4586138.sszncvQpYx@hactar> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > zImage on ppc64 BE is an ELF32 file. This patch set only supports loading > ELF files of the same class as the kernel, so a 64 bit kernel can't load an > ELF32 file. It would be possible to add such support, but it would be a new > feature. > > The distros I was able to check on ppc64 LE and BE all use vmlinux. > kexec-tools with kexec_load also doesn't support zImage. Do you think it is > important to support zImage? > Well if it didn't work already, I think its low priority. Michael should be able to confirm this. Oliver's been trying to cleanup the zImage to get rid the old zImage limitation, cc'ing him Balbir Singh