]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: convert falcon registers to kernel register macro
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 25 Mar 2026 02:46:21 +0000 (11:46 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Thu, 26 Mar 2026 06:09:44 +0000 (15:09 +0900)
commit38f7e5450ebfc6f2e046a249a3f629ea7bec8c31
tree9867a72a680abe859767a0689f0da58ead8ecb1a
parent02ade2557eba91143f56837593ed821da4144e82
gpu: nova-core: convert falcon registers to kernel register macro

Convert all PFALCON, PFALCON2 and PRISCV registers to use the kernel's
register macro and update the code accordingly.

Because they rely on the same types to implement relative registers,
they need to be updated in lockstep.

nova-core's local register macro is now unused, so remove it.

Reviewed-by: Gary Guo <gary@garyguo.net>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260325-b4-nova-register-v4-8-bdf172f0f6ca@nvidia.com
[acourbot@nvidia.com: remove unused import.]
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/falcon.rs
drivers/gpu/nova-core/falcon/gsp.rs
drivers/gpu/nova-core/falcon/hal/ga102.rs
drivers/gpu/nova-core/falcon/hal/tu102.rs
drivers/gpu/nova-core/falcon/sec2.rs
drivers/gpu/nova-core/firmware/fwsec/bootloader.rs
drivers/gpu/nova-core/regs.rs
drivers/gpu/nova-core/regs/macros.rs [deleted file]