compute-runtime/shared/source/page_fault_manager
Jack Myers 5f78147e16 fix: hotfix for svmcpu tbx uploads
Test program in the linked, related issue
is crashing in tbx mode. Tbx server indicated
upload of invalid memory was made before exit.

Running with debug messages showed that the
problematic upload was an svmcpu buffer when
running neo with separate cpu and gpu
buffers for shared memory management.

Using this info, the problem was narrowed down
to a missing unprotect call in page fault manager
related code, resulting in a protected(invalid)
memory region getting uploaded to tbx.

It is unclear yet why this unprotect call was not made,
since other svmcpu buffers were uploaded without issue.

This hotfix forces the unprotect call in the fault handler,
which allows the test program to run to completion. However,
there is now a failing test case.

Considering the critical nature of the associated
NEO issue and that this patch should unblock
the work depending on the fix, this hotfix should
get merged regardless of the failing test case.

In the meantime, I will continue triaging the
failing test and will implement a proper fix
once the root cause is isolated.

Related-To: NEO-13404
Signed-off-by: Jack Myers <jack.myers@intel.com>
2025-03-14 04:47:21 +01:00
..
linux fix: tbx page fault manager hang issue 2025-02-18 05:05:38 +01:00
windows fix: tbx page fault manager hang issue 2025-02-18 05:05:38 +01:00
CMakeLists.txt fix: regression caused by tbx fault mngr 2025-01-09 07:48:53 +01:00
cpu_page_fault_manager.cpp fix: tbx page fault manager hang issue 2025-02-18 05:05:38 +01:00
cpu_page_fault_manager.h fix: tbx page fault manager hang issue 2025-02-18 05:05:38 +01:00
tbx_page_fault_manager.cpp fix: hotfix for svmcpu tbx uploads 2025-03-14 04:47:21 +01:00
tbx_page_fault_manager.h fix: tbx page fault manager hang issue 2025-02-18 05:05:38 +01:00