Message ID | 20180222111732.23051-12-takahiro.akashi@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp482148lja; Thu, 22 Feb 2018 03:20:04 -0800 (PST) X-Google-Smtp-Source: AH8x227VB9hOa1kbfrWOPcNMlJEV/n8e6WHD74jz92TFMKZhvuFhv8U7HPi1nlE7glNJ7Vcssw4x X-Received: by 10.101.81.204 with SMTP id i12mr5382654pgq.206.1519298404386; Thu, 22 Feb 2018 03:20:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519298404; cv=none; d=google.com; s=arc-20160816; b=DXOgJdLl/LTPWAbz2tqG7O9ZYQuEDXwg6Hc3lCW5jG5LnfcvfQc7PN25uhmX53wnCM UX/YvEjtTq4AZLWGQDJ0psBDZS2dlpsqN1FrbxQ+su2hRGE8zaRaNnAxyGNCXQ2PMLuC 0BRgxNxpf06pJpvhYAAA6SLfXwqzwEFha+Rh3j0sG60BngGL2QQXXp14pTE8wewwPVv4 RPqztx+2kqbpC2pgpaxA5yzkbbvkx4YxgVsFpOw9QTJzUjZCgJSI2pYimSXGALftO4R4 kg1eUF3bTGyOX49Inh38rm3w7DedH4gnWj/HGQD0t5CeGSvpO9AMVcFaz5/RGWgvI2fH H8fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=EDWf381AC+81kWWce75bws6AddvzmzUGCExwZPnd4zU=; b=HuwHmG8SdXxz8I/YMnIi9I0tJOP4eihu79bd54oYturzSMIFPPl0mUzIGKaWIuO5gD t+vQSPE8q8Zner7AdfEPnKrPELmdvAUrSvjQorzhDe3ukinXUr39Cwhd5uYCzZ/wfQbn KJdKBjwum/gEqYwHSuUJ5vuY/GtaUwKUvGLQ9p9qmYk3kwAO8WQa2EzQ9Z6u9dVreqwI 4liBKyFYRs75WIjhwB6IFiY8PXosfny4kS9D1c9V6jHeBhRCtYDlNXy8GC4OrdorXYY7 jdUZ+csrD9K8mCD9xK1ooxSq9xqopD9CV8eCjE1MbY/P9kkWJs6j0ZdUPa/Qf9lv4bGy k2WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QpIZO/OX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k8si64866pgc.472.2018.02.22.03.20.04; Thu, 22 Feb 2018 03:20:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QpIZO/OX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932234AbeBVLUA (ORCPT <rfc822;dan.rue@linaro.org> + 28 others); Thu, 22 Feb 2018 06:20:00 -0500 Received: from mail-it0-f67.google.com ([209.85.214.67]:40216 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932080AbeBVLTy (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 22 Feb 2018 06:19:54 -0500 Received: by mail-it0-f67.google.com with SMTP id v186so6065553itc.5 for <linux-kernel@vger.kernel.org>; Thu, 22 Feb 2018 03:19:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EDWf381AC+81kWWce75bws6AddvzmzUGCExwZPnd4zU=; b=QpIZO/OXyjsvC54/fNZkihNXp1v0PX5U1lm/jBlhZhG5jSXROy6hiCswDMkMhlTGFb ilu9QIJIzoqjEVfYhAZUuQW7DXlSW0RPfW9Hvkvi7w7wrVzCyM34oZXpUhxgmlBAdCFo 6eq9I8fukYoak5K0CIdJvE/hAYHq/66xQ6Cys= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EDWf381AC+81kWWce75bws6AddvzmzUGCExwZPnd4zU=; b=XmJ5WrQGrgVS1x8hZVsc6LGp2JU8DHfKL4eTSFisUjZ1UB8BvYat287ghzQPhtzVpI grJwar3DA6Q77V6N628UJJoanZrlLt4lydYx9+6hCsWoefp39/ZQT5iG3mm8ytKT2mtk 5/uV6kGtnDoH37chjcNzW36KLiXfrq2IsDxmMAVE/Pf2OTuI+t13G0fKw00amR4O0DfS hq8N8+lCaRUfxTlVPSzjorZtMnO/HFz/pRIyJbXurDt8lPgSLjXnbWKqL1j25H6ObbuL IGvhm27PLGOrH6hA4qrfZAdnymWX+NHYWGJEMxPRX8Ea0ZS6llzUL3C9A0mLb8SrAsge OW0w== X-Gm-Message-State: APf1xPAJz0e7FbIx3P2zHXhFe/JraYju4AyrKbNe/2CVE72NeO5KrbLp gJx8dLHLTtKObrY8QMFj0U0FQw== X-Received: by 10.36.69.131 with SMTP id c3mr7348425itd.126.1519298394239; Thu, 22 Feb 2018 03:19:54 -0800 (PST) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id h2sm11028813ioa.77.2018.02.22.03.19.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Feb 2018 03:19:53 -0800 (PST) From: AKASHI Takahiro <takahiro.akashi@linaro.org> To: catalin.marinas@arm.com, will.deacon@arm.com, bauerman@linux.vnet.ibm.com, dhowells@redhat.com, vgoyal@redhat.com, herbert@gondor.apana.org.au, davem@davemloft.net, akpm@linux-foundation.org, mpe@ellerman.id.au, dyoung@redhat.com, bhe@redhat.com, arnd@arndb.de, ard.biesheuvel@linaro.org, julien.thierry@arm.com Cc: kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, AKASHI Takahiro <takahiro.akashi@linaro.org> Subject: [PATCH v8 11/13] arm64: kexec_file: enable KEXEC_FILE config Date: Thu, 22 Feb 2018 20:17:30 +0900 Message-Id: <20180222111732.23051-12-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180222111732.23051-1-takahiro.akashi@linaro.org> References: <20180222111732.23051-1-takahiro.akashi@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
arm64: kexec: add kexec_file_load() support
|
expand
|
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 7381eeb7ef8e..79ee27b8d2a0 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -829,6 +829,16 @@ config KEXEC but it is independent of the system firmware. And like a reboot you can start any kernel with it, not just Linux. +config KEXEC_FILE + bool "kexec file based system call" + select KEXEC_CORE + select BUILD_BIN2C + ---help--- + This is new version of kexec system call. This system call is + file based and takes file descriptors as system call argument + for kernel and initramfs as opposed to list of segments as + accepted by previous system call. + config CRASH_DUMP bool "Build kdump crash kernel" help
Modify arm64/Kconfig to enable kexec_file_load support. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> --- arch/arm64/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.16.2