Skip to contentSkip to conversation

Nova changes for v6.17

GIT PULL Danilo Krummrich 1 participant 1 message Jul 18, 2025

lore
Share & tools
lore
#0 lore raw

Hi Dave and Sima,

Please pull the following nova changes and other dependencies.

There's a minor conflict with the rust-timekeeping tree [1] with a resolution in [2].

[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

The following changes since commit e04c78d86a9699d136910cfc0bdcf01087e3267e:

Linux 6.16-rc2 (2025-06-15 13:49:41 -0700)

are available in the Git repository at:

https://gitlab.freedesktop.org/drm/nova.git tags/nova-next-v6.17-2025-07-18

for you to fetch changes up to 14ae91a81ec8fa0bc23170d4aa16dd2a20d54105:

gpu: nova-core: fix bounds check in PmuLookupTableEntry::new (2025-07-17 14:10:58 +0900)

----------------------------------------------------------------
Nova changes for v6.17

DMA:

- Merge topic/dma-features-2025-06-23 from alloc tree.

- Clarify wording and be consistent in 'coherent' nomenclature.

- Convert the read!() / write!() macros to return a Result.

- Add as_slice() / write() methods in CoherentAllocation.

- Fix doc-comment of dma_handle().

- Expose count() and size() in CoherentAllocation and add the corresponding type invariants.

- Implement CoherentAllocation::dma_handle_with_offset().

nova-core:

- Various register!() macro improvements.

- Custom Sleep / Delay helpers (until the actual abstractions land).

- Add DMA object abstraction.

- VBIOS

- Image parser / iterator.

- PMU table look up in FWSEC.

- FWSEC ucode extraction.

- Register sysmem flush page.

- Falcon

- Generic falcon boot code and HAL (Ampere).

- GSP / SEC2 specific code.

- FWSEC-FRTS

- Compute layout of FRTS region (FbLayout and HAL).

- Load into GSP falcon and execute.

- Add Documentation for VBIOS layout, Devinit process, Fwsec operation and layout, Falcon basics.

- Update and annotate TODO list.

- Add Alexandre Courbot as co-maintainer.

Rust:

- Make ETIMEDOUT error available.

- Add size constants up to SZ_2G.

----------------------------------------------------------------
Abdiel Janulgue (3):
rust: dma: clarify wording and be consistent in coherent nomenclature
rust: dma: convert the read/write macros to return Result
rust: dma: add as_slice/write functions for CoherentAllocation

Alexandre Courbot (23):
rust: dma: fix doc-comment of dma_handle()
rust: dma: expose the count and size of CoherentAllocation
rust: dma: add dma_handle_with_offset method to CoherentAllocation
rust: make ETIMEDOUT error available
rust: sizes: add constants up to SZ_2G
gpu: nova-core: use absolute paths in register!() macro
gpu: nova-core: add delimiter for helper rules in register!() macro
gpu: nova-core: expose the offset of each register as a type constant
gpu: nova-core: allow register aliases
gpu: nova-core: increase BAR0 size to 16MB
gpu: nova-core: add helper function to wait on condition
gpu: nova-core: wait for GFW_BOOT completion
gpu: nova-core: add DMA object struct
gpu: nova-core: register sysmem flush page
gpu: nova-core: add falcon register definitions and base code
gpu: nova-core: firmware: add ucode descriptor used by FWSEC-FRTS
gpu: nova-core: compute layout of the FRTS region
gpu: nova-core: add types for patching firmware binaries
gpu: nova-core: extract FWSEC from BIOS and patch it to run FWSEC-FRTS
gpu: nova-core: load and run FWSEC-FRTS
gpu: nova-core: update and annotate TODO list
gpu: nova-core: replace Duration with Delta
gpu: nova-core: convert /* comments to //

Danilo Krummrich (4):
Merge tag 'topic/dma-features-2025-06-23' of https://github.com/Rust-for-Linux/linux.git
gpu: nova-core: impl From for u32 for enums used from register!
gpu: nova-core: consider clippy::cast_lossless
MAINTAINERS: Add Alexandre Courbot as co-maintainer to nova-core

Joel Fernandes (10):
gpu: nova-core: vbios: Add base support for VBIOS construction and iteration
gpu: nova-core: vbios: Add support to look up PMU table in FWSEC
gpu: nova-core: vbios: Add support for FWSEC ucode extraction
gpu: nova-core: Add code comments related to devinit
gpu: nova-core: Clarify sysmembar operations
gpu: nova-core: Clarify falcon code
Documentation: gpu: nova-core: Document vbios layout
Documentation: gpu: nova-core: Document devinit process
Documentation: gpu: nova-core: Document fwsec operation and layout
Documentation: gpu: nova-core: Document basics of the Falcon

Rhys Lloyd (1):
gpu: nova-core: fix bounds check in PmuLookupTableEntry::new

 Documentation/gpu/nova/core/devinit.rst   |   61 ++++++
 Documentation/gpu/nova/core/falcon.rst    |  158 +++++++++++++++
 Documentation/gpu/nova/core/fwsec.rst     |  181 +++++++++++++++++
 Documentation/gpu/nova/core/todo.rst      |  107 ++++++-----
 Documentation/gpu/nova/core/vbios.rst     |  181 +++++++++++++++++
 Documentation/gpu/nova/index.rst          |    4 +
 MAINTAINERS                               |    1 +
 drivers/gpu/nova-core/dma.rs              |   58 ++++++
 drivers/gpu/nova-core/driver.rs           |    6 +-
 drivers/gpu/nova-core/falcon.rs           |  588 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/gpu/nova-core/falcon/gsp.rs       |   24 +++
 drivers/gpu/nova-core/falcon/hal.rs       |   54 ++++++
 drivers/gpu/nova-core/falcon/hal/ga102.rs |  119 ++++++++++++
 drivers/gpu/nova-core/falcon/sec2.rs      |   10 +
 drivers/gpu/nova-core/fb.rs               |  147 ++++++++++++++
 drivers/gpu/nova-core/fb/hal.rs           |   39 ++++
 drivers/gpu/nova-core/fb/hal/ga100.rs     |   57 ++++++
 drivers/gpu/nova-core/fb/hal/ga102.rs     |   36 ++++
 drivers/gpu/nova-core/fb/hal/tu102.rs     |   58 ++++++
 drivers/gpu/nova-core/firmware.rs         |  108 +++++++++++
 drivers/gpu/nova-core/firmware/fwsec.rs   |  423 ++++++++++++++++++++++++++++++++++++++++
 drivers/gpu/nova-core/gfw.rs              |   71 +++++++
 drivers/gpu/nova-core/gpu.rs              |  127 +++++++++++-
 drivers/gpu/nova-core/nova_core.rs        |    5 +
 drivers/gpu/nova-core/regs.rs             |  303 ++++++++++++++++++++++++++++-
 drivers/gpu/nova-core/regs/macros.rs      |   65 +++++--
 drivers/gpu/nova-core/util.rs             |   26 +++
 drivers/gpu/nova-core/vbios.rs            | 1166 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 rust/kernel/dma.rs                        |  199 +++++++++++++++----
 rust/kernel/error.rs                      |    1 +
 rust/kernel/sizes.rs                      |   24 +++
 samples/rust/rust_dma.rs                  |   28 +--
 32 files changed, 4320 insertions(+), 115 deletions(-)
 create mode 100644 Documentation/gpu/nova/core/devinit.rst
 create mode 100644 Documentation/gpu/nova/core/falcon.rst
 create mode 100644 Documentation/gpu/nova/core/fwsec.rst
 create mode 100644 Documentation/gpu/nova/core/vbios.rst
 create mode 100644 drivers/gpu/nova-core/dma.rs
 create mode 100644 drivers/gpu/nova-core/falcon.rs
 create mode 100644 drivers/gpu/nova-core/falcon/gsp.rs
 create mode 100644 drivers/gpu/nova-core/falcon/hal.rs
 create mode 100644 drivers/gpu/nova-core/falcon/hal/ga102.rs
 create mode 100644 drivers/gpu/nova-core/falcon/sec2.rs
 create mode 100644 drivers/gpu/nova-core/fb.rs
 create mode 100644 drivers/gpu/nova-core/fb/hal.rs
 create mode 100644 drivers/gpu/nova-core/fb/hal/ga100.rs
 create mode 100644 drivers/gpu/nova-core/fb/hal/ga102.rs
 create mode 100644 drivers/gpu/nova-core/fb/hal/tu102.rs
 create mode 100644 drivers/gpu/nova-core/firmware/fwsec.rs
 create mode 100644 drivers/gpu/nova-core/gfw.rs
 create mode 100644 drivers/gpu/nova-core/vbios.rs