mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
gpu: nova-core: Hopper/Blackwell: add FSP falcon engine stub
Add the FSP (Foundation Security Processor) falcon engine type that will handle secure boot and Chain of Trust operations on Hopper and Blackwell architectures. The FSP falcon replaces SEC2's role in the boot sequence for these newer architectures. This initial stub just defines the falcon type and its base address. Signed-off-by: John Hubbard <jhubbard@nvidia.com> Reviewed-by: Eliot Courtney <ecourtney@nvidia.com> Link: https://patch.msgid.link/20260602032111.224790-11-jhubbard@nvidia.com Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
This commit is contained in:
parent
ad5f9977a9
commit
34599e0738
|
|
@ -40,6 +40,7 @@
|
|||
regs,
|
||||
};
|
||||
|
||||
pub(crate) mod fsp;
|
||||
pub(crate) mod gsp;
|
||||
mod hal;
|
||||
pub(crate) mod sec2;
|
||||
|
|
|
|||
29
drivers/gpu/nova-core/falcon/fsp.rs
Normal file
29
drivers/gpu/nova-core/falcon/fsp.rs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
|
||||
//! FSP (Foundation Security Processor) falcon engine for Hopper/Blackwell GPUs.
|
||||
//!
|
||||
//! The FSP falcon handles secure boot and Chain of Trust operations
|
||||
//! on Hopper and Blackwell architectures, replacing SEC2's role.
|
||||
|
||||
use kernel::io::register::RegisterBase;
|
||||
|
||||
use crate::falcon::{
|
||||
FalconEngine,
|
||||
PFalcon2Base,
|
||||
PFalconBase, //
|
||||
};
|
||||
|
||||
/// Type specifying the `Fsp` falcon engine. Cannot be instantiated.
|
||||
#[expect(dead_code)]
|
||||
pub(crate) struct Fsp(());
|
||||
|
||||
impl RegisterBase<PFalconBase> for Fsp {
|
||||
const BASE: usize = 0x8f2000;
|
||||
}
|
||||
|
||||
impl RegisterBase<PFalcon2Base> for Fsp {
|
||||
const BASE: usize = 0x8f3000;
|
||||
}
|
||||
|
||||
impl FalconEngine for Fsp {}
|
||||
Loading…
Reference in New Issue
Block a user