Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp998768imw; Tue, 5 Jul 2022 01:54:50 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sTWLi+Uc3U2VjCvHSuLs/3rpJK7yN1ltqI7LnDUGTZUV+BDPr3vgg1WGQiSVVq9wmvc+28 X-Received: by 2002:a05:6402:43ca:b0:43a:256a:5ab with SMTP id p10-20020a05640243ca00b0043a256a05abmr16864719edc.68.1657011290246; Tue, 05 Jul 2022 01:54:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657011290; cv=none; d=google.com; s=arc-20160816; b=mUysm9WTHL5fnyGXJM8AXLbyB6ZOY7aPqEGzEFiMWKWZibdeZ6k6houDAWVv//zUkU rgMFb9iAC0hZaxUaN6A1r5Yy9k0bWCETQN5c+L5dGJTYnNStPpiS2NfNqgD0YytTm/qR 04u4Glqm6c9XEvuP+jN9OkQT0uBi+q5oOT8IdtOdyZGiPme/8WbD1/uQ+mrhwpHFZoAu TeRZPTI/fy9BXlHccKQbFu79s27QYvmomQ2QbqJGCvK3BXvk9srao5X7hrib/uJc2Z4r xbvrZdLGgY/L4Z/mWhejnEPQ4iOdQKvYTCZyKGAZwX3Qas0SFbe0ChOLjMFreAY0Y4A0 5ABg== 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=poIJBoDbS4AsdL2ENZcT/Czx6jz4gpVIDj5fFR5Uoyo=; b=ZANjZ91HKfr0T1KyFJ6fgtaBELJJU7M0JipHf9ibU9iVfy0GjRgHAX4COYaPLNlwau 3NbAY/EiWyNcSb8pLsG878MyllCetod3abYSAETpSK7ugLnxmYq6nFPtZmRtTuy83LQE oQdbK+xxtlmjF4Wxl6Umc12Oes3ke5Kjlw4V5nxxQdVA92QRsbnjiQO2lZXrCKGGOA3i dQIDDQWT+psBMJgJPfBkWxhn4iTJqp0mJ3UcCL52cIJ88cckrwFBCjqWUH7VHGUWe9c0 Xu5hJpZDZAC5JoG6RElq8XFfs4nXQooi3osnsfC8pirC/Q4DBA2vdTotBtvf78OpuqV6 ZsoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xen0n.name header.s=mail header.b=kbwBT7oe; 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 s4-20020a17090699c400b0072ad31f4f51si3751371ejn.627.2022.07.05.01.54.24; Tue, 05 Jul 2022 01:54:50 -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; dkim=pass header.i=@xen0n.name header.s=mail header.b=kbwBT7oe; 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 S230402AbiGEIcj (ORCPT + 99 others); Tue, 5 Jul 2022 04:32:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229892AbiGEIci (ORCPT ); Tue, 5 Jul 2022 04:32:38 -0400 Received: from mailbox.box.xen0n.name (mail.xen0n.name [115.28.160.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C7139D; Tue, 5 Jul 2022 01:32:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xen0n.name; s=mail; t=1657009953; bh=EV/+FK0A80HVNjbe/Kswv8enUhc6feszv49QHR3ih80=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=kbwBT7oePB/btU9gL35wABbCrXjx7kHq5BcaO8yQnvhel10BaRGjLqO66DRk41vQx /dzOscml65oeFYpiG1uZo4qDvHbwKHGRUPs2XaUGgn1L5JmM1Fz2z+tzw9Ldy2hxzx Sz0RdB1sDddHoV8DjR8CsAnfA46oSLbU0UxnZdzY= Received: from [100.100.57.190] (unknown [220.248.53.61]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailbox.box.xen0n.name (Postfix) with ESMTPSA id EB62C60114; Tue, 5 Jul 2022 16:32:32 +0800 (CST) Message-ID: Date: Tue, 5 Jul 2022 16:32:32 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Thunderbird/104.0a1 Subject: Re: [PATCH] LoongArch: drop these obsolete selects in Kconfig Content-Language: en-US To: Lukas Bulwahn , Huacai Chen , WANG Xuerui , loongarch@lists.linux.dev Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220705073405.29618-1-lukas.bulwahn@gmail.com> From: WANG Xuerui In-Reply-To: <20220705073405.29618-1-lukas.bulwahn@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, 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 On 2022/7/5 15:34, Lukas Bulwahn wrote: > Commit fa96b57c1490 ("LoongArch: Add build infrastructure") adds the new > file arch/loongarch/Kconfig. > > As the work on LoongArch was probably quite some time under development, > various config symbols have changed and disappeared from the time of > initial writing of the Kconfig file and its inclusion in the repository. > > The following four commits: > > commit c126a53c2760 ("arch: remove GENERIC_FIND_FIRST_BIT entirely") > commit 140c8180eb7c ("arch: remove HAVE_COPY_THREAD_TLS") > commit aca52c398389 ("mm: remove CONFIG_HAVE_MEMBLOCK") > commit 3f08a302f533 ("mm: remove CONFIG_HAVE_MEMBLOCK_NODE_MAP option") > > remove the mentioned config symbol, and enable the intended setup by > default without configuration. > > Drop these obsolete selects in loongarch's Kconfig. > > Signed-off-by: Lukas Bulwahn > --- > Huacai Chen, please pick this minor clean-up patch. > > arch/loongarch/Kconfig | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig > index 2dee595bf4b6..9be4d0eef299 100644 > --- a/arch/loongarch/Kconfig > +++ b/arch/loongarch/Kconfig > @@ -54,7 +54,6 @@ config LOONGARCH > select GENERIC_CMOS_UPDATE > select GENERIC_CPU_AUTOPROBE > select GENERIC_ENTRY > - select GENERIC_FIND_FIRST_BIT > select GENERIC_GETTIMEOFDAY > select GENERIC_IRQ_MULTI_HANDLER > select GENERIC_IRQ_PROBE > @@ -77,7 +76,6 @@ config LOONGARCH > select HAVE_ARCH_TRANSPARENT_HUGEPAGE > select HAVE_ASM_MODVERSIONS > select HAVE_CONTEXT_TRACKING_USER > - select HAVE_COPY_THREAD_TLS > select HAVE_DEBUG_STACKOVERFLOW > select HAVE_DMA_CONTIGUOUS > select HAVE_EXIT_THREAD > @@ -86,8 +84,6 @@ config LOONGARCH > select HAVE_IOREMAP_PROT > select HAVE_IRQ_EXIT_ON_IRQ_STACK > select HAVE_IRQ_TIME_ACCOUNTING > - select HAVE_MEMBLOCK > - select HAVE_MEMBLOCK_NODE_MAP > select HAVE_MOD_ARCH_SPECIFIC > select HAVE_NMI > select HAVE_PERF_EVENTS Looks good to me, thanks for the cleanup! Reviewed-by: WANG Xuerui