Skip to content

Commit

Permalink
x86/boot: Fix the setup data types max limit
Browse files Browse the repository at this point in the history
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
  • Loading branch information
suryasaimadhu committed Jul 10, 2022
1 parent 38e0e4d commit cb8a4be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/include/uapi/asm/bootparam.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define SETUP_INDIRECT (1<<31)

/* SETUP_INDIRECT | max(SETUP_*) */
#define SETUP_TYPE_MAX (SETUP_INDIRECT | SETUP_JAILHOUSE)
#define SETUP_TYPE_MAX (SETUP_INDIRECT | SETUP_CC_BLOB)

/* ram_size flags */
#define RAMDISK_IMAGE_START_MASK 0x07FF
Expand Down

0 comments on commit cb8a4be

Please sign in to comment.