
请教下在SO库中调用内核驱动接口提示CFI检测错误,有没什么方法取消驱动的CFI检测,因为这是原厂提供的驱动,谢谢
[ 100.132751][T856@C1] Kernel panic - not syncing: CFI failure (target: wl_iw_get_wpaauth.645e382b74f71ef0ca3cba14f7f07801.cfi_jt+0x0/0x8 [bcmdhd])
[ 100.151212][T856@C1] CPU: 1 PID: 856 Comm: hcpNetMonitor Tainted: G O 5.15.74 #1
[ 100.159902][T856@C1] Hardware name: Unisoc UIS7885 Board (DT)
[ 100.165638][T856@C1] Call trace:
[ 100.168854][T856@C1] dump_backtrace.cfi_jt+0x0/0x8
[ 100.173723][T856@C1] show_stack+0x28/0x38
[ 100.177806][T856@C1] dump_stack_lvl+0x84/0xcc
[ 100.182242][T856@C1] panic+0x180/0x444
[ 100.186065][T856@C1] free_shadow+0x0/0x34
[ 100.190151][T856@C1] __cfi_check_fail+0x60/0x64 [bcmdhd]

你用的是原厂驱动,不能直接修改驱动代码,如果只是暂时调试的话,可以把CFI调成宽容模式,如果想一劳永逸的话,可以在编译内核的时候禁用CFI
