From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0ED0B280CC9 for ; Sun, 14 Dec 2025 08:48:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765702084; cv=none; b=b7/hi08vqf/xjxjMyTFeG2D//kNK3Km2bSYX9KmM0L5nHO1+yA16DopJmWpqWSBzc8AVl90Lp4+5HwiikHzf8aM7DuPUPr7k0T57RalJbWYyj3VQWfiZB/YMTp5JQ9uuh55pMcz0gD/wYc9dLF1xSw/9C5wZtc6Ks1wv9r62OaM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765702084; c=relaxed/simple; bh=8MX2p0xkfQDylIlEtCzBgBnTwTcuOTI4jWnB4WQbWFc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sQKJvnAmTPKs7KtHJaecWGqRP9TWbewS5i8dgTr4caq/iOSuomUUerbD3Rme1BxeObgZUWf58JnM6XLqwzGLqRaSpnMPF4Qit97bRhrvQDjtT13T4TBk9Hv77is41ix2021Ae82IelmszaMAN5Xm3IOC08LaZkCrl0WH1YZmQCQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hUAkz9Gx; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hUAkz9Gx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3DE3C16AAE; Sun, 14 Dec 2025 08:48:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1765702083; bh=8MX2p0xkfQDylIlEtCzBgBnTwTcuOTI4jWnB4WQbWFc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hUAkz9GxH0pfqspNLObSSZ6+qllrNKU3QN30mcpB7Yf+t+0/cWFfPGmSI0n5tXTko mr1v6iQmlujkOXLB8ANaxb6fGuWY9EIOH8stRZd8MiabMskRaXPFP1uIO+/B687ETZ 6IsVapA1Gw13TXOkbxUPWCvtXDtXtEjAAfz2gm+eAUKstQUisIfx491UDBC5El/9So zK6OsqRYNIxqtDLs3eHkbSXp5n7sOyxtwQyi5HblQtP4oIy8EA1ZGeQiPhkWfPhUSv u+0+pUCXGZvnNpF16vOMI4TpoDbsdqrgvZIM1mtJDTOcn+RZ6h4RvU2pmlSoXciXlu KexaypB0yEkDQ== From: Ingo Molnar To: linux-kernel@vger.kernel.org Cc: Ingo Molnar , "Ahmed S . Darwish" , Andrew Cooper , Ard Biesheuvel , Arnd Bergmann , Borislav Petkov , Dave Hansen , "H . Peter Anvin" , John Ogness , Linus Torvalds , Peter Zijlstra , Thomas Gleixner , Arnd Bergmann Subject: [PATCH 11/15] x86/cpu: Make CONFIG_X86_TSC unconditional Date: Sun, 14 Dec 2025 09:46:59 +0100 Message-ID: <20251214084710.3606385-12-mingo@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251214084710.3606385-1-mingo@kernel.org> References: <20251214084710.3606385-1-mingo@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit I.e. it's a boot time requirement for the CPU to support it. Signed-off-by: Ingo Molnar Reviewed-by: Arnd Bergmann Acked-by: Dave Hansen Cc: Ahmed S . Darwish Cc: Andrew Cooper Cc: Ard Biesheuvel Cc: H . Peter Anvin Cc: John Ogness Cc: Linus Torvalds Cc: Peter Zijlstra Link: https://lore.kernel.org/r/20250425084216.3913608-12-mingo@kernel.org --- arch/x86/Kconfig | 1 - arch/x86/Kconfig.cpu | 1 - arch/x86/xen/Kconfig | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 90ec7f2cda93..2e31ca35de1a 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -669,7 +669,6 @@ config X86_INTEL_QUARK depends on X86_32 depends on X86_EXTENDED_PLATFORM depends on X86_PLATFORM_DEVICES - depends on X86_TSC depends on PCI depends on PCI_GOANY depends on X86_IO_APIC diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index 53242bce0d27..c855db6ff6a4 100644 --- a/arch/x86/Kconfig.cpu +++ b/arch/x86/Kconfig.cpu @@ -262,7 +262,6 @@ config X86_USE_PPRO_CHECKSUM config X86_TSC def_bool y - depends on (MWINCHIP3D || MCRUSOE || MEFFICEON || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || MVIAC3_2 || MVIAC7 || MGEODEGX1 || MGEODE_LX || MATOM) || X86_64 config X86_HAVE_PAE def_bool y diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig index aa4040fd9215..dc38f950b1e2 100644 --- a/arch/x86/xen/Kconfig +++ b/arch/x86/xen/Kconfig @@ -11,7 +11,7 @@ config XEN select HIBERNATE_CALLBACKS depends on X86_64 || (X86_32 && X86_PAE) depends on X86_64 || (X86_GENERIC || MPENTIUM4 || MATOM) - depends on X86_LOCAL_APIC && X86_TSC + depends on X86_LOCAL_APIC help This is the Linux Xen port. Enabling this will allow the kernel to boot in a paravirtualized environment under the -- 2.51.0