From patchwork Wed Feb 26 12:23:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anshuman Khandual X-Patchwork-Id: 13992440 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5765FC021B8 for ; Wed, 26 Feb 2025 13:27:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=i3XaPcIWkt+IVY+CR48PjoV1JT/M2HBsBsMt+K2gCQI=; b=J0E71Tfd7fvt0eAF1AP7pjCqSS qy99O5thLnjcxvgPAR03TJyyJwtTiCcrG68f7dno9vPtkfSWFUpZbA0zGiX/IwlUpdjMea4bEBdcP 4+PripTj3YdhqnSjyF+NAY/NTrj76Ys+ovNALnB1BEUkJJOfF2gJXMmC0P/f0PJvgWDGwSBsNQU7j bFnoodLL+eQjzuXWMR6BlpGJ3J9CDFziQxmgmA822mbDOHMQuOksSj5Edlt9McNucldrUqIc6yaWW DUvlUOJ/sJXob6aixYtG36oGmbpG6xfZ9PObJnCAsJ/D0WXtdrSSNW77Ua2gU9A13/ZO83WD3ygbp rmNTdcAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tnHRe-00000003t33-0RPN; Wed, 26 Feb 2025 13:27:26 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tnGSe-00000003fU2-3srd; Wed, 26 Feb 2025 12:24:26 +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 4B55113D5; Wed, 26 Feb 2025 04:24:40 -0800 (PST) Received: from a077893.arm.com (unknown [10.163.40.69]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 646443F5A1; Wed, 26 Feb 2025 04:24:20 -0800 (PST) From: Anshuman Khandual To: linux-mm@kvack.org Cc: Anshuman Khandual , Andrew Morton , Mark Rutland , Christophe Leroy , kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org Subject: [PATCH V3 0/5] mm: Rework generic PTDUMP configs Date: Wed, 26 Feb 2025 17:53:59 +0530 Message-Id: <20250226122404.1927473-1-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250226_042425_005127_0EEB171F X-CRM114-Status: GOOD ( 10.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The series reworks generic PTDUMP configs before eventually renaming them after some basic clean ups first. This is derived after splitting changes from the following patch. https://lore.kernel.org/all/20250205050039.1506377-1-anshuman.khandual@arm.com/ This series applies on v6.14-rc3 and has been tested on arm64. Although it also builds on other platforms as well. Cc: Andrew Morton Cc: Mark Rutland Cc: Christophe Leroy Cc: kvmarm@lists.linux.dev Cc: linux-arm-kernel@lists.infradead.org Cc: linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-riscv@lists.infradead.org Cc: linux-s390@vger.kernel.org Cc: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org Changes in V3: - Added CONFIG_PTDUMP_DEBUGFS in mpc885_ads_defconfig per Christophe - Added back MMU dependency for CONFIG_ARCH_HAS_PTDUMP on riscv platform Changes in V2: https://lore.kernel.org/all/20250217042220.32920-1-anshuman.khandual@arm.com/ - Dropped the patch "mm: Make GENERIC_PTDUMP dependent on MMU" - Dropped GENERIC_PTDUMP from mpc885_ads_defconfig - Dropped PTDUMP config options from ptdump.rst Changes in V1: https://lore.kernel.org/all/20250213040934.3245750-1-anshuman.khandual@arm.com/ Anshuman Khandual (5): configs: Drop GENERIC_PTDUMP from debug.config arch/powerpc: Drop GENERIC_PTDUMP from mpc885_ads_defconfig docs: arm64: Drop PTDUMP config options from ptdump.rst mm: Make DEBUG_WX depdendent on GENERIC_PTDUMP mm: Rename GENERIC_PTDUMP and PTDUMP_CORE Documentation/arch/arm64/ptdump.rst | 2 -- arch/arm64/Kconfig | 2 +- arch/arm64/include/asm/ptdump.h | 4 ++-- arch/arm64/kvm/Kconfig | 4 ++-- arch/arm64/mm/Makefile | 2 +- arch/powerpc/Kconfig | 2 +- arch/powerpc/configs/mpc885_ads_defconfig | 2 +- arch/powerpc/mm/Makefile | 2 +- arch/riscv/Kconfig | 2 +- arch/riscv/mm/Makefile | 2 +- arch/s390/Kconfig | 2 +- arch/s390/mm/Makefile | 2 +- arch/x86/Kconfig | 2 +- arch/x86/Kconfig.debug | 2 +- arch/x86/mm/Makefile | 2 +- kernel/configs/debug.config | 1 - mm/Kconfig.debug | 11 ++++++----- mm/Makefile | 2 +- 18 files changed, 23 insertions(+), 25 deletions(-)