Re: [PATCH v3 13/19] gpu: nova-core: add falcon register definitions and base code

2025-05-16 Thread Danilo Krummrich
On Fri, May 16, 2025 at 09:19:45PM +0900, Alexandre Courbot wrote: > On Wed May 14, 2025 at 1:19 AM JST, Danilo Krummrich wrote: > > >> +util::wait_on(Duration::from_millis(20), || { > >> +let r = regs::NV_PFALCON_FALCON_HWCFG2::read(bar, E::BASE); > >> +if r.mem_sc

Re: [PATCH v3 13/19] gpu: nova-core: add falcon register definitions and base code

2025-05-16 Thread Alexandre Courbot
On Wed May 14, 2025 at 1:19 AM JST, Danilo Krummrich wrote: >> +util::wait_on(Duration::from_millis(20), || { >> +let r = regs::NV_PFALCON_FALCON_HWCFG2::read(bar, E::BASE); >> +if r.mem_scrubbing() { >> +Some(()) >> +} else { >> +

Re: [PATCH v3 13/19] gpu: nova-core: add falcon register definitions and base code

2025-05-13 Thread Danilo Krummrich
On Wed, May 07, 2025 at 10:52:40PM +0900, Alexandre Courbot wrote: > Add the common Falcon code and HAL for Ampere GPUs, and instantiate the > GSP and SEC2 Falcons that will be required to boot the GSP. > > Signed-off-by: Alexandre Courbot > --- > drivers/gpu/nova-core/falcon.rs | 540

[PATCH v3 13/19] gpu: nova-core: add falcon register definitions and base code

2025-05-07 Thread Alexandre Courbot
Add the common Falcon code and HAL for Ampere GPUs, and instantiate the GSP and SEC2 Falcons that will be required to boot the GSP. Signed-off-by: Alexandre Courbot --- drivers/gpu/nova-core/falcon.rs | 540 ++ drivers/gpu/nova-core/falcon/gsp.rs | 22