Skip to content

Commit cb8a4be

Browse files
committed
x86/boot: Fix the setup data types max limit
Commit in Fixes forgot to change the SETUP_TYPE_MAX definition which contains the highest valid setup data type. Correct that. Fixes: 5ea98e0 ("x86/boot: Add Confidential Computing type to setup_data") Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/ddba81dd-cc92-699c-5274-785396a17fb5@zytor.com
1 parent 38e0e4d commit cb8a4be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/include/uapi/asm/bootparam.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#define SETUP_INDIRECT (1<<31)
1616

1717
/* SETUP_INDIRECT | max(SETUP_*) */
18-
#define SETUP_TYPE_MAX (SETUP_INDIRECT | SETUP_JAILHOUSE)
18+
#define SETUP_TYPE_MAX (SETUP_INDIRECT | SETUP_CC_BLOB)
1919

2020
/* ram_size flags */
2121
#define RAMDISK_IMAGE_START_MASK 0x07FF

0 commit comments

Comments
 (0)