From nobody Fri Dec 27 15:15:53 2024 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6852D23312A for ; Tue, 10 Dec 2024 04:33:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733805190; cv=none; b=oEZv4aW/V/M5GLfBvvvh0ownLndyoPSLv3zK54Ps41MhVGHZrU6C86njkQPk2MaxLd8efNM4451bS5kuOD+NI6zhuta3IXp3yNReC3tHQ7V5q3kvLQkkno+tGlzNE0dImLOpQlMI1nJvQcXP2XLbieKmIWzlTu9UXiAzIGrPGUM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733805190; c=relaxed/simple; bh=8jG1mr07fyqmubOV3BuZf+p8XhgtkdhHcWKMHpGP/dM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=lXYWcK2nnRqJB163BxEa6rCwnlGuEroso4Re5cNPQp3qIWKS6aZ/2EeQE4w5DsbgE6ySmwaIbPiGopkXwmUze3WRpQkkw9V6+442kB877rY59+dSILSKHs6p4etKERcEwrR71nEzZ/7W4AJ/ixUyTHEevjMmyomfSz4E6rsOULY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 684D2113E; Mon, 9 Dec 2024 20:33:35 -0800 (PST) Received: from a077893.arm.com (unknown [10.163.48.173]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 841DD3F58B; Mon, 9 Dec 2024 20:33:04 -0800 (PST) From: Anshuman Khandual To: linux-mm@kvack.org Cc: Anshuman Khandual , Catalin Marinas , Will Deacon , Andrew Morton , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] arm64/Kconfig: Drop EXECMEM dependency from ARCH_WANTS_EXECMEM_LATE Date: Tue, 10 Dec 2024 10:02:57 +0530 Message-Id: <20241210043257.715822-1-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" ARCH_WANTS_EXECMEM_LATE indicates subscribing platform's preference for EXECMEM late initialisation without creating a new dependency. Hence this just drops EXECMEM dependency while selecting ARCH_WANTS_EXECMEM_LATE. Cc: Catalin Marinas Cc: Will Deacon Cc: Andrew Morton Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Anshuman Khandual --- This patch applies on v6.13-rc1 Changes in V2: - Dropped generic EXECMEM config changes per Catalin - Updated the commit message as required Changes in V1: https://lore.kernel.org/all/20241209031251.515903-1-anshuman.khandual@arm.c= om/ arch/arm64/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index b5479c8b454c..b146372bc365 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -113,7 +113,7 @@ config ARM64 select ARCH_WANT_FRAME_POINTERS select ARCH_WANT_HUGE_PMD_SHARE if ARM64_4K_PAGES || (ARM64_16K_PAGES && = !ARM64_VA_BITS_36) select ARCH_WANT_LD_ORPHAN_WARN - select ARCH_WANTS_EXECMEM_LATE if EXECMEM + select ARCH_WANTS_EXECMEM_LATE select ARCH_WANTS_NO_INSTR select ARCH_WANTS_THP_SWAP if ARM64_4K_PAGES select ARCH_HAS_UBSAN --=20 2.30.2