Re: [PATCH v9 26/31] gpu: nova-core: make WPR heap sizing fallible

John Hubbard
2026-04-08T02:57:52Z

On 4/7/26 6:53 PM, Alexandre Courbot wrote:
> On Thu Mar 26, 2026 at 10:38 AM JST, John Hubbard wrote:
>> Make management_overhead() fail on multiplication or alignment
>> overflow instead of silently saturating. Propagate that failure through
>> wpr_heap_size() and the framebuffer layout code that consumes it.
>>
>> This is not Blackwell-specific, so keep it separate from the larger WPR2
>> heap change that follows.
>>
>> Signed-off-by: John Hubbard <jhubbard@nvidia.com>
>
> This looks completely independent from the series. Staging it for
> merging when drm-rust-next reopens as this is clearly correct.

OK.

thanks,
--
John Hubbard