Re: gpu: nova-core: arm32 build errors
From: Miguel Ojeda
Date: Thu Aug 28 2025 - 15:31:52 EST
On Thu, Aug 28, 2025 at 9:24 PM Danilo Krummrich <dakr@xxxxxxxxxx> wrote:
>
> Maybe I spoke too soon, it's actually pretty painful to keep 32-bit
> compatibility, even though it would be nice for testing purposes.
>
> I'll paste the diff to fix it below, I think that makes it obvious why I say
> that.
>
> Instead, we should really just depend on CONFIG_64BIT (which implies
> ARCH_DMA_ADDR_T_64BIT).
Yeah, it isn't great.
If it were just that, maybe it it is worth it (and a `DmaAddress`
newtype, not just a typedef, could perhaps be nice anyway?), but if
you think it will become increasingly painful later, then it may be
best to focus on what matters.
It is unlikely there is going to be actual users on a 32-bit platform, right?
Cheers,
Miguel