projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38e0e4d
)
x86/boot: Fix the setup data types max limit
author
Borislav Petkov
<bp@suse.de>
Sun, 10 Jul 2022 09:15:47 +0000
(11:15 +0200)
committer
Borislav Petkov
<bp@suse.de>
Sun, 10 Jul 2022 09:17:40 +0000
(11:17 +0200)
Commit in Fixes forgot to change the SETUP_TYPE_MAX definition which
contains the highest valid setup data type.
Correct that.
Fixes: 5ea98e01ab52 ("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
arch/x86/include/uapi/asm/bootparam.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/uapi/asm/bootparam.h
b/arch/x86/include/uapi/asm/bootparam.h
index bea5cdcdf53252bf4fed4199ee2c7b11a48416ac..e02a8a8ef23cec816ab256135623baa11b0de2f3 100644
(file)
--- a/
arch/x86/include/uapi/asm/bootparam.h
+++ b/
arch/x86/include/uapi/asm/bootparam.h
@@
-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