Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AFB12C433F5 for ; Thu, 30 Dec 2021 11:09:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238821AbhL3LJM (ORCPT ); Thu, 30 Dec 2021 06:09:12 -0500 Received: from szxga01-in.huawei.com ([45.249.212.187]:15993 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235057AbhL3LJL (ORCPT ); Thu, 30 Dec 2021 06:09:11 -0500 Received: from dggpemm500024.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4JPlnB1CBpzZdxH; Thu, 30 Dec 2021 19:05:50 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggpemm500024.china.huawei.com (7.185.36.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 30 Dec 2021 19:09:09 +0800 Received: from [10.174.178.55] (10.174.178.55) by dggpemm500006.china.huawei.com (7.185.36.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 30 Dec 2021 19:09:08 +0800 Subject: Re: [PATCH v19 01/13] kdump: add helper parse_crashkernel_high_low() To: Borislav Petkov CC: Thomas Gleixner , Ingo Molnar , , "H . Peter Anvin" , , Dave Young , Baoquan He , Vivek Goyal , Eric Biederman , , Catalin Marinas , Will Deacon , , Rob Herring , Frank Rowand , , "Jonathan Corbet" , , Randy Dunlap , Feng Zhou , Kefeng Wang , Chen Zhou , "John Donnelly" References: <20211228132612.1860-1-thunder.leizhen@huawei.com> <20211228132612.1860-2-thunder.leizhen@huawei.com> <4878dda9-871d-228d-21ac-3ac7c8a84322@huawei.com> From: "Leizhen (ThunderTown)" Message-ID: <7a703955-cd1c-e074-17dd-a9155aa7690a@huawei.com> Date: Thu, 30 Dec 2021 19:08:56 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.178.55] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/12/30 18:40, Borislav Petkov wrote: > On Thu, Dec 30, 2021 at 06:14:59PM +0800, Leizhen (ThunderTown) wrote: >> >> Hi, Dave, Baoquan, Borislav: >> What do you think about the introduction of parse_crashkernel_high_low()? If everyone >> doesn't object, I'll bring it to the next version. But I'll make some adjustments to the >> patches, see below. If there's any objection, I still strongly recommend removing the >> parameters "system_ram" and "crash_base" of parse_crashkernel_{high,low}(). >> >> How about splitting __parse_crashkernel() into two parts? One for parsing >> "crashkernel=X[@offset]", another one for parsing "crashkernel=X,{high,low}" and other >> suffixes in the future. So the parameter requirements are clear at the lowest level. > > First of all, please do not top post! > > Now, I already explained to you what I'd like to see: > > https://lore.kernel.org/r/Ycs3kpZD/vpoo1AX@zn.tnic > > yet you still don't get it. > > So let me make myself clear: in its current form, this is not really an > improvement so for all x86 changes: > > NAKed-by: Borislav Petkov > OK, thanks for your immediate reply, so I can take less detours. -- Regards, Zhen Lei