Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp578528iob; Wed, 18 May 2022 08:25:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCotYLLD4aGWZBgrgROyOFkoWLN1cqVQQDb9Lmq9YoAJSYxE1qt76B1AK6am4mGfGWg1hW X-Received: by 2002:a17:902:ef46:b0:153:81f7:7fc2 with SMTP id e6-20020a170902ef4600b0015381f77fc2mr262557plx.26.1652887525786; Wed, 18 May 2022 08:25:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652887525; cv=none; d=google.com; s=arc-20160816; b=aJ9V8hsK1fBU8pqqnQcrSlI0zQWOYWj6srpH1pc4nZOEJA9kRWTnIs5j/YNAV1XwoO L5lgKCrJYkj4dwaNZhQ8rIstNgJml/+xNewsgd2btgItr1DXug8zFBrQq9g7JemAS9AX jx3pOVs1VmyjZRmEsF4/1tCMbKEMGv0IUgsvkLMx5PdCHHlTiPMYD7IBuF8Su3jWWp7J P14BfTUgP0wt56hoeRNhApi8iRibXOftw2ZZTYCDbJpsQrT519weRNcDUpiIlC60sF7m XO3C4ylnxNVSg1FkTXN3FJHSJVHSirpAgIYCtZCsjU1OhOdhC+GmGoMCa4o1a6pOx2JV LIZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=lFuo/5OWp8Bc6OX3NawfHA/pqgchQJY+yC+bERgngVM=; b=N2L++bv8v8HDsEafslfS7zKg2p2fMBoRx/Zqf5reSY4zf1PiIltJV2KljSObpOkc6V vHIAzQxqr2rNrGkHGAQ9uy7yATcK3d9QafY59oISLXgrV95X2CfKgOoDac0CNOZGBQjs aG8Y1GQHDX3lPTRCYOwBcCNE4Aa22e0Brb+X15CS6N1WUx783lh2Ijo0YvGWlfhBi33x /g0a7kQ5rZcg0u48RjSenFpDj18tfHcyuJ9IAdkp7sKMsl6Je9yYyJrQcMBsKoe8A99r yBZjiSWBSvvK8LsHHDIvyu3SxF5qRfojf6MkcC5P9hmp00EQ2n/nlFgTONuIztNldvi8 LMOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xen0n.name header.s=mail header.b=YxbGDmVo; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id e7-20020a63db07000000b0039eea38be43si3001174pgg.287.2022.05.18.08.25.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 08:25:25 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@xen0n.name header.s=mail header.b=YxbGDmVo; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 3133D18FF1C; Wed, 18 May 2022 08:22:45 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239214AbiERPWi (ORCPT + 99 others); Wed, 18 May 2022 11:22:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbiERPWf (ORCPT ); Wed, 18 May 2022 11:22:35 -0400 Received: from mailbox.box.xen0n.name (mail.xen0n.name [115.28.160.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6879535AA7; Wed, 18 May 2022 08:22:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xen0n.name; s=mail; t=1652887346; bh=Q9LeUXw8EHw4L9SRCRb8ePYUktfr7J4tsLyCA73Vf3Q=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=YxbGDmVoCnOXfWRDnmXRjdPhcQGbdfEfvySLwQah35S51Wrb4EJ4jd9BW0zUl9yN8 jadXiOflC3tSJ62OqfHqC0pFPVM/NFxZDADSwaVzIEOHtFA1QoL2HmzNnAqWaDcavZ FUd3tfyYVzOAYwxiSVg3/UU3HHMRORj6ERNu2kRQ= Received: from [192.168.9.172] (unknown [101.88.28.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mailbox.box.xen0n.name (Postfix) with ESMTPSA id BBD9660691; Wed, 18 May 2022 23:22:25 +0800 (CST) Message-ID: <3d2c210f-03f3-f7e6-9c42-8189c240cd3a@xen0n.name> Date: Wed, 18 May 2022 23:22:25 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.0a1 Subject: Re: [PATCH V11 05/22] LoongArch: Add build infrastructure Content-Language: en-US To: Huacai Chen , Arnd Bergmann , Andy Lutomirski , Thomas Gleixner , Peter Zijlstra , Andrew Morton , David Airlie , Jonathan Corbet , Linus Torvalds Cc: linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Xuefeng Li , Yanteng Si , Huacai Chen , Guo Ren , Xuerui Wang , Jiaxun Yang , Stephen Rothwell References: <20220518092619.1269111-1-chenhuacai@loongson.cn> <20220518092619.1269111-6-chenhuacai@loongson.cn> From: WANG Xuerui In-Reply-To: <20220518092619.1269111-6-chenhuacai@loongson.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 5/18/22 17:26, Huacai Chen wrote: > Add Kbuild, Makefile, Kconfig and link script for LoongArch build > infrastructure. > > Signed-off-by: Huacai Chen > --- > arch/loongarch/Kbuild | 6 + > arch/loongarch/Kconfig | 395 +++++++++++++++++++++++++ > arch/loongarch/Kconfig.debug | 0 > arch/loongarch/Makefile | 105 +++++++ > arch/loongarch/boot/.gitignore | 2 + > arch/loongarch/boot/Makefile | 20 ++ > arch/loongarch/boot/dts/Makefile | 4 + > arch/loongarch/include/asm/Kbuild | 30 ++ > arch/loongarch/include/uapi/asm/Kbuild | 2 + > arch/loongarch/kernel/.gitignore | 2 + > arch/loongarch/kernel/Makefile | 21 ++ > arch/loongarch/kernel/vmlinux.lds.S | 117 ++++++++ > arch/loongarch/lib/Makefile | 6 + > arch/loongarch/mm/Makefile | 9 + > arch/loongarch/pci/Makefile | 7 + > arch/loongarch/vdso/.gitignore | 2 + > scripts/subarch.include | 2 +- > 17 files changed, 729 insertions(+), 1 deletion(-) > create mode 100644 arch/loongarch/Kbuild > create mode 100644 arch/loongarch/Kconfig > create mode 100644 arch/loongarch/Kconfig.debug > create mode 100644 arch/loongarch/Makefile > create mode 100644 arch/loongarch/boot/.gitignore > create mode 100644 arch/loongarch/boot/Makefile > create mode 100644 arch/loongarch/boot/dts/Makefile > create mode 100644 arch/loongarch/include/asm/Kbuild > create mode 100644 arch/loongarch/include/uapi/asm/Kbuild > create mode 100644 arch/loongarch/kernel/.gitignore > create mode 100644 arch/loongarch/kernel/Makefile > create mode 100644 arch/loongarch/kernel/vmlinux.lds.S > create mode 100644 arch/loongarch/lib/Makefile > create mode 100644 arch/loongarch/mm/Makefile > create mode 100644 arch/loongarch/pci/Makefile > create mode 100644 arch/loongarch/vdso/.gitignore Seems most (if not all) my comments from v10 are addressed; and there seems to have no obvious mistake. Reviewed-by: WANG Xuerui