On 1/21/26 8:18 AM, Gary Guo wrote:
> On Wed Dec 3, 2025 at 5:59 AM GMT, John Hubbard wrote:
...
>> +/// Calculate non-WPR heap size based on chipset architecture.
>> +/// This matches the logic used in FSP for consistency.
>> +pub(crate) fn calc_non_wpr_heap_size(chipset: Chipset) -> u64 {
>> + if chipset.needs_large_reserved_mem() {
>> + 0x220000 // ~2.1MB for Hopper/Blackwell+
>> + } else {
>> + SZ_1M as u64 // 1MB for older architectures
>> + }
>> +}
>
> I think the patch that introduces the function should be merged with this one.
>
Done.
thanks,
--
John Hubbard