xref: /linux/drivers/gpu/nova-core/falcon/fsp.rs (revision 82eaa14e7efcbb3933083b4c27fd5496fbb1a4be)
1 // SPDX-License-Identifier: GPL-2.0
2 // SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3 
4 //! FSP (Foundation Security Processor) falcon engine for Hopper/Blackwell GPUs.
5 //!
6 //! The FSP falcon handles secure boot and Chain of Trust operations
7 //! on Hopper and Blackwell architectures, replacing SEC2's role.
8 
9 use kernel::io::register::RegisterBase;
10 
11 use crate::falcon::{
12     FalconEngine,
13     PFalcon2Base,
14     PFalconBase, //
15 };
16 
17 /// Type specifying the `Fsp` falcon engine. Cannot be instantiated.
18 pub(crate) struct Fsp(());
19 
20 impl RegisterBase<PFalconBase> for Fsp {
21     const BASE: usize = 0x8f2000;
22 }
23 
24 impl RegisterBase<PFalcon2Base> for Fsp {
25     const BASE: usize = 0x8f3000;
26 }
27 
28 impl FalconEngine for Fsp {}
29