From patchwork Tue Dec 10 04:32:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anshuman Khandual X-Patchwork-Id: 13900854 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E1EEE7717F for ; Tue, 10 Dec 2024 04:33:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A5ECB6B0115; Mon, 9 Dec 2024 23:33:10 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A0E436B0116; Mon, 9 Dec 2024 23:33:10 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8FCF96B0117; Mon, 9 Dec 2024 23:33:10 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 71E2F6B0115 for ; Mon, 9 Dec 2024 23:33:10 -0500 (EST) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 08F75120375 for ; Tue, 10 Dec 2024 04:33:10 +0000 (UTC) X-FDA: 82877779320.16.5CCF43B Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf10.hostedemail.com (Postfix) with ESMTP id E4A9DC000A for ; Tue, 10 Dec 2024 04:32:58 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf10.hostedemail.com: domain of anshuman.khandual@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=anshuman.khandual@arm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1733805172; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=LbKaZt3PZy/b+dDsqfeQRYjFKfmtaOUDDKUZ3AteySM=; b=WD06ZwemDONkJR1y9p8Lt5ob7pTfaw8wbeaLcicJ+iBK5CwLooDindCGN7IaSv3PoZpKzR VRBrU6c2KfPl9To8I2xmo1SVLC6MhfQkXA4wWmY6vjMaLXsmvO1tUXB4TRNDPTVs7HLU0v NqKcK9tjOh1vYnFG2F26y64NvRaQZn0= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf10.hostedemail.com: domain of anshuman.khandual@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=anshuman.khandual@arm.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1733805172; a=rsa-sha256; cv=none; b=42/LlTBaftQvfXrrbTddlnsO2uwu3XT8Co42VRL8LpuyWvxnwQ6LTskb6IDrrdNp6aq+Rz P//KlzTvOmRDTlBMLo+nZzgzGMZdYW0Ocp/Lg4IN2w7EA/XZYwHiluMLc1H5Yo84UThM1e tr+4ZRSmgC8TBfXTwAxbWtEf+BTbSbI= 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 MIME-Version: 1.0 X-Rspamd-Queue-Id: E4A9DC000A X-Rspamd-Server: rspam12 X-Stat-Signature: rd8y1ym1j8f7on86uaoegm45stqqti94 X-Rspam-User: X-HE-Tag: 1733805178-92679 X-HE-Meta: U2FsdGVkX1+ALqzd+fgp58PbcCfIyENRyqX1gaSK2aUNR/fTldb3frzj4qyw9Q0yld0MZaSdaRlj2FbmQQ3O7ruW+RcxAYcxdxKIDuEsWcmeWEXsmJYdBtab57xO/7E95BUZjo0IJT96VDJnf/GCWbMzaCy09ntb35XrzsTS+c40czzmlODVFXBpTA0sH6tWI0nn3C1x7h2R+AdltkMECY074zuruyk3DyaGwpzFXUNMoytbCz/NUwsiEV7POumAAl1Y9qNRsW0uZ5hAWs7Pt3dl3c7DJutXcnYZ9Mdjs+3udkur0ntOFm14UQIcqHEYOeqjNZndF/q98HdcSdsRGlhL1qhpkWTCxqSvqUqH8FfepJVmKySj6dDSkOEInkGj5A17BZKgE86dl5RXamcIfLmkQkMc5y0be90aaZb1+sCpPgs22srPnODYdwyD3pa85HFXB3a/pAixGaSoOw66oMgigz8n1aX0lzK2j26uKvN/kTdIZ5Jd+/kx39lPrFQVib71NXxBPkvV9EtsPIiaUJXquvotgBLJxsLcxG/lpE93i9uXhcENy1zuINKo/myHm77+N7OJGZVC+66IZwWnwmaulLcp1dIQLYALUl1zQB2C7z759ND8DFlR9T2HZXx89qBOkmo6J91TtfQ9O0wg0yckpLAWiok+blMczUOkYDm3E83sQeutzY1c127zGiDdpQstJhV9FrWttuLvKvw/FoqTr2pvI5DG9fv7jaKqliQS//HZMH/ZZKPtzLDBAwHx8NsM87a7sL+haAQNJXmRdp4ePmpbDork5z4sBspQwWx77oERskYaNz4S6ngTKOZHGP1mY0/NNG8HrZ75scvqIb6aKOuUnbpULlxAMqOzp0e05iIvVrKuSPJNOnOY2n2cex0+ookidT/5o56vdvNrkmS4jpH9emi1NHg+xz6+HlMmxqToHucZQK6+o6ibnWTpZRaY3j5VpIuXYZXJLjD sxGB4HKK wkb5cK5PR5D3J6s2BJUQmxoTiTpvxLrq08fVC8+T+HsPddkTjfVVCX0lehuHMhe4fO9dw97jFvlFAfwGEyzsJ62wDFLPizhb88HUQzp9aWxm2MUCCv3UsI4S977EeA7wCosJQVoEAsLeIKSt3QVZlv4e6V56p2i+Fitbma6sTCgCQHLXKM3uOISaYO9V+o+N0HW0V4nRhEQ/28+tKUsqqFBoQRP+yPXthtBe2NVYpGzTU8UmMD24wfDi3F2HzgsDuhIpGUjkkpxON0518aSXn6yUPa4Uy1dTujZRxJNiH+t5Eavg8XPCl2FVPK9+FxkfUIWAO12WyFT2alUQbWPsckibrQF+mXOQMSq5Z09RGnpYXwDT4UKzy7456NBpIRiJGbCpjck8VIwXRNcE++DjBtvtshlE/m6mFuOUyGYSJCujfByO/0HeftejrweF+JKemjHsxs1lCFOLbrPoMHg95RX4NkxmDsxD6w0BFD++hYUqzwQHt2M7z4/Vtj7om9OV/lsX7Ea7Wzm7k8kG6oqQPemVOywlMYdlhyA/gLkfx6Ccl606XmtGBoCpucUVzB7oyyI4a X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: 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.com/ 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