Re: [PATCH REF v4 24/27] gpu: nova-core: use lifetime for Bar
From: Alexandre Courbot
Date: Tue May 26 2026 - 01:48:41 EST
On Tue May 26, 2026 at 11:10 AM JST, Alexandre Courbot wrote:
> On Fri May 22, 2026 at 8:34 AM JST, Danilo Krummrich wrote:
>> Take advantage of the lifetime-parameterized pci::Bar<'bound> to hold
>> the BAR mapping directly in NovaCore<'bound>, and pass a borrowed
>> reference to Gpu<'bound>.
>>
>> This eliminates the Arc<Devres<Bar0>> indirection, removes runtime
>> revocation checks for BAR access, and simplifies Gpu::unbind().
>>
>> Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx>
>
> I see that this patch is not in v5 (and it is marked `REF` here), do you
> intend to push it soon? Knowing that would be useful to understand which
> base to use for work that depends on HRT.
Just noticed your "gpu: nova: adopt driver lifetime
infrastructure" series. Sorry for the noise.