From patchwork Sun Nov 11 04:41:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qian Cai X-Patchwork-Id: 10677475 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 83B2B13AD for ; Sun, 11 Nov 2018 04:41:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5FDF32BB47 for ; Sun, 11 Nov 2018 04:41:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 50CC62BB49; Sun, 11 Nov 2018 04:41:44 +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=-2.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB2562BB47 for ; Sun, 11 Nov 2018 04:41:42 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6072B6B0003; Sat, 10 Nov 2018 23:41:41 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 5B63C6B0005; Sat, 10 Nov 2018 23:41:41 -0500 (EST) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4CF636B0006; Sat, 10 Nov 2018 23:41:41 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by kanga.kvack.org (Postfix) with ESMTP id E876D6B0003 for ; Sat, 10 Nov 2018 23:41:40 -0500 (EST) Received: by mail-wm1-f70.google.com with SMTP id h184-v6so5188865wmf.1 for ; Sat, 10 Nov 2018 20:41:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from :content-transfer-encoding:mime-version:subject:message-id:date:cc :to; bh=JRIQ8gUwnErRwPocPhwQVpLvt2vMm0fyMGwMmYCGwwc=; b=UHYeWHqoIZc2Lq85yCsV9DxAumYiRNNWEbSEGc54kF7ERk6/rNF/LSn0gnnjkj0txm ZYjh8m4WRlQhJsnWmSJ4Xols3iIxKkfni6FvQjcWxSx5+BchAlRvG2QJLcAV4pwC6POm BLzi+w+TsM/SFJFTuyENER20YRH4bA6deJxORVkPgg0EDw8yDPF7pIuq5Wcc4U5QfhD/ WbWnXimTzhjp6jyFnRnGXE1biOr9NwDq8jmvolVx9aqZ4/nVQ1i/ESFsadn3wEMxa/M/ jgItLd5LtdWz2R2PMq+lFPi8SPT4pqcsaeH3hCPXZdvLdI/GiPn0QiMGTN30Jk5ZAu/u 7rpg== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of cai@gmx.us designates 212.227.17.21 as permitted sender) smtp.mailfrom=cai@gmx.us X-Gm-Message-State: AGRZ1gILJ2hfMtQ6WBsncbwLu/YS29HgooCjpjU1IsWDbdnn96GY5L+O tBjiG1NGqOs0zl0ZEe6aXGWf/8dUS4NC5p1SGhVb1rPJRVS/K+cLTFaII2jOFYnRayOqGdRgjti RtGfZ+TsKq23jrJ1hGe+hIUb78FSjcGgk7r17L6Uq94UFYBr/PHndAJ7Vt2tbmcJLDQ== X-Received: by 2002:a1c:a607:: with SMTP id p7-v6mr3799039wme.107.1541911300320; Sat, 10 Nov 2018 20:41:40 -0800 (PST) X-Google-Smtp-Source: AJdET5fAQRW7OpuTEflxZInhtVPrNRugouKkp/YOW7sFuNCBX82KutvAy4QqhKzTEACCTph/PEcg X-Received: by 2002:a1c:a607:: with SMTP id p7-v6mr3799013wme.107.1541911298892; Sat, 10 Nov 2018 20:41:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541911298; cv=none; d=google.com; s=arc-20160816; b=oNSEfdSrZt0DSYt7krmYy2W1RZgjtEAHIaDBfeOOcBqL0B3Vc/kR3hZbWsCiSDhtzB T02PS9kIPR2eWu3WgjLSaIL/KLqZBAGhScIWgwQMHUoM3dESxsoCbXtqod5bg+E1wtZ1 J4necZr21pfmpQQeaE5lMCr6umkzNM4KdY9ylQtcBo/2qbSa8R7AlDt+pj0GhmuKWS6y riGoNiCbdwIsOmsy2781S7AKdrdP1VJxAMLOHNBxOXvH5GBzaHkQwfy28Z65HCWFL0rB qa4WGYVXwdp+/cifW4Yaa/l/6DTikuqqbnoaOuykEwmcjtkML6BHXVmYrqRXrslc287b B7rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from; bh=JRIQ8gUwnErRwPocPhwQVpLvt2vMm0fyMGwMmYCGwwc=; b=tUNep4XO9S2+trU8gxg79mAI37c5a62cMiFEAhTajoAJpL+yBZmpPrt/k0E8yUbKVe kLcuNvi8ESQ8NecW4wCbZAhfcUMomeoyn/7TfqamhHXwIgvVweSwM9rA7hjlBtLqhaj8 i90kCqsjfE29f2x5dR+E3dTfpNeGP61Ar7CRONCkKGavN9JDMsvs4zr2CeQpGnfjPmRC 2GV1xCUPREPwMcmxe+AxujTko6VA2jaytbXr8Bl56E6JY3I37v9gAR8i5/pAK+IIIh7B GpNbgSWmyEOO5Vglm8r2NhMst/re9xtEpN7m0NyDsM96SbzIKz0ATk8tJ6mmbN/KVs10 YokA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of cai@gmx.us designates 212.227.17.21 as permitted sender) smtp.mailfrom=cai@gmx.us Received: from mout.gmx.net (mout.gmx.net. [212.227.17.21]) by mx.google.com with ESMTPS id 4-v6si5206036wmk.174.2018.11.10.20.41.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Nov 2018 20:41:38 -0800 (PST) Received-SPF: pass (google.com: domain of cai@gmx.us designates 212.227.17.21 as permitted sender) client-ip=212.227.17.21; Authentication-Results: mx.google.com; spf=pass (google.com: domain of cai@gmx.us designates 212.227.17.21 as permitted sender) smtp.mailfrom=cai@gmx.us Received: from [192.168.1.153] ([74.104.183.64]) by mail.gmx.com (mrgmx102 [212.227.17.174]) with ESMTPSA (Nemesis) id 0LnlmV-1fr2Bb47At-00hzmj; Sun, 11 Nov 2018 05:41:37 +0100 From: Qian Cai Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Subject: crashkernel=512M is no longer working on this aarch64 server Message-Id: <1A7E2E89-34DB-41A0-BBA2-323073A7E298@gmx.us> Date: Sat, 10 Nov 2018 23:41:34 -0500 Cc: linux-mm@kvack.org, "Kirill A. Shutemov" , Martin Schwidefsky To: linux-kernel@vger.kernel.org X-Mailer: Apple Mail (2.3445.100.39) X-Provags-ID: V03:K1:XtDa7QJ6K0jE3PIxeDoHWzJQZIiQxEpx5w1p9Lso7Y3ZQGNv8li 3Lp1V5H9KNvlT8NVhg/XuAZVXYGfpoZD0pGxGJ/wN/1/YsB22hOHXoemoo1VpK6o1gLHD/w vCepLtLb/XLcl2VPsURvH5CrVBAAWVm84/p5oD0RNPp6drdWdR9V6t35tS/THZanPrJUmAy TdrYi86rgCKvCBkxKiXIQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:mt+vNIJAjvY=:k+eOiqbSviZsSJQV5TJVRT Dq+yuPwOsAUmPnpEJM16y80lQlQHm9tegHufURSApcdnreOI+H0g0d2jmxyyN1RIYP22RXgf6 Z25OwNneGUODftxPGb7k2AoL7vgrfrDvvDHWZMXDcFNzlPVLQ0O+u1CaLQ5YqvuyJEvhWJR53 DbuiPeQK4TwEkxlzwfLgocKgRVMr6xxCjJFnDnSVlWtdj9lS6G47g9AQr6jlyh4CJsj76h9+z XyXmTCuXC0QCQXQnFxhXKvVW8kBozU0x1g64Ps6elZ0RyPkR5Kxa++1/MtA/GQhMrMNExe1tm BPZx3SbzgLUXZaMuo2t1wLSQN6qW3Gxrlaq+qtQa22UYVRF0hD/si2MyovL6N5sLKD1cDD4zE Q7oxK1+w8Rw2HZ0ExuCZ6Ta6xN6OxP132LlsqrASmbKUPST5pHgEb7Mv/P18ONkVSBfqsJ3kA yDeJHI/iUO29ld+LzSj2Z14538n9zi0iGVhOqnE5ufrWfthIBuEr5aT5hNKInwk07OTAcQemg 5iYu3mBZbK/1dNS1faB+gi38EFwEuGTS1iaIvxF6+DIdoOGj8mNM1Tl83f2B5GomrFBSez61P cK4NbHVCZpk5Wp0b++CmO4m4LRYsbRp80lnAsh8Y+KX5/8r8pxD/XRbcWZQ41z+YUMa6uJSSb aKbZhxZEQUsg5ngxTjLUNDpwlo83fasTDuQJc+r/8pt0ryQ2xYqEmry+HbzEldkj6p71vMS1J iVOxMlmWmZr7W+kuZe/mOuheFzfglbQZeEIOMY8ztp7GOYNU7v02V9eD85Yp/Gqwr3vELgiL3 ZgsklpkBra55zoA1kl8gbG/Hs29lylvxMaU6EgSF8bcHexzlg5pldVUmQU1nyDE2BpHhoAmMb 4LOnn8+HQEVf+pXgF3H6N5rqQpfnfF8IiVIVSHYsA4FB4oGOQK4yUDA9wwkczp X-Bogosity: Ham, tests=bogofilter, spamicity=0.000001, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP It was broken somewhere between b00d209241ff and 3541833fd1f2. [ 0.000000] cannot allocate crashkernel (size:0x20000000) Where a good one looks like this, [ 0.000000] crashkernel reserved: 0x0000000008600000 - 0x0000000028600000 (512 MB) Some commits look more suspicious than others. mm: add mm_pxd_folded checks to pgtable_bytes accounting functions mm: introduce mm_[p4d|pud|pmd]_folded mm: make the __PAGETABLE_PxD_FOLDED defines non-empty # diff -u ../iomem.good.txt ../iomem.bad.txt The memory map looks like this, [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000398D0014 000024 (v02 HISI ) [ 0.000000] ACPI: XSDT 0x00000000398C00E8 000064 (v01 HISI HIP07 00000000 01000013) [ 0.000000] ACPI: FACP 0x0000000039770000 000114 (v06 HISI HIP07 00000000 INTL 20151124) [ 0.000000] ACPI: DSDT 0x0000000039730000 00691A (v02 HISI HIP07 00000000 INTL 20170728) [ 0.000000] ACPI: MCFG 0x00000000397C0000 0000AC (v01 HISI HIP07 00000000 INTL 20151124) [ 0.000000] ACPI: SLIT 0x00000000397B0000 00003C (v01 HISI HIP07 00000000 INTL 20151124) [ 0.000000] ACPI: SRAT 0x00000000397A0000 000578 (v03 HISI HIP07 00000000 INTL 20151124) [ 0.000000] ACPI: DBG2 0x0000000039790000 00005A (v00 HISI HIP07 00000000 INTL 20151124) [ 0.000000] ACPI: GTDT 0x0000000039760000 00007C (v02 HISI HIP07 00000000 INTL 20151124) [ 0.000000] ACPI: APIC 0x0000000039750000 0014E4 (v04 HISI HIP07 00000000 INTL 20151124) [ 0.000000] ACPI: IORT 0x0000000039740000 000554 (v00 HISI HIP07 00000000 INTL 20170728) [ 0.000000] ACPI: SRAT: Node 0 PXM 0 [mem 0x00000000-0x3fffffff] [ 0.000000] ACPI: SRAT: Node 1 PXM 1 [mem 0x1800000000-0x1fffffffff] [ 0.000000] ACPI: SRAT: Node 0 PXM 0 [mem 0x1000000000-0x17ffffffff] [ 0.000000] ACPI: SRAT: Node 3 PXM 3 [mem 0x9000000000-0x97ffffffff] [ 0.000000] ACPI: SRAT: Node 2 PXM 2 [mem 0x8800000000-0x8fffffffff] [ 0.000000] NUMA: NODE_DATA [mem 0x17fbffe5c0-0x17fbffffff] [ 0.000000] NUMA: NODE_DATA [mem 0x1ffbffe5c0-0x1ffbffffff] [ 0.000000] NUMA: NODE_DATA [mem 0x8ffbffe5c0-0x8ffbffffff] [ 0.000000] NUMA: NODE_DATA [mem 0x97fadce5c0-0x97fadcffff] [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000000000000-0x00000000ffffffff] [ 0.000000] Normal [mem 0x0000000100000000-0x00000097fbffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000003965ffff] [ 0.000000] node 0: [mem 0x0000000039660000-0x00000000396fffff] [ 0.000000] node 0: [mem 0x0000000039700000-0x000000003977ffff] [ 0.000000] node 0: [mem 0x0000000039780000-0x000000003978ffff] [ 0.000000] node 0: [mem 0x0000000039790000-0x00000000397cffff] [ 0.000000] node 0: [mem 0x00000000397d0000-0x00000000398bffff] [ 0.000000] node 0: [mem 0x00000000398c0000-0x00000000398dffff] [ 0.000000] node 0: [mem 0x00000000398e0000-0x0000000039d5ffff] [ 0.000000] node 0: [mem 0x0000000039d60000-0x000000003ed4ffff] [ 0.000000] node 0: [mem 0x000000003ed50000-0x000000003ed7ffff] [ 0.000000] node 0: [mem 0x000000003ed80000-0x000000003fbfffff] [ 0.000000] node 0: [mem 0x0000001040000000-0x00000017fbffffff] [ 0.000000] node 1: [mem 0x0000001800000000-0x0000001ffbffffff] [ 0.000000] node 2: [mem 0x0000008800000000-0x0000008ffbffffff] [ 0.000000] node 3: [mem 0x0000009000000000-0x00000097fbffffff] --- ../iomem.good.txt 2018-11-10 22:28:20.092614398 -0500 +++ ../iomem.bad.txt 2018-11-10 20:39:54.930294479 -0500 @@ -1,9 +1,8 @@ 00000000-3965ffff : System RAM 00080000-018cffff : Kernel code - 018d0000-020affff : reserved - 020b0000-045affff : Kernel data - 08600000-285fffff : Crash kernel - 28730000-2d5affff : reserved + 018d0000-0762ffff : reserved + 07630000-09b2ffff : Kernel data + 231b0000-2802ffff : reserved 30ec0000-30ecffff : reserved 35660000-3965ffff : reserved 39660000-396fffff : reserved @@ -127,7 +126,7 @@ 7c5200000-7c520ffff : 0004:48:00.0 1040000000-17fbffffff : System RAM 13fbfd0000-13fdfdffff : reserved - 16fba80000-17fbfdffff : reserved + 16fafd0000-17fbfdffff : reserved 17fbfe0000-17fbffffff : reserved 1800000000-1ffbffffff : System RAM 1bfbff0000-1bfdfeffff : reserved