From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bYDQL-0006eG-Od for kexec@lists.infradead.org; Fri, 12 Aug 2016 14:27:02 +0000 Received: by mail-pf0-x241.google.com with SMTP id h186so1628665pfg.2 for ; Fri, 12 Aug 2016 07:26:41 -0700 (PDT) From: Ronit Halder Subject: [RFC 3/4] Adding a new kernel configuration to enable the feature Date: Fri, 12 Aug 2016 19:55:50 +0530 Message-Id: <20160812142550.6231-1-ronit.crj@gmail.com> In-Reply-To: <20160812141838.5973-1-ronit.crj@gmail.com> References: <20160812141838.5973-1-ronit.crj@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: linux-kernel@vger.kernel.org Cc: vdavydov@parallels.com, jack@suse.cz, linux-mm@kvack.org, krzysiek@podlesie.net, mnfhuang@gmail.com, hpa@zytor.com, Ronit Halder , tglx@linutronix.de, aarcange@redhat.com, bhe@redhat.com, mingo@redhat.com, msalter@redhat.com, bp@suse.de, dyoung@redhat.com, vgoyal@redhat.com, jroedel@suse.de, mchehab@osg.samsung.com, dan.j.williams@intel.com, kexec@lists.infradead.org, ebiederm@xmission.com, akpm@linux-foundation.org, kirill.shutemov@linux.intel.com Kernel configuration option added to enable run time memory reservation feature for kexec. Signed-off-by: Ronit Halder --- mm/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mm/Kconfig b/mm/Kconfig index 97a4e06..8b1533d 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -668,3 +668,9 @@ config ZONE_DEVICE config FRAME_VECTOR bool +config KEXEC_CMA + bool "Use CMA for Kexec crash kernel" + depends on CMA + help + This configuration option is to use CMA for Kexec. + CMA helps us to allocate memory for crash kernel at runtime. \ No newline at end of file -- 2.9.0.GIT _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f197.google.com (mail-pf0-f197.google.com [209.85.192.197]) by kanga.kvack.org (Postfix) with ESMTP id D438C6B0253 for ; Fri, 12 Aug 2016 10:26:41 -0400 (EDT) Received: by mail-pf0-f197.google.com with SMTP id w128so50583781pfd.3 for ; Fri, 12 Aug 2016 07:26:41 -0700 (PDT) Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com. [2607:f8b0:400e:c00::244]) by mx.google.com with ESMTPS id y130si9190159pfg.217.2016.08.12.07.26.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Aug 2016 07:26:41 -0700 (PDT) Received: by mail-pf0-x244.google.com with SMTP id i6so1633685pfe.0 for ; Fri, 12 Aug 2016 07:26:41 -0700 (PDT) From: Ronit Halder Subject: [RFC 3/4] Adding a new kernel configuration to enable the feature Date: Fri, 12 Aug 2016 19:55:50 +0530 Message-Id: <20160812142550.6231-1-ronit.crj@gmail.com> In-Reply-To: <20160812141838.5973-1-ronit.crj@gmail.com> References: <20160812141838.5973-1-ronit.crj@gmail.com> Sender: owner-linux-mm@kvack.org List-ID: To: linux-kernel@vger.kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, bp@suse.de, dyoung@redhat.com, jroedel@suse.de, krzysiek@podlesie.net, msalter@redhat.com, ebiederm@xmission.com, akpm@linux-foundation.org, bhe@redhat.com, vgoyal@redhat.com, mnfhuang@gmail.com, kexec@lists.infradead.org, kirill.shutemov@linux.intel.com, mchehab@osg.samsung.com, aarcange@redhat.com, vdavydov@parallels.com, dan.j.williams@intel.com, jack@suse.cz, linux-mm@kvack.org, Ronit Halder Kernel configuration option added to enable run time memory reservation feature for kexec. Signed-off-by: Ronit Halder --- mm/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mm/Kconfig b/mm/Kconfig index 97a4e06..8b1533d 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -668,3 +668,9 @@ config ZONE_DEVICE config FRAME_VECTOR bool +config KEXEC_CMA + bool "Use CMA for Kexec crash kernel" + depends on CMA + help + This configuration option is to use CMA for Kexec. + CMA helps us to allocate memory for crash kernel at runtime. \ No newline at end of file -- 2.9.0.GIT -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752305AbcHLO0n (ORCPT ); Fri, 12 Aug 2016 10:26:43 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:33113 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752250AbcHLO0l (ORCPT ); Fri, 12 Aug 2016 10:26:41 -0400 From: Ronit Halder To: linux-kernel@vger.kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, bp@suse.de, dyoung@redhat.com, jroedel@suse.de, krzysiek@podlesie.net, msalter@redhat.com, ebiederm@xmission.com, akpm@linux-foundation.org, bhe@redhat.com, vgoyal@redhat.com, mnfhuang@gmail.com, kexec@lists.infradead.org, kirill.shutemov@linux.intel.com, mchehab@osg.samsung.com, aarcange@redhat.com, vdavydov@parallels.com, dan.j.williams@intel.com, jack@suse.cz, linux-mm@kvack.org, Ronit Halder Subject: [RFC 3/4] Adding a new kernel configuration to enable the feature Date: Fri, 12 Aug 2016 19:55:50 +0530 Message-Id: <20160812142550.6231-1-ronit.crj@gmail.com> X-Mailer: git-send-email 2.9.0.GIT In-Reply-To: <20160812141838.5973-1-ronit.crj@gmail.com> References: <20160812141838.5973-1-ronit.crj@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kernel configuration option added to enable run time memory reservation feature for kexec. Signed-off-by: Ronit Halder --- mm/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mm/Kconfig b/mm/Kconfig index 97a4e06..8b1533d 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -668,3 +668,9 @@ config ZONE_DEVICE config FRAME_VECTOR bool +config KEXEC_CMA + bool "Use CMA for Kexec crash kernel" + depends on CMA + help + This configuration option is to use CMA for Kexec. + CMA helps us to allocate memory for crash kernel at runtime. \ No newline at end of file -- 2.9.0.GIT