Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 8FEE039281F; Sat, 12 Sep 2026 13:17:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789219045; cv=none; b=XZpyyiPspO5YBGWI0QNgXo/wg29ofcV7LI1E6WDqonJWKnwZ5mCwtARMblzqBEAaZJ2mLiI139LutPIf2k5ylcsqqVviiYt2Rp52vP1xw13qQxltMSBHhzGaBk+iG6Ejx1dExy9IQ4k71ZPnzrjcrFjB0XKajQKAVQdzCM0wmSc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789219045; c=relaxed/simple; bh=jr9sZBxsuWoewVmN42KV4824HfqXSBD33IlutDQUKOw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=S0wGTOygeNJlq++2Ji2naTuzhTB0UG3lUXgt0xVK+AAG+iyufuOVhYC2BgvvSt4urQ6yntEete7ksV7pjKhJzoLlbwGQ0T//rIAdxq0FrupgTtrHC8Gx7iIIytr5+tlgJRAlCn/AzeVGJneTghWmz9Wlsc6CmZ17yQNDUHl1sRw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KbxqWBBp; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="KbxqWBBp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A2731F000FF; Sat, 12 Sep 2026 13:17:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789219044; bh=04zoo4D53c0NjdIPdOGfi/d7D9cpxQKNo9meKEBfp2Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=KbxqWBBpN9e3+jrqYZRKFonV9jf0ATxzXCtHZytUuyhhU04Vm5YTrO29PQ9loa2dN xGVkayc1j74TEs5PjQDjo3HfUjprOQYWtwstHqwLz54pv4erxQEA13gRKVdE7vzk6K 7rwchhGBUW+TX6s/d3I0reR047UidvygwEJzzUJ8= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Anshuman Khandual , Steven Price , Christophe Leroy , Catalin Marinas , Heiko Carstens , Ingo Molnar , Jonathan Corbet , Madhavan Srinivasan , Marc Zyngier , Mark Rutland , Michael Ellerman , Nicholas Piggin , Palmer Dabbelt , Paul Walmsley , Thomas Gleixner , Vasily Gorbik , Will Deacon , Andrew Morton , Sasha Levin Subject: [PATCH 6.12 1270/1376] mm: make DEBUG_WX depdendent on GENERIC_PTDUMP Date: Sat, 12 Sep 2026 09:01:36 +0200 Message-ID: <20260912065635.843829315@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260912065607.535295758@linuxfoundation.org> References: <20260912065607.535295758@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Anshuman Khandual [ Upstream commit 3f54872454a927a2b5f9fb3e2d3cdbd51b3666b7 ] 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 Stable-dep-of: 902caade3cfd ("arm64: ptdump: Make note_page_flush() range aware") Signed-off-by: Sasha Levin --- mm/Kconfig.debug | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/Kconfig.debug b/mm/Kconfig.debug index 41a58536531df..a51a1149909aa 100644 --- a/mm/Kconfig.debug +++ b/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 -- 2.53.0