Message ID | 20180222111732.23051-12-takahiro.akashi@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5F05F602DC for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 22 Feb 2018 11:41:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 603F628BB6 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 22 Feb 2018 11:41:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 54EC528BBA; Thu, 22 Feb 2018 11:41:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CEDE228BB6 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 22 Feb 2018 11:41:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=sjsBTUla9uFy1WdBS7+K0OkGLcYYh+EKmZttO4NpvNc=; b=PDcNU0858pdauQDabn47Tn39r2 y7/O9iGPz5XWV9teYuY3GfmZUrQBXdmIaY4owhkxPdFoMtFItuoe0w5qcVJmWg4brOBSzRIlc1oNq ABS1HZ1JP6Iby18WcusQe/Zw7z7IS71ftv9jRIyetqvsSdH0XmF53KQNk6k7NFwlmlrpv9bBxoAJE 7TfGF+RmiR9cvMv/4CzHtzkTB/aIb4xL6pAEIcYnr9mpuRickUnjWgqIjkni9de+3Ldz3YMxy3iZZ mnLsW6zna/oWvpKrFITQrHiDmiDR7jB+4ANyC3NKodgFDeHTdTDOqTM3beqQDPhCW/dBUi/ViEMae N7Geda4w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eopFr-0000mu-An; Thu, 22 Feb 2018 11:41:39 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eopFo-0000md-Uq for linux-arm-kernel@bombadil.infradead.org; Thu, 22 Feb 2018 11:41:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=EDWf381AC+81kWWce75bws6AddvzmzUGCExwZPnd4zU=; b=2nIGL2Z3qOYvX4gTPfVwDLbCI SdMmEVrzc4ksT/zOUqJbOj0+34P7b9DyWKAZoThoKvQpZjZzj1hdS2swlAAqyB5YdAcTY4dxjCse2 76M623O8ahHYMIyoGpP9cR2cCUintzKvnalNmSAv6VrQw8WcofFvoJWRScZ8Vsb8VM6fmaAB6p8V7 LLP/8wPsB+HE/hZpls/4rLJjhklC27ZH354/dVbaq0gLpCDQGzptDXkdjvQzvFW2tXICHw+7xAkbE hTO9F/eLhldIb1v771D4WlDUrvpHxLujrAeMdrY3JX5nrUB1VvN7jvRuXOlwQqnVgSmJAEIGtXIlO umK7AmnMg==; Received: from mail-it0-x242.google.com ([2607:f8b0:4001:c0b::242]) by merlin.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eoov1-0003kg-9r for linux-arm-kernel@lists.infradead.org; Thu, 22 Feb 2018 11:20:09 +0000 Received: by mail-it0-x242.google.com with SMTP id a203so1443746itd.1 for <linux-arm-kernel@lists.infradead.org>; Thu, 22 Feb 2018 03:19:56 -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=r5Ork2WK+pDXx6G2wsm9Yk1ugfAS6CXwD0kj0PSZy9NxLfvgn65JvbH3BUFCUrm8wg BJVenxnqeVVqSGb6MMBE75ksUNIKNM7bvM6ot676oQTAoyEchieXf9TYVX1MRnxFl1TE 9t8S5BuPn5SqKYNGLpl7mmwY8IO6kRX3Y2NPSABPO0v6ugr4EAThh0mW/TafFhi33sZT EmkonCAWyMg91t6uQDZXVJ5ghaQsRDZBe5ZvE2Z36ftcnIr0lHIEFAv2dZEPnfzMVJR0 p5g5tty/7OJwZ5X30sFQFuyjBgObVSYgj05eYzTTzlKtnzgZaKdarbDH+065Ud9ms8al 4MNQ== X-Gm-Message-State: APf1xPAEksNwnDHzWE4TC5Cg6z0X5s5R67ySIFQMsTV/8Sp6y+MnRbZM gjbf5Rc5Q4vfx+6PDMyq4p3VOQ== X-Google-Smtp-Source: AH8x224f/ZlMmaIQTHhEX0RtCroHYKlPgtQOhUsvgfG9uBQaHFKgIH19k2/tbzOiijX+RhwGq8zBTw== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180222_062007_364722_6A8354A3 X-CRM114-Status: GOOD ( 11.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: AKASHI Takahiro <takahiro.akashi@linaro.org>, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
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(+)