From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49DADC73C56 for ; Tue, 9 Jul 2019 19:47:39 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A1B162087F for ; Tue, 9 Jul 2019 19:47:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=duncanthrax.net header.i=@duncanthrax.net header.b="JFHPv+yW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A1B162087F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=stackframe.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 45jtBw0R65zDqYS for ; Wed, 10 Jul 2019 05:47:36 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=none (mailfrom) smtp.mailfrom=stackframe.org (client-ip=2001:470:70c5:1111::170; helo=smtp.duncanthrax.net; envelope-from=svens@stackframe.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=stackframe.org Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=duncanthrax.net header.i=@duncanthrax.net header.b="JFHPv+yW"; dkim-atps=neutral Received: from smtp.duncanthrax.net (smtp.duncanthrax.net [IPv6:2001:470:70c5:1111::170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 45jt6T1pC5zDqC5 for ; Wed, 10 Jul 2019 05:43:43 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=duncanthrax.net; s=dkim; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From; bh=jO1Bg4FHUhM6jsS2bqYB5gZ2IzMSJji5y+7Kkq/uNC8=; b=JFHPv+yWSP7Of4s3SRu/hr7/us vp+Wi69+PSBhxL4FPqg9o8+UhHdxH7ndyrHv7n3jOgcckVM6Kn4x+l8NrzZVZLDrYAtXjh5yeC4vS XwQAB0ftCGYAv8wF9Av4+XkEf+x6Dalni5ix9wE8/oQiKpeEqMphXDiKH0j6UAEJ3/e0=; Received: from [134.3.44.134] (helo=t470p.stackframe.org) by smtp.eurescom.eu with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1hkw1Y-0007pP-3W; Tue, 09 Jul 2019 21:43:36 +0200 From: Sven Schnelle To: kexec@lists.infradead.org Subject: [PATCH v2 0/7] kexec: add generic support for elf kernel images Date: Tue, 9 Jul 2019 21:43:21 +0200 Message-Id: <20190709194328.16991-1-svens@stackframe.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sven Schnelle , deller@gmx.de, linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Hi List, i've split up the patch a bit more. The first one move the generic elf stuff out of arch/powerpc to linux/kexec_elf.c, and prefixes the exposed functions with kexec_. That other patches remove stuff that is not used as proposed in the review. Changes to v1: - split up patch into smaller pieces - rebase onto powerpc/next - remove unused variable in kexec_elf_load() Changes to RFC version: - remove unused Elf_Rel macro - remove section header parsing - remove PURGATORY_STACK_SIZE - change order of elf_*_to_cpu() functions - remove elf_addr_to_cpu macro Sven Schnelle (7): kexec: add KEXEC_ELF kexec_elf: change order of elf_*_to_cpu() functions kexec_elf: remove parsing of section headers kexec_elf: remove PURGATORY_STACK_SIZE kexec_elf: remove elf_addr_to_cpu macro kexec_elf: remove Elf_Rel macro kexec_elf: remove unused variable in kexec_elf_load() arch/Kconfig | 3 + arch/powerpc/Kconfig | 1 + arch/powerpc/kernel/kexec_elf_64.c | 551 +---------------------------- include/linux/kexec.h | 23 ++ kernel/Makefile | 1 + kernel/kexec_elf.c | 389 ++++++++++++++++++++ 6 files changed, 427 insertions(+), 541 deletions(-) create mode 100644 kernel/kexec_elf.c -- 2.20.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.duncanthrax.net ([2001:470:70c5:1111::170]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hkw1d-0004NY-TQ for kexec@lists.infradead.org; Tue, 09 Jul 2019 19:43:45 +0000 From: Sven Schnelle Subject: [PATCH v2 0/7] kexec: add generic support for elf kernel images Date: Tue, 9 Jul 2019 21:43:21 +0200 Message-Id: <20190709194328.16991-1-svens@stackframe.org> MIME-Version: 1.0 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: kexec@lists.infradead.org Cc: Sven Schnelle , deller@gmx.de, linuxppc-dev@lists.ozlabs.org Hi List, i've split up the patch a bit more. The first one move the generic elf stuff out of arch/powerpc to linux/kexec_elf.c, and prefixes the exposed functions with kexec_. That other patches remove stuff that is not used as proposed in the review. Changes to v1: - split up patch into smaller pieces - rebase onto powerpc/next - remove unused variable in kexec_elf_load() Changes to RFC version: - remove unused Elf_Rel macro - remove section header parsing - remove PURGATORY_STACK_SIZE - change order of elf_*_to_cpu() functions - remove elf_addr_to_cpu macro Sven Schnelle (7): kexec: add KEXEC_ELF kexec_elf: change order of elf_*_to_cpu() functions kexec_elf: remove parsing of section headers kexec_elf: remove PURGATORY_STACK_SIZE kexec_elf: remove elf_addr_to_cpu macro kexec_elf: remove Elf_Rel macro kexec_elf: remove unused variable in kexec_elf_load() arch/Kconfig | 3 + arch/powerpc/Kconfig | 1 + arch/powerpc/kernel/kexec_elf_64.c | 551 +---------------------------- include/linux/kexec.h | 23 ++ kernel/Makefile | 1 + kernel/kexec_elf.c | 389 ++++++++++++++++++++ 6 files changed, 427 insertions(+), 541 deletions(-) create mode 100644 kernel/kexec_elf.c -- 2.20.1 _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec