[PATCH v2 00/12] nova-core: Complete GSP boot and begin RPC communication

From: Joel Fernandes

Date: Sun Nov 02 2025 - 18:59:44 EST


Hello!
These patches a refresh of the series adding support for final stages of the
GSP boot process where a sequencer which inteprets firmware instructions needs
to run to boot the GSP processor, followed by waiting for an INIT_DONE message
from the GSP.

The patches are based on Alex's github branch which have several prerequisites:
Repo: https://github.com/Gnurou/linux.git Branch: b4/gsp_boot

I also dropped several patches (mainly from John that have already been
applied). Tested on Ampere GA102. We also need the "gpu: nova-core: Add
get_gsp_info() command" patch which I dropped since it needs to be reworked,
and it is not needed for GSP boot on Ampere (but John mentioned it is needed
for Blackwell so we could include it in the Blackwell series or I can try to
include it in this series if I'm respinning).

Previous series:
[1] https://lore.kernel.org/all/20250829173254.2068763-1-joelagnelf@xxxxxxxxxx/

Alistair Popple (1):
gpu: nova-core: gsp: Wait for gsp initialisation to complete

Joel Fernandes (11):
nova-core: falcon: Move waiting until halted to a helper
nova-core: falcon: Move start functionality into separate helper
nova-core: falcon: Move mbox functionalities into helper
nova-core: falcon: Move dma_reset functionality into helper
nova-core: gsp: Add support for checking if GSP reloaded
nova-core: Add bindings required by GSP sequencer
nova-core: Implement the GSP sequencer
nova-core: sequencer: Add register opcodes
nova-core: sequencer: Add delay opcode support
nova-core: sequencer: Implement basic core operations
nova-core: sequencer: Implement core resume operation

drivers/gpu/nova-core/falcon.rs | 101 +++--
drivers/gpu/nova-core/falcon/gsp.rs | 17 +
drivers/gpu/nova-core/gsp.rs | 1 +
drivers/gpu/nova-core/gsp/boot.rs | 27 +-
drivers/gpu/nova-core/gsp/cmdq.rs | 1 -
drivers/gpu/nova-core/gsp/commands.rs | 39 +-
drivers/gpu/nova-core/gsp/fw.rs | 44 ++
.../gpu/nova-core/gsp/fw/r570_144/bindings.rs | 85 ++++
drivers/gpu/nova-core/gsp/sequencer.rs | 413 ++++++++++++++++++
drivers/gpu/nova-core/regs.rs | 6 +
drivers/gpu/nova-core/sbuffer.rs | 1 -
11 files changed, 698 insertions(+), 37 deletions(-)
create mode 100644 drivers/gpu/nova-core/gsp/sequencer.rs

--
2.34.1