Thread (13 messages) 13 messages, 4 authors, 2021-06-28

Re: [PATCH Part1 RFC v3 20/22] x86/boot: Add Confidential Computing address to setup_header

From: Borislav Petkov <bp@alien8.de>
Date: 2021-06-25 17:01:59
Also in: linux-coco, linux-crypto, linux-efi, linux-mm, lkml, platform-driver-x86

Possibly related (same subject, not in this thread)

On Fri, Jun 25, 2021 at 10:24:01AM -0500, Brijesh Singh wrote:
In the case of EFI, the CC blob structure is dynamically allocated
and passed through the EFI configuration table. The grub will not
know what value to pass in the cmdline unless we improve it to read
the EFI configuration table and rebuild the cmdline.
Or simply parse the EFI table.

To repeat my question: why do you need the CC blob in the boot kernel?

Then, how does it work then in the !EFI case?

The script glue that starts the lightweight container goes and
"prepares" that blob and passes it to guest kernel? In which case
setup_data should do the job, methinks.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help