Re: [PATCH 3/3] gpu: nova-core: Move one PBUS register definition

"Alexandre Courbot" <[email protected]> Sat, 25 Jul 2026 22:28:03 +0900
Newsgroups dev.linux.lists.nova-gpu,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Wed Jul 22, 2026 at 12:51 AM JST, Nanonej Dev wrote:
>> - Move the `NV_PBUS_SW_SCRATCH_0E_FRTS_ERR` register under the `gsp`
>>   module, since it is clearly themed after `FRTS`, which is part of the
>>   GSP boot. But, without moving `NV_PBUS_SW_SCRATCH` (the actual
>>   register being aliased). I expect you will hit a bug of the `register`
>>   macro when doing this one - I'll try to address it, but the first two
>>   steps should be safe to do and correct.
>
> You told me that I would hit a bug on `NV_PBUS_SW_SCRATCH`, but as far as I compile, I didn't. Anything I could have missed?

I was expecting issues with relative registers that need to refer to a
base type defined in another module; but as relative registers should be
going away soon [1], so will this problem. IOW, I suggest waiting a bit
before attempting to move the PFALCON/PFALCON2 registers.

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