Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1553957pxa; Thu, 6 Aug 2020 10:08:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5+Xoytr7wluL8oZEP6BQ1NLGtkswcQCE/3SV+sMuE5rrs1QYRkoiuhLqVPNCakRQaWHho X-Received: by 2002:a50:fd8d:: with SMTP id o13mr5051698edt.313.1596733708407; Thu, 06 Aug 2020 10:08:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596733708; cv=none; d=google.com; s=arc-20160816; b=hGsipNUioiTsW4UCKHecljtIl9CgQkHdNmLUJFTnAGbkantINKgL/Psu9VhukbLyOa 6WjLqtTZPCxKBW5rDQ/38yGtt1XIXmVaC7xDloVAyPVrjOe1FsWc5CYQWwZVvua/2dIq 0x8JzZXziTThpdsV1JJFp32dUeOClTeWWjJAjRQ9ZE5hOEP9laGC1yV0o7MKuqHTi34X dS1bm6rbssau07v4m8wQlH4/2Q9VohNtvqxcUs9elbfN+QkjUjToxwcKv009cONAoA3K pLT/3btJH6DtqImIHubvdGXhfXSG+0HmyBOVHckEIyoJq+aLe0CIAP6RRTifod3VT0eD GytA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=gIDHrckbjX7A25XdrR7+VuHvfE++wIYqYDxklPozcMs=; b=M8RBkWowzAg3uw/tW01dya2Ffn1jcFVCo09IkBon8c76OBVkW/sWbsatlsIyhjVkTk Tft6LGm83+TMuBGdibjZEAKycOxXZb4EJpummUvKqJ4v0FGbnL/wRq4HGLyKP0IQ4V/v 9tRdt0awubhHEIty28cn7W4YIkfYgMHKD/05bVjhWjtzBMaFDWQS499/i1RSfniNE4Zr c/Y8y4syg7Bqb/GP5eX/+u24LhT+aPcJONmU7A41KH166cE01qI7sFBWK94xcloc0P/5 AOt2Qgewl11WBITyqoZmLa065Fbp7/Aw7LodjIFjtRGUOKa0+yOgTj/umdsy3uqRbYx0 AcMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ogSom+x8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hb17si3518034ejb.576.2020.08.06.10.08.05; Thu, 06 Aug 2020 10:08:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ogSom+x8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729474AbgHFRF0 (ORCPT + 99 others); Thu, 6 Aug 2020 13:05:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729922AbgHFREh (ORCPT ); Thu, 6 Aug 2020 13:04:37 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D6ACC034627; Thu, 6 Aug 2020 06:36:32 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id a26so24554335ejc.2; Thu, 06 Aug 2020 06:36:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=gIDHrckbjX7A25XdrR7+VuHvfE++wIYqYDxklPozcMs=; b=ogSom+x8Vy+lrAdhx1aGY5/eZbaKav0gVy1rtsnre4Wxvro3UESENnKfnCp/QxCtmG fW5QRMvekFqUn3rRvHSO0BVG77bAIelCG1bTOXD3LZh+CjPOWHHlBw6YNgv4yxyWxZ1A C2MtbtQJlwXe0jG5hKajDsyJBM1ZI881zSKQnR1JyP/vsNpY/I4tAkQEfGlTqBz4ikWO 8uiMs17fIiTulh4cHi8R/rcX/ZP3A6ZBHdcA2FT6m7uZyIoFs7mEANUdpHknqNVgI7xv geOQu7Af/PNjiCUOmAWBleQ8MnuxaZLIhkPbbGEI7EYs0CjOlF5400DjzClFHZI+z9ii Qt3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=gIDHrckbjX7A25XdrR7+VuHvfE++wIYqYDxklPozcMs=; b=kM3nsUP0pF6E9AdOjLoAVx4mRxszl9T5Zs+EBFwp8TvVKTStDaF0JnR22MNVr3ksf5 GiRrISKGykfgJe6abQgDTgH1OA2AGAJkNa5KaY1mvO/Ws3gEltnho6jIRV6ZD7OQjpWI G6wV9M5W8aJDVdDAv/sveyeWHVtqgiqCKT3oIvHJp+lNbR55C+DjTDLg6ZCjQLhqNenS nDcS0UwKYwUnpNn0jM97QUt1eoE6htdzz6QZJpxdEsT4xOUzz67zMsR8gpc4EW1qHTLv b4dKoSzqLL838BqTyueXRPE7prsCQw86mFccSlynZWZA3IdymYFeYtN3skD+4JhWGXrv 7jPg== X-Gm-Message-State: AOAM530laNci504X9mHnc0aZJAD46qv/Iabfx+rwI+xDDXTLwc61Td6C Z0+ZrNUH5O+84swvyd34WMs= X-Received: by 2002:a17:906:b59:: with SMTP id v25mr4357184ejg.436.1596720991043; Thu, 06 Aug 2020 06:36:31 -0700 (PDT) Received: from gmail.com (54033286.catv.pool.telekom.hu. [84.3.50.134]) by smtp.gmail.com with ESMTPSA id pv28sm3788137ejb.71.2020.08.06.06.36.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Aug 2020 06:36:29 -0700 (PDT) Date: Thu, 6 Aug 2020 15:36:27 +0200 From: Ingo Molnar To: Chen Zhou Cc: catalin.marinas@arm.com, will@kernel.org, james.morse@arm.com, tglx@linutronix.de, mingo@redhat.com, dyoung@redhat.com, bhe@redhat.com, corbet@lwn.net, John.P.donnelly@oracle.com, prabhakar.pkin@gmail.com, bhsharma@redhat.com, horms@verge.net.au, robh+dt@kernel.org, arnd@arndb.de, nsaenzjulienne@suse.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kexec@lists.infradead.org, linux-doc@vger.kernel.org, guohanjun@huawei.com, xiexiuqi@huawei.com, huawei.libin@huawei.com, wangkefeng.wang@huawei.com Subject: Re: [PATCH v11 2/5] x86: kdump: move reserve_crashkernel_low() into crash_core.c Message-ID: <20200806133627.GB2077191@gmail.com> References: <20200801130856.86625-1-chenzhou10@huawei.com> <20200801130856.86625-3-chenzhou10@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200801130856.86625-3-chenzhou10@huawei.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Chen Zhou wrote: > In preparation for supporting reserve_crashkernel_low in arm64 as > x86_64 does, move reserve_crashkernel_low() into kernel/crash_core.c. > > BTW, move x86_64 CRASH_ALIGN to 2M suggested by Dave. CONFIG_PHYSICAL_ALIGN > can be selected from 2M to 16M, move to the same as arm64. > > Signed-off-by: Chen Zhou > --- > arch/x86/include/asm/kexec.h | 24 ++++++++++ > arch/x86/kernel/setup.c | 86 +++--------------------------------- > include/linux/crash_core.h | 3 ++ > include/linux/kexec.h | 2 - > kernel/crash_core.c | 74 +++++++++++++++++++++++++++++++ > kernel/kexec_core.c | 17 ------- > 6 files changed, 107 insertions(+), 99 deletions(-) Since the changes are centered around arm64, I suppose the arm64 tree will carry this patchset? Assuming that this is a 100% invariant moving of code that doesn't regress on x86: Acked-by: Ingo Molnar Thanks, Ingo