From patchwork Fri Sep 6 10:59:05 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: 13794059 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 957C7CE7B02 for ; Fri, 6 Sep 2024 11:27:36 +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=WOMw6yKC0dEl8fkVPj+ZP9/y4lvZ127Nc38gQlPELzQ=; b=IZbj6BtpV9yt33QchMcDNnejyj nE8xPHgx/zC1+sdziOXY0KdR83X6PQtvsWedhshqqSPZKY7qWpbNZ+v3iP/d3PeWjnHeQqqucpt71 ynrQa4UNL2i7eY47YeCDPkDQ8jBul40bjXVKU7I4FbsbSWXY75V382Xep4hx05L/N+Df3ksi6A7bv fNL/klbvUvH6TXqy/ie2LYuQmtI16k9hOE/hYeCipwEXqp4GIGsEn27LXZx/PXI1v1YtiaG0V7CPs rHPV2O9tTRaPu4D5Sbt0uvXnA2N40R2sTfkOzD3k1+i47SXR5Ro3j3DyQ1Jw/iDvB5+3CVpCgcjlJ tVsHC5Lw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smX7g-0000000ByS2-08fr; Fri, 06 Sep 2024 11:27:28 +0000 Received: from galois.linutronix.de ([2a0a:51c0:0:12e:550::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smWzM-0000000BwI9-0Wgu; Fri, 06 Sep 2024 11:18:56 +0000 From: Sebastian Andrzej Siewior DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1725621529; 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=WOMw6yKC0dEl8fkVPj+ZP9/y4lvZ127Nc38gQlPELzQ=; b=zFn5vSuk9/Mh+EIJBImR+DDDiyG+NB/rc2dvSBqbqpTfw5VUOjP1GVMcmMaWBixMOssmi2 mH0AZ2o7d9I8gsApxr6fYTV8wKSTpcDJhGIEHbsfKJYXPKvK9uFssU3KW+ytwxKcKvgg8y pW25LuqZtBgzgZl9gB47ELcrHxBYqN4hlLW20VfcjnkAKiLO76GyiQJK9/idDMKXNJhSOQ 2RfzLWvxjf82kidLd7iZLZ1cS2/iyA3NnJDoQUK/jYip2OqwagrqEoBEorjP/c/ik0GIuC JTBecfgOZUneOlySrio8ET/pKHZPYsW55wuQHQCAnpSZkWhAUPt9o7ON8E9ACA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1725621529; 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=WOMw6yKC0dEl8fkVPj+ZP9/y4lvZ127Nc38gQlPELzQ=; b=K2lwu6K3Xj3KtwUoxxC/CTmka++ZUOKZEHv9tD5Rsq5a09OBghiqtEJEqJs+X5N4FFqrWU nwktQFPm/Jwh+RBA== 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 2/3] arm64: Allow to enable PREEMPT_RT. Date: Fri, 6 Sep 2024 12:59:05 +0200 Message-ID: <20240906111841.562402-3-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_354493_A891C4D9 X-CRM114-Status: UNSURE ( 6.92 ) 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. arm64 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 arm64. Signed-off-by: Sebastian Andrzej Siewior Acked-by: Will Deacon --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 0e5bd38633936..2cce9cb44c31e 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -101,6 +101,7 @@ config ARM64 select ARCH_SUPPORTS_NUMA_BALANCING select ARCH_SUPPORTS_PAGE_TABLE_CHECK select ARCH_SUPPORTS_PER_VMA_LOCK + select ARCH_SUPPORTS_RT select ARCH_SUPPORTS_HUGE_PFNMAP if TRANSPARENT_HUGEPAGE select ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH select ARCH_WANT_COMPAT_IPC_PARSE_VERSION if COMPAT