580.65.06

This commit is contained in:
Maneet Singh
2025-08-04 11:15:02 -07:00
parent d890313300
commit 307159f262
1315 changed files with 477791 additions and 279973 deletions

View File

@@ -219,9 +219,14 @@ static uvm_aperture_t get_fault_inst_aperture(const NvU32 *fault_entry)
switch (hw_aperture_value) {
case NVC369_BUF_ENTRY_INST_APERTURE_VID_MEM:
return UVM_APERTURE_VID;
case NVC369_BUF_ENTRY_INST_APERTURE_SYS_MEM_COHERENT:
case NVC369_BUF_ENTRY_INST_APERTURE_SYS_MEM_NONCOHERENT:
return UVM_APERTURE_SYS;
// UVM does not use SYS_NON_COHERENT aperture for sysmem addresses
// but RM might. The value returned here denotes sysmem location
// to UVM so it's safe to return UVM_APERTURE_SYS even for
// SYS_MEM_NONCOHERENT.
/* falls through */
case NVC369_BUF_ENTRY_INST_APERTURE_SYS_MEM_COHERENT:
return UVM_APERTURE_SYS;
}
UVM_ASSERT_MSG(false, "Invalid inst aperture value: %d\n", hw_aperture_value);