Home
last modified time | relevance | path

Searched refs:__kpti_forced (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/arch/arm64/kernel/
Dcpufeature.c1336 static int __kpti_forced; /* 0: not forced, >0: forced on, <0: forced off */ variable
1379 __kpti_forced = -1; in unmap_kernel_at_el0()
1384 if (!__kpti_forced) { in unmap_kernel_at_el0()
1386 __kpti_forced = 1; in unmap_kernel_at_el0()
1390 if (cpu_mitigations_off() && !__kpti_forced) { in unmap_kernel_at_el0()
1392 __kpti_forced = -1; in unmap_kernel_at_el0()
1401 if (__kpti_forced) { in unmap_kernel_at_el0()
1403 __kpti_forced > 0 ? "ON" : "OFF", str); in unmap_kernel_at_el0()
1404 return __kpti_forced > 0; in unmap_kernel_at_el0()
1460 __kpti_forced = enabled ? 1 : -1; in parse_kpti()