From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3sJG1f37YzzDrJy for ; Tue, 23 Aug 2016 13:21:26 +1000 (AEST) Received: by mail-pf0-x244.google.com with SMTP id h186so7385502pfg.2 for ; Mon, 22 Aug 2016 20:21:26 -0700 (PDT) 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 MIME-Version: 1.0 In-Reply-To: <4586138.sszncvQpYx@hactar> Content-Type: text/plain; charset=windows-1252 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > 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