From patchwork Mon Mar 8 06:41:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anshuman Khandual X-Patchwork-Id: 12121667 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 229D1C433DB for ; Mon, 8 Mar 2021 06:51:51 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B222664E56 for ; Mon, 8 Mar 2021 06:51:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B222664E56 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=469K1X6UEquLE9MU8wrGU1F/E7td6091K2OGEJtcYWE=; b=hUnryfSQ5DqPb4C1c3xcge7ch9 zOpNbpQEaOBmp4YUwKls4/50+BHj2YvYRf4b9lzlglagUXKqEyr0aZqUQUAbNTWxpSVFjGD/bIXJt zw5itFZ8XPhYKzi+F/anDMrLJJ3L75GKr9W32YZbys0UGcs4qn+Z+pmRhG26LlkoY4DrCvEAvkbSx 83IkS++ULFNpdDsLcdIV6T2xd2p3z4vRQA8Lz4NpvBcFITpjyldutQWkSAcxqdz4umieE9sf84tk9 rDLHPQjYdyOxREJYmKlhhpW67hcrk+1znPNWpsmiqhDWlC2ujmqy20D0H4hry14Jj7rbxk0RvYjRC S9iy9mlQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lJ9jj-00FZ0X-Gb; Mon, 08 Mar 2021 06:51:29 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lJ9ak-00FWoF-A0; Mon, 08 Mar 2021 06:42:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:In-Reply-To:References; bh=NMrVT+bam/s7vjrq1xZAVmez63pfrdZCBuRhB7DtWOA=; b=eJk7PjKCzSOUvr7iPXHgEabkd9 YECE2nU3Auk+Q96fzcu3e3Tc40mWHAGiLRNcp4Rgulj+SomfOHkb7t7O081C6a7FZzo+kHfoJgR4R 5sRAYrqk69tVqEKDgU0Fg8xB5yLEzKrucl2fuOUXJFWPGczBCJx32aFcSocxYJcqyPfkw19NVUYPT 4LARchrDtX8IguImvWEKeaAO6oAzDNygiItRwflwvWNHs4K4/nsQjtBS0zYlWKFgcGOWJCbozRN9u dl6XhT3GamT6FP8PIeQkymtpuABRvyqKJCWmMFITXM7iBLkE6uf1kJzZenzvFbEhWG1Emsx3NHw5E n2fqyQwA==; Received: from foss.arm.com ([217.140.110.172]) by casper.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lJ9aL-00F8er-N1; Mon, 08 Mar 2021 06:41:54 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 29A34ED1; Sun, 7 Mar 2021 22:41:28 -0800 (PST) Received: from p8cg001049571a15.arm.com (unknown [10.163.67.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4E5973F73C; Sun, 7 Mar 2021 22:41:23 -0800 (PST) From: Anshuman Khandual To: linux-mm@kvack.org Cc: Anshuman Khandual , x86@kernel.org, linux-ia64@vger.kernel.org, linux-s390@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-sh@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/6] mm: some config cleanups Date: Mon, 8 Mar 2021 12:11:39 +0530 Message-Id: <1615185706-24342-1-git-send-email-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210308_064152_795398_C099A45B X-CRM114-Status: UNSURE ( 8.42 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org This series contains config cleanup patches which reduces code duplication across platforms and also improves maintainability. There is no functional change intended with this series. This has been boot tested on arm64 but only build tested on some other platforms. This applies on 5.12-rc2 Cc: x86@kernel.org Cc: linux-ia64@vger.kernel.org Cc: linux-s390@vger.kernel.org Cc: linux-snps-arc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mips@vger.kernel.org Cc: linux-parisc@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-riscv@lists.infradead.org Cc: linux-sh@vger.kernel.org Cc: linux-fsdevel@vger.kernel.org Cc: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org Anshuman Khandual (6): mm: Generalize ARCH_HAS_CACHE_LINE_SIZE mm: Generalize SYS_SUPPORTS_HUGETLBFS (rename as ARCH_SUPPORTS_HUGETLBFS) mm: Generalize ARCH_ENABLE_MEMORY_[HOTPLUG|HOTREMOVE] mm: Drop redundant ARCH_ENABLE_[HUGEPAGE|THP]_MIGRATION mm: Drop redundant ARCH_ENABLE_SPLIT_PMD_PTLOCK mm: Drop redundant HAVE_ARCH_TRANSPARENT_HUGEPAGE arch/arc/Kconfig | 9 ++------ arch/arm/Kconfig | 10 ++------- arch/arm64/Kconfig | 30 ++++++-------------------- arch/ia64/Kconfig | 8 ++----- arch/mips/Kconfig | 6 +----- arch/parisc/Kconfig | 5 +---- arch/powerpc/Kconfig | 11 ++-------- arch/powerpc/platforms/Kconfig.cputype | 16 +++++--------- arch/riscv/Kconfig | 5 +---- arch/s390/Kconfig | 12 +++-------- arch/sh/Kconfig | 7 +++--- arch/sh/mm/Kconfig | 8 ------- arch/x86/Kconfig | 29 ++++++------------------- fs/Kconfig | 5 ++++- mm/Kconfig | 9 ++++++++ 15 files changed, 48 insertions(+), 122 deletions(-)