Message ID | 20250126074733.1384926-10-rppt@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 45965C0218E for <linux-mm@archiver.kernel.org>; Sun, 26 Jan 2025 07:49:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CAFB72800F3; Sun, 26 Jan 2025 02:49:27 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id C60002800E8; Sun, 26 Jan 2025 02:49:27 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B27F22800F3; Sun, 26 Jan 2025 02:49:27 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 94A592800E8 for <linux-mm@kvack.org>; Sun, 26 Jan 2025 02:49:27 -0500 (EST) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 56987C0629 for <linux-mm@kvack.org>; Sun, 26 Jan 2025 07:49:27 +0000 (UTC) X-FDA: 83048827974.26.6D93A8C Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf17.hostedemail.com (Postfix) with ESMTP id B29DE40004 for <linux-mm@kvack.org>; Sun, 26 Jan 2025 07:49:25 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=K4s+daeo; spf=pass (imf17.hostedemail.com: domain of rppt@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1737877765; 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:in-reply-to:references:references:dkim-signature; bh=aMCcoKmYu2iXUwJbQTVGV2jsmkWbYCGb/CE1d3c5aKw=; b=izQGF23of2n3HZmyxDA4UayLNqMperk5Ij4/saqzWMukFfgbS6JVOdjK40ILHxESHBPyYq mDlgyvItVHvvfFwQKliGXtxb/jiRrw5tky5PUL46zyMOcEt2SU9PIRJONTbd+2e8LmoKX/ 7welbVZV4fOkUeNgoeQ9Et19oCQOhJM= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=K4s+daeo; spf=pass (imf17.hostedemail.com: domain of rppt@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1737877765; a=rsa-sha256; cv=none; b=OXwwGM0RWV14sQhOOkZzpnAf3vFJGyNQlzNlab+WKeVl83NPnyV/2K9SiAHv+eAPyHkIC4 7qbtq5YiLvC22+BfCDo7C+fh4Fx+eWjqZzKkYPHp6xDzTS8/YmDuAsefD9NpkrWEl/p6nm 4wfnvLIyZjbF3ngnbngQ6tsmRdME0w4= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id AFF8B5C0706; Sun, 26 Jan 2025 07:48:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1B87C4CED3; Sun, 26 Jan 2025 07:49:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1737877764; bh=iCOJADJJ/sFPbuOid5OXzq1M+MQ1WlHyV9KAisT6QLU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K4s+daeo5ZtRx6Gu4vJ/P5va2/Zc1aBNvpydz9rKkSVitnt5s4tQ4p7lT4T7koHi2 wvqpFOfNIJ4JvEi6mI2AH0DeuLwKbVe3rJ5HBW4E9DuKwRa24y9nMYZzZEoMxFBPuj r3lfMvP/zDLkxMw27lf06oOh8SETm1Dsfzs9boTj7kyerxd4kK4XYTdJQnf5NnqRU7 2nOaBRt/YCtwpuvvVDC9No5WR+kbAukE44WO5GnFFgtxx9m3AtHPGru2xrot7i52tK my4z9DG0wF6kJFGXr/ty1oVp9XX+EnLvBW/nOKu6f8wEe7Q70aCehyXls3uZlat3aP plrNoZEvAzEAA== From: Mike Rapoport <rppt@kernel.org> To: x86@kernel.org Cc: Andrew Morton <akpm@linux-foundation.org>, Andy Lutomirski <luto@kernel.org>, Anton Ivanov <anton.ivanov@cambridgegreys.com>, Borislav Petkov <bp@alien8.de>, Brendan Higgins <brendan.higgins@linux.dev>, Daniel Gomez <da.gomez@samsung.com>, Daniel Thompson <danielt@kernel.org>, Dave Hansen <dave.hansen@linux.intel.com>, David Gow <davidgow@google.com>, Douglas Anderson <dianders@chromium.org>, Ingo Molnar <mingo@redhat.com>, Jason Wessel <jason.wessel@windriver.com>, Jiri Kosina <jikos@kernel.org>, Joe Lawrence <joe.lawrence@redhat.com>, Johannes Berg <johannes@sipsolutions.net>, Josh Poimboeuf <jpoimboe@kernel.org>, "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>, Lorenzo Stoakes <lorenzo.stoakes@oracle.com>, Luis Chamberlain <mcgrof@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Masami Hiramatsu <mhiramat@kernel.org>, Mike Rapoport <rppt@kernel.org>, Miroslav Benes <mbenes@suse.cz>, "H. Peter Anvin" <hpa@zytor.com>, Peter Zijlstra <peterz@infradead.org>, Petr Mladek <pmladek@suse.com>, Petr Pavlu <petr.pavlu@suse.com>, Rae Moar <rmoar@google.com>, Richard Weinberger <richard@nod.at>, Sami Tolvanen <samitolvanen@google.com>, Shuah Khan <shuah@kernel.org>, Song Liu <song@kernel.org>, Steven Rostedt <rostedt@goodmis.org>, Thomas Gleixner <tglx@linutronix.de>, kgdb-bugreport@lists.sourceforge.net, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-um@lists.infradead.org, live-patching@vger.kernel.org Subject: [PATCH v3 9/9] x86: re-enable EXECMEM_ROX support Date: Sun, 26 Jan 2025 09:47:33 +0200 Message-ID: <20250126074733.1384926-10-rppt@kernel.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20250126074733.1384926-1-rppt@kernel.org> References: <20250126074733.1384926-1-rppt@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: B29DE40004 X-Stat-Signature: ochyu6ei9kputid6zq6tdyn3h37it7pk X-HE-Tag: 1737877765-743662 X-HE-Meta: U2FsdGVkX187xhI4rSSjF/1CnPFiGSNv4OOBIi8fb1ZJh6/70NnqHVVzy6oym1VLbxjP3cBylkNB3kepqG2p6scCjt1w5Y/UpbzxxzaPAIM0JEfOdb51gh67dxtfw5Pcmy3dGPQSnkvGeSxLObK8+wjB8wLbRME5MJjT2tfzmfIGRWyqWqjfxBsstsfPIdI/ZA/DCfLMVR5mqTVesSNjYD4ydY3BFtnFvREMgQMl2LJSl5ch4a7sIBL5389zCPYq2Hc+WJW5oUz80AuWeiduBg0RgEgd6r2EOZ6/B9JrtWosDMgmDMpEKKPCJIJ/nTJn7pBn7v/yxF4cM8aT2fMG+4Fa8umZdNosEntenc/LnXZkg5b6a1twZpdmk3QVLOTUWkPxuzYePY1jlxjylHH+F9QVE3oZtchALjSloalv3HZzjWY6/uzmZkpg7fE2hkKxZW6l5MmwdMbZORJLU+xcNJqVppiiG6q9QAxG5FybOkurfpQR9oijuswvUPfzHCyna71naHC+LP0j54ISB0x1AYY4kJrnjkkRLH0wMAJxtPCuedcV+92hzt79xGasw/BbW2txDZqa9b59nggXEnylBQ8mw9qcXPQRGIzAj5TX5Iho/dxKCRQIv3QRC9hjwwPbLicT+V6cEM1JnG56ig8VMdsLYVLyB/C+twfxK3hW8Ql1db3YYprR7ku38d5QpxTy9RaN4IRWBGAGEOWgnJsDT0ggfVhm1ow6Mty/QP6V3pND4mvTyttaCFsLSMDCSj4PwKu6Q3+PdaIJZZAc8TFGrV+rvkWbXG1az+NsDxDqnJrTFKFH5ls5LOzQpjmsUs5opRtTqMnL8a7FygFLGSphhr1IVSaYR6Ik6BmiS50iTmLouOv8WDwSXlWBNMsAzmUhadusiZiDZEFjxcT37dQ9zBeKsRVvoCiw7evn+O9ydODp5HRnnYmIJ4sZWtr9auTEiPx+rPEm6rnZy8V2K7Y wAlCMH17 sESold1ie/KE9vdJPpFu/H2OIq1b+Y7vxR2pv3xgVXLJZZ0453QbPo6z9Lx3JbpNrI3qL8uI1aXjYzkJ7CqPv/BDASk7xloud1cExCDCKCqkSnJm/39aKaH6Ud8EfkMbVWbf0fCO2jjjsYtg6uVxEgtH/Tij3+H19amTliJUaDJxY9n+bV12Rw0GSjuAeFyzjJM/v31gmVjsBa/hF5hH57+otphBVb/Gdt3HBkfSVUdkGDtmdLs6dEKk6lQtiIzi7F8VuDg83+1un6PtfLXmHMsWvXYcZtX2vFa+j 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: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
x86/module: rework ROX cache to avoid writable copy
|
expand
|
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index ef6cfea9df73..9d7bd0ae48c4 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -83,6 +83,7 @@ config X86 select ARCH_HAS_DMA_OPS if GART_IOMMU || XEN select ARCH_HAS_EARLY_DEBUG if KGDB select ARCH_HAS_ELF_RANDOMIZE + select ARCH_HAS_EXECMEM_ROX if X86_64 select ARCH_HAS_FAST_MULTIPLIER select ARCH_HAS_FORTIFY_SOURCE select ARCH_HAS_GCOV_PROFILE_ALL