From patchwork Mon Apr 3 02:24:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 9658747 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B8E7860237 for ; Mon, 3 Apr 2017 02:39:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ACCEB283FB for ; Mon, 3 Apr 2017 02:39:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A170F28409; Mon, 3 Apr 2017 02:39:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1D8F0283FB for ; Mon, 3 Apr 2017 02:39:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=cfQfH7avTb51piStoHuF7YLcNx4EpJuxu+Ks+QDoYp0=; b=hHRhzYd3+lFzsKm3p/LzMiYfWP UjUpYy51NLb56m1t7AN3yezK7UK9wv9OCYWkP8Mn628ZCNI8Q1nohHt4S0gzN/7lp664RUjSedfL3 EXrTzrFqQzcUl5ng7+RZNpXfwNTuUAlsHom1JrPo2lcRgRhVd7iA+C3zSsaxIPlVmFxzyGs4LPOBF blf8M0KRlnP1Tnovr3DeceZbLNrk1RkOp2mJvMxvjGU5cjYkmw/ERtQ6TVymFYWeab450seQRmh41 bFO2bdSibRcS0N4/60AstNPW4DKE/4kfIJBYo6TwxB2j2Hb5EkPqoiDyp548HoScBRupGnayxol/U Ksl2e8/A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1curuJ-0004Uj-7P; Mon, 03 Apr 2017 02:39:51 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1curtg-0003bj-EA for linux-arm-kernel@bombadil.infradead.org; Mon, 03 Apr 2017 02:39:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ouq/XKtWKsJfyWgF5JMhaPgDywOC8mjvmrBuFrhc2no=; b=MGMKCZA27WkYUTeTVj81eABtl HPE02V7dPqZ3jgpAnD66HZ/DlTEl8uRnCs7O/5y79vSAjQQMmQkqWxmF+HEMwzgEyqvzOfLl75gP/ RMMvJIT7KZXGNQoIJ8Usv+/YNQo/X18qDeQy5a2mCrVmMIHZN0lSyak0pG7VC+HWmwLN94lG2RpVp LLN+hLHI5M83pC8SLgFi6nsHJ/Iovww98VK+K0SJoYD2tdsJolSpURXRDCf4k0JAiCDnlXb4n6kCi HdchFVIpXFoFu9S88DY3xJnzH4QkVJY9GDpOr7COjG5iA3Hc6rYD4K0m5szLVZ8JeGs09OtO57tx6 Z3dqe+G+Q==; Received: from mail-pg0-x229.google.com ([2607:f8b0:400e:c05::229]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1curdW-0007JO-Mm for linux-arm-kernel@lists.infradead.org; Mon, 03 Apr 2017 02:22:32 +0000 Received: by mail-pg0-x229.google.com with SMTP id 21so105673290pgg.1 for ; Sun, 02 Apr 2017 19:22:12 -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=ouq/XKtWKsJfyWgF5JMhaPgDywOC8mjvmrBuFrhc2no=; b=X5r8VFJ8s5pIvjdR+WzimX1ApPKosrycpSJ9M8HSTYTmFv/8yqR6KyjwBTLxj4NzXp c2CAag/2ANovq9sPmUfjIYyEjBfEOwi42WzuejIFQE2spUbQ0T2jAb/I+pG4upPozt3n 8RxpK53LPSJKEGSxead9CQ0SDpFO5nFB5bTKg= 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=ouq/XKtWKsJfyWgF5JMhaPgDywOC8mjvmrBuFrhc2no=; b=fn0AcbIxEo+pbqqwlk3bO/HxOR6+YEElDfaQYAb1UpjnJ4mTeB0vq6Sxy1TLUC+Gr5 /6RWz/rVWCgys5fRY3ZP7fAJquHU/FFn7Q0TRn06ooMdARXDYTqK3oR/T45FdP11MoA2 n6DRtGcManaBmQ1UgeQHIPjo0glBKvS82RvCoSC1Pw030ISszMsKfxKQQWk7lyCWUIew hN6G14iQzsydpGjZpy7tsaEcuGEbS3+aZFO9tmUYK1iav44fwP1Ry9PndBoKXsrouFKY u41V6+J4rAxTryZTbjRJ9SMcq36E5d1fXPmGLB7dP0A9/Sew3zuTOPiY2Yf8CSKX9IaX MQCA== X-Gm-Message-State: AFeK/H0FyKeqa0RaEznJTZIF5KboHcR2v7ylOHLiDNHRFCi1LBZ8RVP0grjTro5cNv1MODqH X-Received: by 10.84.231.201 with SMTP id g9mr18894186pln.1.1491186131426; Sun, 02 Apr 2017 19:22:11 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id p6sm2552013pgn.9.2017.04.02.19.22.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Apr 2017 19:22:10 -0700 (PDT) From: AKASHI Takahiro To: catalin.marinas@arm.com, will.deacon@arm.com Subject: [PATCH v35 12/14] Documentation: kdump: describe arm64 port Date: Mon, 3 Apr 2017 11:24:40 +0900 Message-Id: <20170403022440.12515-10-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.11.1 In-Reply-To: <20170403022139.12383-1-takahiro.akashi@linaro.org> References: <20170403022139.12383-1-takahiro.akashi@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170403_032230_899697_4429AD57 X-CRM114-Status: GOOD ( 13.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, panand@redhat.com, ard.biesheuvel@linaro.org, geoff@infradead.org, dwmw2@infradead.org, kexec@lists.infradead.org, AKASHI Takahiro , james.morse@arm.com, bauerman@linux.vnet.ibm.com, sgoel@codeaurora.org, dyoung@redhat.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add arch specific descriptions about kdump usage on arm64 to kdump.txt. Signed-off-by: AKASHI Takahiro Reviewed-by: Baoquan He Acked-by: Dave Young Acked-by: Catalin Marinas --- Documentation/kdump/kdump.txt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt index b0eb27b956d9..615434d81108 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,13 @@ Dump-capture kernel config options (Arch Dependent, arm) AUTO_ZRELADDR=y +Dump-capture kernel config options (Arch Dependent, arm64) +---------------------------------------------------------- + +- Please note that kvm of the dump-capture kernel will not be enabled + on non-VHE systems even if it is configured. This is because the CPU + will not be reset to EL2 on panic. + Extended crashkernel syntax =========================== @@ -305,6 +312,8 @@ Boot into System Kernel kernel will automatically locate the crash kernel image within the first 512MB of RAM if X is not given. + 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 ============================ @@ -327,6 +336,8 @@ For s390x: - Use image or bzImage For arm: - Use zImage +For arm64: + - Use vmlinux or Image If you are using a uncompressed vmlinux image then use following command to load dump-capture kernel. @@ -370,6 +381,9 @@ For s390x: For arm: "1 maxcpus=1 reset_devices" +For arm64: + "1 maxcpus=1 reset_devices" + Notes on loading the dump-capture kernel: * By default, the ELF headers are stored in ELF64 format to support