]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/cpufeatures: Use AWK to generate {REQUIRED|DISABLED}_MASK_BIT_SET in <asm/cpufeat...
authorXin Li (Intel) <xin@zytor.com>
Fri, 28 Feb 2025 08:23:38 +0000 (00:23 -0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Mar 2025 10:15:12 +0000 (11:15 +0100)
commitda414d34b55556156ee1a77cf7713fc97071e07b
tree0cf68921c99a1f7c8399530f11904a9934895424
parent8f97566c8a8165cd994baf6219d86fbbf250d2df
x86/cpufeatures: Use AWK to generate {REQUIRED|DISABLED}_MASK_BIT_SET in <asm/cpufeaturemasks.h>

Generate the {REQUIRED|DISABLED}_MASK_BIT_SET macros in the newly added AWK
script that generates <asm/cpufeaturemasks.h>.

Suggested-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Xin Li (Intel) <xin@zytor.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Brian Gerst <brgerst@gmail.com>
Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250228082338.73859-6-xin@zytor.com
arch/x86/include/asm/cpufeature.h
arch/x86/tools/cpufeaturemasks.awk