nova-core: add initial support for gpu timer (v7)
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected] change-id 20261102-nova-timer-f4b9de3274a1Versions newest first
- v7 Latest2 patches 7 repliesApplied
- v62 patches 5 repliesSuperseded
- v52 patches 3 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 2 patches | 6 replies | Superseded | |
| v3 | 2 patches | 2 replies | Superseded | |
| v1 | 2 patches | 0 replies | Superseded |
Changes in v7 from the cover letter
- Alexandre's review comments
- fix tu102 non-fatal just print error
- bunch of comments and nits
- Link to v6: https://lore.kernel.org/r/[email protected]
Patches in v7 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | rust: time: expose as_nanos for clock sources.rust/ | +2 | 5 replies | |
| 2/2 | gpu: nova-core: add support for GPU timer block. (v7)drivers/ drivers/ drivers/ +8 more | +366 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | FUJITA Tomonori | Alexandre Courbot |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v7 0/2] nova-core: add initial support for gpu timer (v7)
The GPU has a timer, one of the pieces of information we need to pass into GSP init later is the timer offset.
This series just adds support for setting up the timer on Turing+, with hals for Turing and Hopper.
Right now it calculates the value to send to GSP but the code to send it will be added later.
For some hardware variants sending a proper value is required for GSP init to succeed.
---
Changes in v7:
- Alexandre's review comments
- fix tu102 non-fatal just print error
- bunch of comments and nits
- Link to v6: https://lore.kernel.org/r/[email protected]
Changes in v6:
- Alexandre's review comment handled
- fsp hal stores in fsp
- register cleanups
- Link to v5: https://lore.kernel.org/r/[email protected]
Changes in v5:
- Alexandre's review comments handled
- reworked registers/workaround logic into fsp
- fixed all the timer register handling to be non-falling.
- Link to v4: https://lore.kernel.org/r/[email protected]
Changes in v4:
- reworked register handling
- used a timerstate.
- Link to v3: https://lore.kernel.org/r/[email protected]
---
Dave Airlie (2):
rust: time: expose as_nanos for clock sources.
gpu: nova-core: add support for GPU timer block. (v7)
drivers/gpu/nova-core/fsp.rs | 16 ++++- drivers/gpu/nova-core/fsp/hal.rs | 7 ++- drivers/gpu/nova-core/fsp/hal/gh100.rs | 5 ++ drivers/gpu/nova-core/fsp/regs.rs | 31 ++++++++++ drivers/gpu/nova-core/gpu.rs | 8 +++ drivers/gpu/nova-core/nova_core.rs | 1 + drivers/gpu/nova-core/timer.rs | 40 ++++++++++++ drivers/gpu/nova-core/timer/hal.rs | 39 ++++++++++++ drivers/gpu/nova-core/timer/hal/gh100.rs | 71 +++++++++++++++++++++ drivers/gpu/nova-core/timer/hal/tu102.rs | 49 +++++++++++++++ drivers/gpu/nova-core/timer/regs.rs | 103 +++++++++++++++++++++++++++++++ rust/kernel/time.rs | 3 +- 12 files changed, 368 insertions(+), 5 deletions(-)
---
base-commit: 7a6bc132f1b51437063c9203e7221067b40a791e
change-id: 20261102-nova-timer-f4b9de3274a1
Best regards,
Signature · 1 line
Dave Airlie <[email protected]>