Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp542781pxp; Sat, 19 Mar 2022 09:24:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+vZM0OuDJeLxMNP3iOD7Lisx5bhOMNg6jIl7XGkarBgvBymxyPuGrEDa8wvRk23ryARKm X-Received: by 2002:a17:906:6693:b0:6cf:3cb:89c9 with SMTP id z19-20020a170906669300b006cf03cb89c9mr14019198ejo.23.1647707052721; Sat, 19 Mar 2022 09:24:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647707052; cv=none; d=google.com; s=arc-20160816; b=c2YCSjZkS+0nOSBJzrJDboVBM9k3TUwvWi71qLP2hMjpMm5AAmBKzkQVyZt0Y2HhuR nOQxCj9YI4pbvqzHej48XJk7N/NJRiS/Xl/hfz/u38rCwv3VdCw7iWH8eGmTsG7ol28L ci2/hi/ccVoXEkwAVN9oAzdTWPIqqyC/pSg2Hy2XdjUGQEJ5/G0dQO/Jf8gngdEqPb3/ XAZ28tpTRPY4r2lO/lIA1ctcSYdDJLBzTNHjkbszopnRSFF93eCAS51pPoESodViPWdV eXmQupUJrKoJUdT6qq3WM3GUySLoqbvvDXow1dIgdVuryrvRTOzoWZBjfPhIfWhbJMSo DsjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=48FXpna6yGlDUXsAFl25RGY2EYd1DNR+Dq/EKSEN3JY=; b=SPN2gT/UlyLR3aCubsoNYwKMfExVlhTK7YfcH5wEj0huDBcV4614Q4GWGFcUpzPFH1 Njet/92cHPnXm4HZrWLfB3rp5KClxty6w6bVW8ZUHiJqVT7bZ/qyCsENINBsbwKzr+yi C/61BfmveXpiyrLY9hjKhRc9CGA9Zrfl92A7QpxkTIzBdJajTUhl+VWAP6rATHSRccv/ dbF4KeI0Fks69Z+0MHki9P//Y+w7/dpOXA3v/vjqX+KEYwsjyendNBFe8PdYmoAquM/Q H2D7RE1XqesTJXD5lKJRTG69MYSLg72//X+CPDgM+SYaU3W+35xLwKiKKaH71K9NijDH 4vqg== 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:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a50d784000000b00419101e3899si3273808edi.485.2022.03.19.09.23.43; Sat, 19 Mar 2022 09:24:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237733AbiCRPGr (ORCPT + 99 others); Fri, 18 Mar 2022 11:06:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234272AbiCRPGn (ORCPT ); Fri, 18 Mar 2022 11:06:43 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E2BBFE0CE; Fri, 18 Mar 2022 08:05:23 -0700 (PDT) Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9AxqsywnzRicaQLAA--.9144S2; Fri, 18 Mar 2022 23:05:21 +0800 (CST) From: Tiezhu Yang To: Thomas Bogendoerfer Cc: Xuefeng Li , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] MIPS: Modify early_parse_mem() Date: Fri, 18 Mar 2022 23:05:17 +0800 Message-Id: <1647615920-23103-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf9AxqsywnzRicaQLAA--.9144S2 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY57AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E 6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28Cjx kF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWUCVW8JwA2z4x0Y4vE2Ix0cI8I cVCY1x0267AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7xvwVC2z280aV CY1x0267AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAq x4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Gr0_Cr1lOx8S6x CaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JM4x0x7Aq67IIx4CEVc8vx2IErcIFxwCY 02Avz4vE14v_XrWl42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxV Aqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r12 6r1DMIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6x kF7I0E14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcIk0rVWrZr1j6s0DMIIF0xvEx4A2jsIE 14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf 9x0JU8rc3UUUUU= X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 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(-) -- 2.1.0