On 10/29/25 5:31 PM, Timur Tabi wrote:
> On Wed, 2025-10-29 at 17:29 -0700, John Hubbard wrote:
>> That, combined with Timur's comment, made me realize that .is_next_gen()
>> can be made reliable enough that we don't even need is_nv04() at all.
>
> Please, not "next gen". Technically speaking, BOOT42 is "current gen" and
> BOOT0 is "last gen".
>
> And this all assumes that BOOT42 won't be replaced by something even bigger
> for
> Blackwell+++++++++++.
OK, I think this wants to be called use_boot42_instead(), approximately.
...and I've fortified the code accordingly:
impl NV_PMC_BOOT_0 {
pub(crate) fn use_boot42_instead(self) -> bool {
// "Future" GPUs (some time after Rubin) will set `architecture_0`
// to 0, and `architecture_1` to 1, and put the architecture details in
// boot42 instead.
self.architecture_0() == 0 && self.architecture_1() == 1
}
thanks,
--
John Hubbard