From a3fe3788535dd099d15e0ddca455be58e1d63156 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Thu, 29 Jun 2023 17:09:54 -0400 Subject: Hacky support for Linux 5.6+ and the Jetson AGX Orin Works around change in parameters to proc initialization functions via a hacky function which rewrites the layout. This also required making all the struct file_operations writable. Also start reducing dependency on nvgpu headers. Known issues: - Incorrect message printed in log after module is loaded. Unclear if this is because the register detection logic is broken, or if the layout of the data at NV_MC_BOOT_0 has changed. - Not tested --- include/nvgpu/nvlink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/nvgpu') diff --git a/include/nvgpu/nvlink.h b/include/nvgpu/nvlink.h index a74111c..26c83f1 100644 --- a/include/nvgpu/nvlink.h +++ b/include/nvgpu/nvlink.h @@ -26,7 +26,7 @@ #include #ifdef __KERNEL__ -#include +//#include #elif defined(__NVGPU_POSIX__) #include #else -- cgit v1.2.2