From patchwork Mon Oct 19 23:38:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geoff Levand X-Patchwork-Id: 55270 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by patches.linaro.org (Postfix) with ESMTPS id DEBFA22F11 for ; Mon, 19 Oct 2015 23:48:51 +0000 (UTC) Received: by wiclg3 with SMTP id lg3sf1835622wic.3 for ; Mon, 19 Oct 2015 16:48:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:message-id:in-reply-to:references :from:patch-date:subject:to:date:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:cc:mime-version :content-type:content-transfer-encoding:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list; bh=hoDrrtpYUSBVUUM3yiXoAPzjjLIqpRbnrxegiJWMp1k=; b=Nw+cGA6F6axs7wWLclR7zuRefvylYQRHGMbrk9Ff0zE71xVTrLmuaKcKXL/T/i04OK ElqkeYIn5QG2lL8C1sZssiioAxS4+ayFgKpiilbw7F3JBkJ1pQx6Dt3BtFj3j5GUq8KE aaV+mpSA5R7qjnJ5WEv01sOAD5TzqZXUsBQNU0rdPyUG/YF0CEBW43kiXUZeKn67fr55 zqVALAt5MmD863ETy9xNsWbYITam7kHo3bAGZlFw+qmyKVkTdfpMOmtkfFw/BlHRZZxO CyOwHwS6UjlrKK+Ey8DISNjqlGtz77udibFuDjwsHKASytvCinWN/7lkgCHUqcrRYRhS P+vg== X-Gm-Message-State: ALoCoQkOnXYxZ9CBuAUL3TMO1yzFdSx9FK5G8y7KpEFpQFBC0yL1SDzddUF08HXfHjD0ldfRNMRZ X-Received: by 10.112.159.4 with SMTP id wy4mr20058lbb.15.1445298531135; Mon, 19 Oct 2015 16:48:51 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.210.68 with SMTP id j65ls3303lfg.86.gmail; Mon, 19 Oct 2015 16:48:50 -0700 (PDT) X-Received: by 10.112.184.137 with SMTP id eu9mr54650lbc.21.1445298530869; Mon, 19 Oct 2015 16:48:50 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id s71si155341lfs.95.2015.10.19.16.48.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Oct 2015 16:48:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by lbbpp2 with SMTP id pp2so1071768lbb.0 for ; Mon, 19 Oct 2015 16:48:50 -0700 (PDT) X-Received: by 10.112.17.34 with SMTP id l2mr44073lbd.117.1445298530704; Mon, 19 Oct 2015 16:48:50 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1758841lbq; Mon, 19 Oct 2015 16:48:49 -0700 (PDT) X-Received: by 10.68.92.194 with SMTP id co2mr133953pbb.147.1445298529679; Mon, 19 Oct 2015 16:48:49 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [198.137.202.9]) by mx.google.com with ESMTPS id os5si283743pab.233.2015.10.19.16.48.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Oct 2015 16:48:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 198.137.202.9 as permitted sender) client-ip=198.137.202.9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZoK4m-0001ai-Ak; Mon, 19 Oct 2015 23:42:48 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZoK16-0002lJ-7u; Mon, 19 Oct 2015 23:39:00 +0000 Received: from geoff by merlin.infradead.org with local (Exim 4.85 #2 (Red Hat Linux)) id 1ZoK10-0000wy-EX; Mon, 19 Oct 2015 23:38:54 +0000 Message-Id: <64d9638238d079d89de959373a8a1290d6ea6801.1445297709.git.geoff@infradead.org> In-Reply-To: References: From: Geoff Levand Patch-Date: Wed, 19 Aug 2015 11:50:20 +0900 Subject: [PATCH 14/16] arm64: kdump: update a kernel doc To: Catalin Marinas , Will Deacon Date: Mon, 19 Oct 2015 23:38:54 +0000 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Cc: Mark Rutland , AKASHI@infradead.org, marc.zyngier@arm.com, kexec@lists.infradead.org, Takahiro , linux-arm-kernel@lists.infradead.org, christoffer.dall@linaro.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: geoff@infradead.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: AKASHI Takahiro This patch adds arch specific descriptions about kdump usage on arm64 to kdump.txt. Signed-off-by: AKASHI Takahiro --- Documentation/kdump/kdump.txt | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt index bc4bd5a..35f4fa7 100644 --- a/Documentation/kdump/kdump.txt +++ b/Documentation/kdump/kdump.txt @@ -18,7 +18,7 @@ memory image to a dump file on the local disk, or across the network to a remote system. Kdump and kexec are currently supported on the x86, x86_64, ppc64, ia64, -s390x and arm architectures. +s390x, arm and arm64 architectures. When the system kernel boots, it reserves a small section of memory for the dump-capture kernel. This ensures that ongoing Direct Memory Access @@ -249,6 +249,26 @@ Dump-capture kernel config options (Arch Dependent, arm) AUTO_ZRELADDR=y +Dump-capture kernel config options (Arch Dependent, arm64) +---------------------------------------------------------- + +1) Disable symmetric multi-processing support under "Processor type and + features": + + CONFIG_SMP=n + + (If CONFIG_SMP=y, then specify maxcpus=1 on the kernel command line + when loading the dump-capture kernel, see section "Load the Dump-capture + Kernel".) + +2) The maximum memory size on the dump-capture kernel must be limited by + specifying: + + mem=X[MG] + + where X should be less than or equal to the size in "crashkernel=" + boot parameter. Kexec-tools will automatically add this. + Extended crashkernel syntax =========================== @@ -312,6 +332,8 @@ Boot into System Kernel any space below the alignment point may be overwritten by the dump-capture kernel, which means it is possible that the vmcore is not that precise as expected. + On arm64, use "crashkernel=Y[@X]". Note that the start address of + the kernel, X if explicitly specified, must be aligned to 2MiB (0x200000). Load the Dump-capture Kernel ============================ @@ -334,6 +356,8 @@ For s390x: - Use image or bzImage For arm: - Use zImage +For arm64: + - Use vmlinux If you are using a uncompressed vmlinux image then use following command to load dump-capture kernel. @@ -377,6 +401,9 @@ For s390x: For arm: "1 maxcpus=1 reset_devices" +For arm64: + "1 mem=X[MG] maxcpus=1 reset_devices" + Notes on loading the dump-capture kernel: * By default, the ELF headers are stored in ELF64 format to support