]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: Hopper/Blackwell: add FSP secure boot completion waiting
authorJohn Hubbard <jhubbard@nvidia.com>
Tue, 2 Jun 2026 03:21:00 +0000 (20:21 -0700)
committerAlexandre Courbot <acourbot@nvidia.com>
Tue, 2 Jun 2026 13:33:16 +0000 (22:33 +0900)
commit82eaa14e7efcbb3933083b4c27fd5496fbb1a4be
treed04d5f3564d9bf8cf25a8735b2d72be074142458
parent4257d3179384f8ccb085b64f5ca1373be637b77c
gpu: nova-core: Hopper/Blackwell: add FSP secure boot completion waiting

Hopper and Blackwell use FSP instead of SEC2 for secure boot. The
driver must wait for FSP secure boot to complete before continuing
with GSP bring-up. Poll for boot success with a 5-second timeout, and
return the FSP interface only on success so that later Chain of Trust
operations cannot run before FSP is ready. The interface owns the FSP
falcon and the FMC firmware.

Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Eliot Courtney <ecourtney@nvidia.com>
Link: https://patch.msgid.link/20260602032111.224790-13-jhubbard@nvidia.com
[acourbot: use `inspect_err` instead of `map_err` and display actual error]
[acourbot: limit visibility of `fsp_hal` to `super``]
Co-developed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/falcon/fsp.rs
drivers/gpu/nova-core/fsp.rs [new file with mode: 0644]
drivers/gpu/nova-core/fsp/hal.rs [new file with mode: 0644]
drivers/gpu/nova-core/fsp/hal/gb202.rs [new file with mode: 0644]
drivers/gpu/nova-core/fsp/hal/gh100.rs [new file with mode: 0644]
drivers/gpu/nova-core/gsp/hal/gh100.rs
drivers/gpu/nova-core/nova_core.rs
drivers/gpu/nova-core/regs.rs