Message ID | 20180425062629.29404-9-takahiro.akashi@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp471139lji; Tue, 24 Apr 2018 23:27:33 -0700 (PDT) X-Google-Smtp-Source: AIpwx49E5WKuomkSqD3sKUz2gg7dbBiciupCbCTlWOjVBnvk82JZvzsg9+zJiQhFJwsW7AXQ8n5D X-Received: by 10.101.100.193 with SMTP id t1mr18254479pgv.406.1524637652912; Tue, 24 Apr 2018 23:27:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524637652; cv=none; d=google.com; s=arc-20160816; b=tNQFm5RmkqPAIGJjGaOt28gWvwc+JJOC3ijsSXzzSK1Ro4jaOgg7k+4q5U23YoJ0q2 SeT9lvTKVNgGWNBexrxYalg4yEaQc0SefXedL5mUvOn7vm2Bfqi0oejuoB9z+cyPrHXg mmkIBxgeJG8VQgFco9boXkiCoght2Rqmmnue2Uel9mqGmWK2OR+BRtfjt6M1rVmfzB4c qDWTiBp/gZFsehLkivVLsN68xzLLiORfJFa9U46KYUlr8M35hJEe2pxbqA7Q+pC4P+W4 W/Va2yDXVgdBtUax7VIQaBAm0IkE0e/FT02jDFVdIae5evyTwknxzWO4vGDC3U2tfGjA WcaQ== 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=GkSdrpqMLsrzG/RGdV+Y7IpVgMY9NzEc/8I04UUjrT0=; b=dLtJhVyFugWEWYdeNW6O/2rc3qE+FpbHbwsrvcWxS5OdE6bpExGo674sFZjE6ya/xn 4Aolh3QnZsDaXpKUkij6kJ2EV5cQ0LIjSQyyRJTchgag6gCj62t7tyScJFKbO/XrH4Kv 38IGHH8MkAQQclmL4Vu5g88jF9VjnsrDAutt1Wnf3rgjxOURGF8DoZ4KGCB2caBxwslB nKLiQ89RiS+HjfGuNoFeyrTwozTUsAo+gla9v2VV1qFzIzxv/D24kd9Q9aQx9eyAmPg0 v+pif+dVk49H48avaDTiJWUAT1aPjWbXw/g3UZXQTp8JxfitShdbM7KA6bYC7hwtR6+5 dhYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VOjZm36S; 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 z73si10300366pfj.197.2018.04.24.23.27.32; Tue, 24 Apr 2018 23:27:32 -0700 (PDT) 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=VOjZm36S; 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 S1751570AbeDYG13 (ORCPT <rfc822;ramon.fried@linaro.org> + 29 others); Wed, 25 Apr 2018 02:27:29 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:40749 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751323AbeDYG1Y (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 25 Apr 2018 02:27:24 -0400 Received: by mail-pf0-f193.google.com with SMTP id f189so5205950pfa.7 for <linux-kernel@vger.kernel.org>; Tue, 24 Apr 2018 23:27:24 -0700 (PDT) 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=GkSdrpqMLsrzG/RGdV+Y7IpVgMY9NzEc/8I04UUjrT0=; b=VOjZm36SRXzXbYO/8KyRlUoZEFFYYCnpYbfOU7Bz6S2w1Ssye66FD7SyMosILFkx60 vqZIcRIY3Ad5zAq9j6DH1QWk0z3jMjvF6MO9MiP9R982kwZ9i40RrGOkv1Y5Q30qBxyV 1swZT65iu9NnA9rJvMaD5YxyaKoUHv1C+25EM= 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=GkSdrpqMLsrzG/RGdV+Y7IpVgMY9NzEc/8I04UUjrT0=; b=T49mjRGIwMOZoN7vX7+ZcmDWKMZLurWMekfVWgW1QWESMGR/8Rb4+JX2fd1CD64UYf wvP6DyHb53AUpQDFIruTd8glG4Pinfw17z94OfBksYFnUEFkoKLHwycL5WxjB6Jk/BnL NaV/7h16T10MI0O+1EQqLcjQY7P+fjYeBxvM5J6WssMj5WSxzq2gAHyDkSC+GzNB3Maz ZN6DrLfPJZLN7F7HD+BcfN701V1O4kU/JdmpmUwUB80DOZOSGsct2ondgNxPZm4cDNry VRYkXDp4oS3BMKgAC3y388vRake8EIN84JtTcNYJz2loXq52E82oWOPD13LKifWqzgSb 8rZg== X-Gm-Message-State: ALQs6tDmaG+ZBmexD+c+ermIqQQ51SnXC9SncO1c0MChZe2bvZ0bfm+t 6s6wif9val4xaA/QJYfzIwMLcw== X-Received: by 2002:a17:902:ea:: with SMTP id a97-v6mr27213387pla.28.1524637643726; Tue, 24 Apr 2018 23:27:23 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id h2sm32673918pfd.119.2018.04.24.23.27.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 23:27:23 -0700 (PDT) From: AKASHI Takahiro <takahiro.akashi@linaro.org> To: catalin.marinas@arm.com, will.deacon@arm.com, dhowells@redhat.com, vgoyal@redhat.com, herbert@gondor.apana.org.au, davem@davemloft.net, dyoung@redhat.com, bhe@redhat.com, arnd@arndb.de Cc: ard.biesheuvel@linaro.org, james.morse@arm.com, bhsharma@redhat.com, kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, AKASHI Takahiro <takahiro.akashi@linaro.org> Subject: [PATCH v9 08/11] arm64: enable KEXEC_FILE config Date: Wed, 25 Apr 2018 15:26:26 +0900 Message-Id: <20180425062629.29404-9-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180425062629.29404-1-takahiro.akashi@linaro.org> References: <20180425062629.29404-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 eb2cf4938f6d..d8f0dcdb8b96 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -847,6 +847,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.17.0