Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1927980ioo; Mon, 23 May 2022 06:29:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1B681z+ahl1r8o7BIAcrzZyyzZ6FPJAa5Bh5uwI8pJl/daKko0Yjv3Xk5H1tO4SLdpycd X-Received: by 2002:a17:90b:4b0c:b0:1e0:96b:c3fe with SMTP id lx12-20020a17090b4b0c00b001e0096bc3femr15802309pjb.212.1653312583027; Mon, 23 May 2022 06:29:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653312583; cv=none; d=google.com; s=arc-20160816; b=tJXhdqOSr+ys/07t9ybDF7QymENw9dRO/eC1LOqiZ5MKV00ou6yhG16ARrrC6jWPCW ARBgrYS28NtDTxsVFJTg1NaFkL01gV2BZEou0FfRv2PrOhjHU5PgXCTPV5r2BLOREyQt op8CkUnow847lWR1uwgfS8mOAMBUkpy7KXUpuloUClN2/juvpqv30XhIHd1RRTEdVSLm nS9m9AJgyjv09B15NrHlCCxPBnpCnG6Z7Y32T0nLdqR1TcmYcw2B41OOUxRWBcfucVjP fEati25XUS3gsnx/BqHLtdLVaICWnTSl8hYyqMUKUAqxZd7Mif/LsmIzJAncOVrcz2y+ 0blg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=+M58M+2fDECsq+rlJO0tHQO+CgJfFnTMFnJQEh8mMs4=; b=yz4E5B5HrcDBRevNIZDXZoo1os6Mega7/zidMGpsegfLS2Mt+e9Ip8xcj6HWsc7d5w 7lbKGyhCKHid1rF7VestQK1q0TQQYbXGeEyYVHx6KGrWea77NJw2QvrG8TRS4rzpTJ+O kK5wPMbYgRrzU3U/5/KQ1jGrAUVgf2rrggsdprX7C2gyFKWv2vSW81wtn2tCzefKG5Wh PPWxX6C2y3TUrPB8uIIL/ksHQrSzq5lXB/WthltuKijsx9Yib+kJpmKsXJMv2zqxV9DP RvuTbBbYa3GFUTXivZ98dFOrC2SXc4AJZNbJJGY/m2GUH92D3+bOwSgSpVGdkZInLZs2 OQUQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id u18-20020a170902e81200b0016215c2e4fasi6930493plg.74.2022.05.23.06.29.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 06:29:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D790C24BCD; Mon, 23 May 2022 06:29:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236281AbiEWN3M (ORCPT + 99 others); Mon, 23 May 2022 09:29:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236261AbiEWN3H (ORCPT ); Mon, 23 May 2022 09:29:07 -0400 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5F1C2A6; Mon, 23 May 2022 06:29:02 -0700 (PDT) Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1nt87K-0002gG-00; Mon, 23 May 2022 15:29:02 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id EAD17C0311; Mon, 23 May 2022 15:28:52 +0200 (CEST) Date: Mon, 23 May 2022 15:28:52 +0200 From: Thomas Bogendoerfer To: Tiezhu Yang Cc: Xuefeng Li , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] MIPS: Modify early_parse_mem() Message-ID: <20220523132852.GA8289@alpha.franken.de> References: <1647615920-23103-1-git-send-email-yangtiezhu@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 09, 2022 at 03:30:11PM +0800, Tiezhu Yang wrote: > > > On 03/18/2022 11:05 PM, Tiezhu Yang wrote: > > Tiezhu Yang (3): > > MIPS: Return -EINVAL if mem parameter is empty in early_parse_mem() > > MIPS: Return -EINVAL if mem parameter is invalid in early_parse_mem() > > MIPS: Use memblock_add_node() in early_parse_mem() under CONFIG_NUMA > > > > arch/mips/kernel/setup.c | 35 +++++++++++++++++++++++++++++------ > > 1 file changed, 29 insertions(+), 6 deletions(-) > > > > Hi Thomas, > > Any comments? Are you OK with these changes? first and last patch are ok with me. The second patch changes semantics for mem=, which I don't want to change. Iirc the latest idea to solve your problem was to use mem=XX@ syntax to limit detected memory, which is the preferred way for me, too. If you want I'll take patch 1 and 3 out of this series. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]