Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86/cpu: Fix the description of X86_MATCH_VFM_STEPS()

The comments needs to reflect an implementation change.

No functional change.

Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20250311-add-cpu-type-v8-1-e8514dcaaff2@linux.intel.com

authored by

Pawan Gupta and committed by
Ingo Molnar
7b9b54e2 da414d34

+4 -2
+4 -2
arch/x86/include/asm/cpu_device_id.h
··· 209 209 210 210 #define __X86_STEPPINGS(mins, maxs) GENMASK(maxs, mins) 211 211 /** 212 - * X86_MATCH_VFM_STEPPINGS - Match encoded vendor/family/model/stepping 212 + * X86_MATCH_VFM_STEPS - Match encoded vendor/family/model and steppings 213 + * range. 213 214 * @vfm: Encoded 8-bits each for vendor, family, model 214 - * @steppings: Bitmask of steppings to match 215 + * @min_step: Lowest stepping number to match 216 + * @max_step: Highest stepping number to match 215 217 * @data: Driver specific data or NULL. The internal storage 216 218 * format is unsigned long. The supplied value, pointer 217 219 * etc. is cast to unsigned long internally.