Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Code of Conduct
- I agree to follow this project's Code of Conduct
Overview
There is no guarantee that a file system containing SEV firmware is available during CCP driver initialization. For instance, when linked into vmlinux, CCP driver fails to load the firmware.
Refactor the existing code base so that SEV platform init is dropped from sev_pci_init() and sev_update_firmware() is callable from outside. Then, move the call site of sev_update_firmware() to sev_guest_init().
See also: https://lore.kernel.org/lkml/CA+55aFypOcK6fiiUo8FtN1srw8M9FZtqcSsFfA2eVeFu7Nug7w@mail.gmail.com/
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
New