From: Vivek Goyal <vgoyal@redhat.com>
To: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Cc: ebiederm@xmission.com, hpa@zytor.com, sruffell@digium.com,
kexec@lists.infradead.org, Vivek Goyal <vgoyal@redhat.com>
Subject: [PATCH 0/2] kexec: Introduce CONFIG_KEXEC_FILE for new syscall
Date: Wed, 13 Aug 2014 10:42:58 -0400 [thread overview]
Message-ID: <1407940980-7100-1-git-send-email-vgoyal@redhat.com> (raw)
Hi,
This patch series introduces a new config option CONFIG_KEXEC_FILE for
the newly introduce kexec syscall (kexec_file_load()). Now all the
code for new syscall compiles only if CONFIG_KEXEC_FILE=y.
This new option currently is available only on x86_64. Other arches
can enable it as as when support is added.
There is some code in new syscall which currently requires -mcmodel=large
gcc option and that option is supported only in gcc 4.4 onwards. So
old users of gcc complained about it. Now old gcc users should be
fine as long as they don't set CONFIG_KEXEC_FILE=y.
As a new option is introduced, now CONFIG_KEXEC does not have to
select CRYPTO. So I have put in a patch to remove select CRYPTO=y
from all the arches.
Thanks
Vivek
Vivek Goyal (2):
kexec: Create a new config option CONFIG_KEXEC_FILE for new syscall
kexec: Remove CONFIG_KEXEC dependency on crypto
arch/arm/Kconfig | 2 --
arch/ia64/Kconfig | 2 --
arch/m68k/Kconfig | 2 --
arch/mips/Kconfig | 2 --
arch/powerpc/Kconfig | 2 --
arch/s390/Kconfig | 2 --
arch/sh/Kconfig | 2 --
arch/tile/Kconfig | 2 --
arch/x86/Kbuild | 4 +---
arch/x86/Kconfig | 18 ++++++++++++++----
arch/x86/Makefile | 5 +----
arch/x86/kernel/Makefile | 2 +-
arch/x86/kernel/crash.c | 6 ++----
arch/x86/kernel/machine_kexec_64.c | 11 +++++++++++
arch/x86/purgatory/Makefile | 5 +----
kernel/kexec.c | 11 +++++++++++
16 files changed, 42 insertions(+), 36 deletions(-)
--
1.9.0
next reply other threads:[~2014-08-13 14:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-13 14:42 Vivek Goyal [this message]
2014-08-13 14:42 ` [PATCH 1/2] kexec: Create a new config option CONFIG_KEXEC_FILE for new syscall Vivek Goyal
2014-08-14 18:37 ` Shaun Ruffell
2014-08-13 14:43 ` [PATCH 2/2] kexec: Remove CONFIG_KEXEC dependency on crypto Vivek Goyal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1407940980-7100-1-git-send-email-vgoyal@redhat.com \
--to=vgoyal@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=ebiederm@xmission.com \
--cc=hpa@zytor.com \
--cc=kexec@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sruffell@digium.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox