From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754916AbcHXAxY (ORCPT ); Tue, 23 Aug 2016 20:53:24 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:55047 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753211AbcHXAxW (ORCPT ); Tue, 23 Aug 2016 20:53:22 -0400 X-IBM-Helo: d24dlp02.br.ibm.com X-IBM-MailFrom: bauerman@linux.vnet.ibm.com X-IBM-RcptTo: linux-kernel@vger.kernel.org From: Thiago Jung Bauermann To: "Oliver O'Halloran" Cc: Balbir Singh , 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 Subject: Re: [PATCH v5 04/13] powerpc: Factor out relocation code from module_64.c to elf_util_64.c. Date: Tue, 23 Aug 2016 21:53:12 -0300 User-Agent: KMail/4.14.3 (Linux/3.13.0-93-generic; KDE/4.14.13; x86_64; ; ) In-Reply-To: References: <1470956898-5991-1-git-send-email-bauerman@linux.vnet.ibm.com> <239172a5-1952-de2d-e48d-4ca7d882356c@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16082400-0020-0000-0000-000002339AB0 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16082400-0021-0000-0000-000030218492 Message-Id: <2306975.WkzT978XXa@hactar> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-08-23_15:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1608240005 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, 24 August 2016, 10:50:26 schrieb Oliver O'Halloran: > On Tue, Aug 23, 2016 at 1:21 PM, Balbir Singh wrote: > >> 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 > > I don't think it's ever worked so I wouldn't worry too much about > supporting it. Fixing kexec-into-zImage and fixing the 32bit wrapper > on 64bit BE kernel problem has been on my TODO list for a while, but > it's not a priority. Ok, thanks for your input. -- []'s Thiago Jung Bauermann IBM Linux Technology Center