could you try workaround now?
just replace mmap_sem on mmap_lock in /opt/intel/oneapi/vtune/2021.1-beta08/sepdk sources. I hope the fix must be in a couple files
Thanks for responding. I've already tried that route before posting.
I think the issue really boils down to missing struct and function declaration, like 'struct flush_tlb_info' and nmi_uaccess_okay() is no longer exposed when the macro 'MODULE' is defined, I assume this macro is always defined for kernel module building.
BTW, the definition is under arch/x86/include/asm/tlbflush.h
Would appreciate your suggestion on a workaround.