-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes/fixes on top of v11 AMD patches for non-PSP case #26
base: grub-sl-2.12-v11-amd
Are you sure you want to change the base?
Commits on Nov 19, 2024
-
loader/slaunch/psp.c: don't cause use of __udivmoddi4()
Just use grub_divmod64() explicitly like all other code does. Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c173bd - Browse repository at this point
Copy the full SHA 6c173bdView commit details -
Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c9ffe3f - Browse repository at this point
Copy the full SHA c9ffe3fView commit details
Commits on Nov 29, 2024
-
grub-core/loader/slaunch/psp.c: fix rounding up after division
Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 682497d - Browse repository at this point
Copy the full SHA 682497dView commit details -
loader: fix pointer <-> integer conversions
The behaviour is implementation specific and in case of GCC 32-bit pointers are **sign-extended** on conversions to a larger integer type, thus producing invalid values. The opposite isn't dangerous, but still generates compiler warnings. Go through `grub_addr_t` in both cases. https://gcc.gnu.org/onlinedocs/gcc/Arrays-and-pointers-implementation.html Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8147876 - Browse repository at this point
Copy the full SHA 8147876View commit details -
loader/slaunch: fix invalid format specifiers
Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 025f421 - Browse repository at this point
Copy the full SHA 025f421View commit details -
loader/slaunch/txt.c: FIXME cleanup
Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8b80806 - Browse repository at this point
Copy the full SHA 8b80806View commit details -
i386/txt: Initialize TPM 1.2 event log in TXT heap
Signed-off-by: Michał Żygowski <[email protected]> Signed-off-by: Krystian Hebel <[email protected]> Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e69ea65 - Browse repository at this point
Copy the full SHA e69ea65View commit details -
loader/slaunch: make SKINIT work on AMD without PSP
Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0231aa9 - Browse repository at this point
Copy the full SHA 0231aa9View commit details -
loader/slaunch: {SKL,SLB}_MIN_A{,L}IGNMENT
Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 561f864 - Browse repository at this point
Copy the full SHA 561f864View commit details -
loader/slaunch/skl.c: fix allocating SKL and placing SLRT
Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3fbbb79 - Browse repository at this point
Copy the full SHA 3fbbb79View commit details -
loader/slaunch: fix reading mle_header
Only the case of legacy boot has slparams->mle_start and slparams->mle_mem different. Other places are updated for consistency. Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 81876ee - Browse repository at this point
Copy the full SHA 81876eeView commit details -
loader/slaunch: allow multiple "slaunch_module" commands
Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b883adc - Browse repository at this point
Copy the full SHA b883adcView commit details -
loader/slaunch/skl.c: improve grub_skl_set_module() checks
Make them more comprehensive and remove the `skl_size < (8*GRUB_PAGE_SIZE)` one which doesn't make much sense. Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a69289 - Browse repository at this point
Copy the full SHA 8a69289View commit details -
loader/slaunch/dlstub.c: better checks/errors
Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4d853d2 - Browse repository at this point
Copy the full SHA 4d853d2View commit details -
loader/slaunch/dlstub.c: start with zeroed relocator state
Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d4b61e3 - Browse repository at this point
Copy the full SHA d4b61e3View commit details -
loader/slaunch/skl.c: better errors and checks
Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b64de8b - Browse repository at this point
Copy the full SHA b64de8bView commit details -
include/grub/i386/txt.h: add missing #include
Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5fc2a42 - Browse repository at this point
Copy the full SHA 5fc2a42View commit details -
loader/slaunch/slrt.c: add NULL checks
Not all boot methods are Linux EFI boot methods. Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 54100f5 - Browse repository at this point
Copy the full SHA 54100f5View commit details -
include/grub/slaunch.h: add missing forward declaration
Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d92ba09 - Browse repository at this point
Copy the full SHA d92ba09View commit details -
loader/slaunch/skl.c: fix a comment typo
Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e77edd - Browse repository at this point
Copy the full SHA 6e77eddView commit details -
slaunch: introduce a hook for filling SLRT policy
Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c705ef - Browse repository at this point
Copy the full SHA 8c705efView commit details -
multiboot: Make GRUB_MULTIBOOT(make_mbi) return MBI's size
GRUB_MULTIBOOT(get_mbi_size) returns an upper bound on MBI's size instead of the actual size. It could also be used for measurements after zeroing unused parts of the buffer, but using an actual size seems like a better option as the same MBI will always have the same hash regardless of the amount of extra memory that follows it. Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d00a1a6 - Browse repository at this point
Copy the full SHA d00a1a6View commit details -
multiboot2: Support TXT and SKINIT slaunch
The code makes sure that MBI entry goes first in DRTM, so the payload can measure it first on launch. Then goes SLRT and other typical entries, while MB2 modules are added at the end. Signed-off-by: Michał Żygowski <[email protected]> Signed-off-by: Tomasz Żyjewski <[email protected]> Signed-off-by: Krystian Hebel <[email protected]> Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e383612 - Browse repository at this point
Copy the full SHA e383612View commit details -
grub-core/loader/slaunch/psp.c: simplify is_drtm_device()
Just return bool. Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a655a9e - Browse repository at this point
Copy the full SHA a655a9eView commit details -
grub-core/loader/slaunch/psp.c: fix comment capitalization
Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8b35409 - Browse repository at this point
Copy the full SHA 8b35409View commit details -
grub-core/loader/slaunch/psp.c: drop extra assignments from init_drtm…
…_device() Signed-off-by: Sergii Dmytruk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 805d4f3 - Browse repository at this point
Copy the full SHA 805d4f3View commit details