From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3934025CC8A for ; Wed, 26 Feb 2025 22:25:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740608747; cv=none; b=JZWCNVdHnntKPrlsx7oqmrvyDp2bsY7zDec3w0C8+IaQZupEaFKo4RpO8UFO793udRR5G2vtRBmwyW3ow5JUCqF5CP49rr9twYeLnreTUwtx1+VS3Ma2EpSs8L3pruC1GOh3Y+Bo2BGorGYNPXRpR2oyHis+6J4SJL4nxAjghow= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740608747; c=relaxed/simple; bh=PVsgP0MzR9NEWFZhmB5CjDOEdL/6Ea7GhWYYRzIojss=; h=Date:To:From:Subject:Message-Id; b=Jt7ymYZ4gKPwzk1EAz2txt5gUMUvPcrWO8Ssoe5Lyir1n6EKq0IbGKdKsIx5VM78V2Z2wtVDweB2lhi68LHGKxJEwoJpWAkDSrvtwwxox8+E6cI9lUkzUbh1NCUFHON8KJaxilkh27B+y7yI9h/jfXePpmmxQtk2Vdq6KhkQZWw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=CF2sa18F; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="CF2sa18F" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0923FC4CED6; Wed, 26 Feb 2025 22:25:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1740608747; bh=PVsgP0MzR9NEWFZhmB5CjDOEdL/6Ea7GhWYYRzIojss=; h=Date:To:From:Subject:From; b=CF2sa18F30KORr6bhbLtooQJPZX7jCHXDhAkJri0DvlSEfnqWDQm79QnVySTpsPfU o6ygjclwxBKTU6UklsHlbGFMMoYzwliGNMDCGxVxzPndkkSWQcGtEmIxg9IIgNIbEg OBrzIdSTwkasRYtFsROb7bjQ+jyp+qsc78x8TUto= Date: Wed, 26 Feb 2025 14:25:46 -0800 To: mm-commits@vger.kernel.org,will@kernel.org,tglx@linutronix.de,steven.price@arm.com,paul.walmsley@sifive.com,palmer@dabbelt.com,npiggin@gmail.com,mpe@ellerman.id.au,mingo@redhat.com,maz@kernel.org,mark.rutland@arm.com,maddy@linux.ibm.com,hca@linux.ibm.com,gor@linux.ibm.com,corbet@lwn.net,christophe.leroy@csgroup.eu,catalin.marinas@arm.com,anshuman.khandual@arm.com,akpm@linux-foundation.org From: Andrew Morton Subject: + mm-make-debug_wx-depdendent-on-generic_ptdump.patch added to mm-unstable branch Message-Id: <20250226222547.0923FC4CED6@smtp.kernel.org> Precedence: bulk X-Mailing-List: mm-commits@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: The patch titled Subject: mm: make DEBUG_WX depdendent on GENERIC_PTDUMP has been added to the -mm mm-unstable branch. Its filename is mm-make-debug_wx-depdendent-on-generic_ptdump.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-make-debug_wx-depdendent-on-generic_ptdump.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Anshuman Khandual Subject: mm: make DEBUG_WX depdendent on GENERIC_PTDUMP Date: Wed, 26 Feb 2025 17:54:03 +0530 DEBUG_WX selects PTDUMP_CORE without even ensuring that the given platform implements GENERIC_PTDUMP. This problem has been latent until now, as all the platforms subscribing ARCH_HAS_DEBUG_WX also subscribe GENERIC_PTDUMP. Link: https://lkml.kernel.org/r/20250226122404.1927473-5-anshuman.khandual@arm.com Signed-off-by: Anshuman Khandual Reviewed-by: Steven Price Reviewed-by: Christophe Leroy Cc: Catalin Marinas Cc: Heiko Carstens Cc: Ingo Molnar Cc: Jonathan Corbet Cc: Madhavan Srinivasan Cc: Marc Zyngier Cc: Mark Rutland Cc: Michael Ellerman Cc: Nicholas Piggin Cc: Palmer Dabbelt Cc: Paul Walmsley Cc: Thomas Gleixner Cc: Vasily Gorbik Cc: Will Deacon Signed-off-by: Andrew Morton --- mm/Kconfig.debug | 1 + 1 file changed, 1 insertion(+) --- a/mm/Kconfig.debug~mm-make-debug_wx-depdendent-on-generic_ptdump +++ a/mm/Kconfig.debug @@ -186,6 +186,7 @@ config ARCH_HAS_DEBUG_WX config DEBUG_WX bool "Warn on W+X mappings at boot" depends on ARCH_HAS_DEBUG_WX + depends on GENERIC_PTDUMP depends on MMU select PTDUMP_CORE help _ Patches currently in -mm which might be from anshuman.khandual@arm.com are configs-drop-generic_ptdump-from-debugconfig.patch arch-powerpc-drop-generic_ptdump-from-mpc885_ads_defconfig.patch docs-arm64-drop-ptdump-config-options-from-ptdumprst.patch mm-make-debug_wx-depdendent-on-generic_ptdump.patch mm-rename-generic_ptdump-and-ptdump_core.patch