]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/bugs: Introduce cdt_possible()
authorPawan Gupta <pawan.kumar.gupta@linux.intel.com>
Wed, 11 Jun 2025 17:30:03 +0000 (10:30 -0700)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 23 Jun 2025 10:26:57 +0000 (12:26 +0200)
commit8374a2719df2a00781e6821e373d7de71390d1b4
tree4518b09781127deaa4e857daa1a6437e6b63fcef
parent7e44909e0ea8346ba08b244ecc275fc3394e2b8e
x86/bugs: Introduce cdt_possible()

In preparation to allow ITS to also enable stuffing aka Call Depth
Tracking (CDT) independently of retbleed, introduce a helper
cdt_possible().

Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/20250611-eibrs-fix-v4-5-5ff86cac6c61@linux.intel.com
arch/x86/kernel/cpu/bugs.c