From patchwork Tue Dec 24 07:12:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hao X-Patchwork-Id: 304906 X-Patchwork-Delegate: scottwood@freescale.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id C4B712C10EA for ; Tue, 24 Dec 2013 18:18:27 +1100 (EST) Received: from mail-pd0-x22b.google.com (mail-pd0-x22b.google.com [IPv6:2607:f8b0:400e:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id A36F72C02C2 for ; Tue, 24 Dec 2013 18:13:58 +1100 (EST) Received: by mail-pd0-f171.google.com with SMTP id z10so6021678pdj.2 for ; Mon, 23 Dec 2013 23:13:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tcCJZHkITOSc87xmQD9GcLeIHvjhim+QgQHKCkx4CFA=; b=FV8Vnvg7OYGot9qArzkNXlHiKIACtcALpiFtEZVglACTIcHX6mhnpb0d2GjvYK54SM 34olXF6WV8YFmVjEJSUDJCQiiIFxKXkmFuj9zvqh4Av7cQ7Oc6Iklu0lUYJO8l2jwzEs L5u1+fsVntkqT3mOlq0io5gsS7KRS+b8r5qYkCrTN6pA+UrqjwPFGWmanUna3UiYrvNA dnDcMHuKx0tDgXgaKlcLARPvgUUajgpBXOv3OlQRoYOVzmZ3yPtMx3bqLjqAF/pdD2HZ 8qO/0W7rOoHzYFtTnk6hBIXIvM5mbm79l1Lrt//Jjvg8rlnTCKWtECuOb2I2n8cT1BO4 km2w== X-Received: by 10.68.162.131 with SMTP id ya3mr30669264pbb.102.1387869233996; Mon, 23 Dec 2013 23:13:53 -0800 (PST) Received: from pek-khao-d1.corp.ad.wrs.com ([1.202.252.122]) by mx.google.com with ESMTPSA id y9sm51408806pas.10.2013.12.23.23.13.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Dec 2013 23:13:52 -0800 (PST) From: Kevin Hao To: Scott Wood Subject: [PATCH v4 10/10] powerpc/fsl_booke: enable the relocatable for the kdump kernel Date: Tue, 24 Dec 2013 15:12:12 +0800 Message-Id: <1387869132-12650-11-git-send-email-haokexin@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1387869132-12650-1-git-send-email-haokexin@gmail.com> References: <1387869132-12650-1-git-send-email-haokexin@gmail.com> Cc: linuxppc X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" The RELOCATABLE is more flexible and without any alignment restriction. And it is a superset of DYNAMIC_MEMSTART. So use it by default for a kdump kernel. Signed-off-by: Kevin Hao --- v4: No change. v3: No change. v2: A new patch in v2. arch/powerpc/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index f5b464c41117..569784af841c 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -399,8 +399,7 @@ config KEXEC config CRASH_DUMP bool "Build a kdump crash kernel" depends on PPC64 || 6xx || FSL_BOOKE || (44x && !SMP) - select RELOCATABLE if PPC64 || 44x - select DYNAMIC_MEMSTART if FSL_BOOKE + select RELOCATABLE if PPC64 || 44x || FSL_BOOKE help Build a kernel suitable for use as a kdump capture kernel. The same kernel binary can be used as production kernel and dump