From patchwork Fri Sep 6 10:59:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Andrzej Siewior X-Patchwork-Id: 13794060 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BA043CE7B02 for ; Fri, 6 Sep 2024 11:29:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=x24fAVGIJ6RuBG9Lhr8zLFLnY6PVtiQ+egHDc5imzTY=; b=3Tnku4J7+2o5NH+irOF+RmuLrJ PO2WcRmaTe+o49c9ogeGjyXnPaQuyIZ5IoGASTsBoRqs1vfEa7bd0gLBGAWoHgvJxrIbvKic0FU3C kqxMN4il0rKgypatuQWmjHckxemVDzfpkegqljUqO+qPGLmhb96MY5fS8B9cTS16U2hwUg8bO0Q/x T1KOhW0vfgG9deJt4TPA4AKbqYrubPZLvn49rOEIMez4y4VRtlADgQ5jXuKjghYfmsH95xn3k1vhM OacGUXYO1XNviBpbzdLFu/FMSZSb7qkukLwxmjoKR+fA9SqwLqKLS5NqLXRamkcnhCCbSkIX21DpS M1xDUfHw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smX9c-0000000Bz0J-1OQd; Fri, 06 Sep 2024 11:29:28 +0000 Received: from galois.linutronix.de ([193.142.43.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smWzM-0000000BwI2-05jF; Fri, 06 Sep 2024 11:18:57 +0000 From: Sebastian Andrzej Siewior DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1725621528; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=x24fAVGIJ6RuBG9Lhr8zLFLnY6PVtiQ+egHDc5imzTY=; b=VfZkbxfeVSYo8CDDMZ35DzkLGbAxtXEqxJTTahK9OPPE95/ZrgARouXC6xlRFXgZ1Dq6HE QShB7PFR1C31xUDFfHcIiQQf5x0QK7zgjFbQYs7suIrcIAcicX+Go12o+iNNtRsD18wHCu L+laTOp9PbG28VcUtAPlHLSppTvAwCNzu2oHFYqnhA3ZJ/MKNzm0+BlSqf+qjPkT6ouCfZ dHoOWMX8G1pgXaFe6C6dusln/bluwbGsUfHmqsev0Tb7JsVHvyRiGCXf0etdNSXx38bqFp rSe43qa44M31mcTkeHgCtC2oGWhF52cj0P9c5dzqlFJvVPjJrdGbnBd1FdXiQw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1725621528; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=x24fAVGIJ6RuBG9Lhr8zLFLnY6PVtiQ+egHDc5imzTY=; b=657UDvKx20erci7Np8vEKYB6HMqB3iipyMUZV54Cb6fGMLLEfvZ9ZjVPbpu1CL2mjJ//nq ORnCt1D4PHWLWjCg== To: Thomas Gleixner , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, x86@kernel.org Cc: "H. Peter Anvin" , Albert Ou , Borislav Petkov , Catalin Marinas , Clark Williams , Dave Hansen , Ingo Molnar , John Ogness , Palmer Dabbelt , Paul Walmsley , Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Will Deacon , Sebastian Andrzej Siewior Subject: [PATCH 1/3] x86: Allow to enable PREEMPT_RT. Date: Fri, 6 Sep 2024 12:59:04 +0200 Message-ID: <20240906111841.562402-2-bigeasy@linutronix.de> In-Reply-To: <20240906111841.562402-1-bigeasy@linutronix.de> References: <20240906111841.562402-1-bigeasy@linutronix.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240906_041852_229332_254EC36E X-CRM114-Status: UNSURE ( 6.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org It is really time. x86 has all the required architecture related changes, that have been identified over time, in order to enable PREEMPT_RT. With the recent printk changes, the last known road block has been addressed. Allow to enable PREEMPT_RT on x86. Signed-off-by: Sebastian Andrzej Siewior --- arch/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 28401c16b0c3f..a8cf61c52b063 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -125,6 +125,7 @@ config X86 select ARCH_USES_CFI_TRAPS if X86_64 && CFI_CLANG select ARCH_SUPPORTS_LTO_CLANG select ARCH_SUPPORTS_LTO_CLANG_THIN + select ARCH_SUPPORTS_RT select ARCH_USE_BUILTIN_BSWAP select ARCH_USE_CMPXCHG_LOCKREF if X86_CMPXCHG64 select ARCH_USE_MEMTEST