Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp514841pxb; Tue, 3 Nov 2020 05:43:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwlxu+J/jNc2/pFnUbERgKtnGqyN0TSalp+j/bks9kSLDSEZN0oz6j1XQ1hGZLr0SaQaLqa X-Received: by 2002:a50:bc02:: with SMTP id j2mr17908566edh.317.1604411021458; Tue, 03 Nov 2020 05:43:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604411021; cv=none; d=google.com; s=arc-20160816; b=cFccQHaDWtcoEqZIJH0D2Pcu7/S/1ZpnpmmrrISZqUmxImw2MsAY4GdKTz4oSQPEKa uJXipIpFG+r6Mii0P+itJvHXCxU9pNahPrLzJ3di6u6sWF+d6MinGwaBO3bBiyJ66+3l ZIeQPdfmup7NugJcE4sutKQQVvT5N7wInRHL70/uFQ+NRRyg2uvXZP3bU01h5KNRWy/T fp+ZlU+/hKYrvfc84KzaNmEq56EbkKgEF5iOgjkTQoPL2wrTuwfU/70PnzyOa7EXQjEe cTH5wLThs0BGxzPFrnqL5YZnHmSJSFSzcRyukaBPTFRWp9wgh+Y1Rd9uASMm+ebWzu7O 6fGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=fY9KkPW09H/p8CbksQIyE/zsYu56P5SnlR38RzxB2oo=; b=OSho52SrFlfh7G1CWKS8Fvv/u83uyXq4Dzul5Xq00j3hsJgGF4Aqmg0c05XuhwtVf7 hE43OFnIDstk/rCGTuBOcs/y0gcuahl0I8Hqy/lr94lz7mrCT2zeJdcoFsQ4aAswB+LY luavMopQhmn/YRelOvBFHz0A6UHE2kg7U7oDi5l7Q6NkZx/agEdYNg8jaVcd56Th9ZvA sXx5QFP8tBMeh4jfhSBg6EGjwOGUQo3+8IFoLSm8ELA464qxKlLwNt2RgpVSqk5RR5VJ NmSOHTg/Zma9J74S18ts1G2l5OKjmE4i8f8Jsu0OXmArPkLp8IEOxrwMpHg0bmaX1jpx y55A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z5si11346505edl.605.2020.11.03.05.43.19; Tue, 03 Nov 2020 05:43:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729241AbgKCNky (ORCPT + 99 others); Tue, 3 Nov 2020 08:40:54 -0500 Received: from mx3.molgen.mpg.de ([141.14.17.11]:40933 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728029AbgKCNkx (ORCPT ); Tue, 3 Nov 2020 08:40:53 -0500 Received: from localhost.localdomain (ip5f5af1b7.dynamic.kabel-deutschland.de [95.90.241.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 3B0CC20647132; Tue, 3 Nov 2020 14:40:51 +0100 (CET) From: Paul Menzel To: Eric Biederman Cc: Joe LeVeque , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Paul Menzel Subject: [PATCH] kexec: Add kexec reboot string Date: Tue, 3 Nov 2020 14:40:36 +0100 Message-Id: <20201103134036.23554-1-pmenzel@molgen.mpg.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joe LeVeque The purpose is to notify the kernel module for fast reboot. Upstream a patch from the SONiC network operating system [1]. [1]: https://github.com/Azure/sonic-linux-kernel/pull/46 Signed-off-by: Paul Menzel --- kernel/kexec_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/kexec_core.c b/kernel/kexec_core.c index 8798a8183974..9aaa6ce48cdf 100644 --- a/kernel/kexec_core.c +++ b/kernel/kexec_core.c @@ -1167,7 +1167,7 @@ int kernel_kexec(void) #endif { kexec_in_progress = true; - kernel_restart_prepare(NULL); + kernel_restart_prepare("kexec reboot"); migrate_to_reboot_cpu(); /* -- 2.29.2