All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Antonin Malzieu Ridolfi via B4 Relay"
	<devnull+dev.nanonej.com@kernel.org>
Cc: "Alexandre Courbot" <acourbot@nvidia.com>,
	dri-devel@lists.freedesktop.org,
	"Danilo Krummrich" <dakr@kernel.org>
Subject: Re: [PATCH 3/5] gpu: nova-core: falcon: Move PFALCON2 register
Date: Tue, 23 Jun 2026 20:12:33 +0000	[thread overview]
Message-ID: <20260623201233.D36131F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260617-nova-core-regs-split-v1-3-4c7dc4450ea7@nanonej.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Broken intra-doc link for `FalconModSelAlgo` causes rustdoc build failures.
--

commit 38e6d24ce9170693f7e3057866f61c8d872b90e3
Author: Antonin Malzieu Ridolfi <dev@nanonej.com>

gpu: nova-core: falcon: Move PFALCON2 register

This commit moves the PFALCON2 register definition into the falcon module
and updates register visibility.

> diff --git a/drivers/gpu/nova-core/falcon.rs b/drivers/gpu/nova-core/falcon.rs
> index 94c7696a64935..c2215ddd9e804 100644
> --- a/drivers/gpu/nova-core/falcon.rs
> +++ b/drivers/gpu/nova-core/falcon.rs

[ ... ]

> @@ -99,7 +99,7 @@ pub(crate) enum FalconSecurityModel with TryFrom<Bounded<u32, 2>> {
>  
>  bounded_enum! {
>      /// Signing algorithm for a given firmware, used in the
> -    /// [`crate::regs::NV_PFALCON2_FALCON_MOD_SEL`] register. It is passed to the Falcon Boot ROM
> +    /// [`super::regs::NV_PFALCON2_FALCON_MOD_SEL`] register. It is passed to the Falcon Boot ROM

[Severity: Low]
This isn't a bug, but does this create a broken intra-doc link for rustdoc?

Since this enum is in the falcon module, super::regs would resolve to
crate::regs, but the register definition was just moved into the falcon
module.

Would it be better to use regs::NV_PFALCON2_FALCON_MOD_SEL instead to
prevent rustdoc build warnings or failures?

>      /// (BROM) as a parameter.
>      #[derive(Debug, Copy, Clone)]
>      pub(crate) enum FalconModSelAlgo with TryFrom<Bounded<u32, 8>> {

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260617-nova-core-regs-split-v1-0-4c7dc4450ea7@nanonej.com?part=3

  parent reply	other threads:[~2026-06-23 20:12 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-16 23:48 [PATCH 0/5] gpu: nova-core: Move registers definitions Antonin Malzieu Ridolfi
2026-06-16 23:48 ` Antonin Malzieu Ridolfi via B4 Relay
2026-06-16 23:48 ` [PATCH 1/5] gpu: nova-core: fb: Move PDISP register definition Antonin Malzieu Ridolfi
2026-06-16 23:48   ` Antonin Malzieu Ridolfi via B4 Relay
2026-06-23  6:18   ` Alexandre Courbot
2026-06-16 23:48 ` [PATCH 2/5] gpu: nova-core: gsp: Move PBUS " Antonin Malzieu Ridolfi
2026-06-16 23:48   ` Antonin Malzieu Ridolfi via B4 Relay
2026-06-23  6:18   ` Alexandre Courbot
2026-06-16 23:48 ` [PATCH 3/5] gpu: nova-core: falcon: Move PFALCON2 register Antonin Malzieu Ridolfi
2026-06-16 23:48   ` Antonin Malzieu Ridolfi via B4 Relay
2026-06-23  6:22   ` Alexandre Courbot
2026-06-23 20:12   ` sashiko-bot [this message]
2026-06-16 23:48 ` [PATCH 4/5] gpu: nova-core: falcon: Move PRISCV register Antonin Malzieu Ridolfi
2026-06-16 23:48   ` Antonin Malzieu Ridolfi via B4 Relay
2026-06-16 23:48 ` [PATCH 5/5] gpu: nova-core: falcon: Move PFSP register Antonin Malzieu Ridolfi
2026-06-16 23:48   ` Antonin Malzieu Ridolfi via B4 Relay
2026-06-23 20:24   ` sashiko-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260623201233.D36131F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=acourbot@nvidia.com \
    --cc=dakr@kernel.org \
    --cc=devnull+dev.nanonej.com@kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.