xref: /linux/drivers/gpu/nova-core/falcon/fsp.rs (revision 34599e07389fb3f44a79d5a4a4b64a04f4304271)
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 #[expect(dead_code)]
19 pub(crate) struct Fsp(());
20 
21 impl RegisterBase<PFalconBase> for Fsp {
22     const BASE: usize = 0x8f2000;
23 }
24 
25 impl RegisterBase<PFalcon2Base> for Fsp {
26     const BASE: usize = 0x8f3000;
27 }
28 
29 impl FalconEngine for Fsp {}
30