Home
last modified time | relevance | path

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

/arch/arm64/kernel/
Dcpufeature.c1483 static int __kpti_forced; /* 0: not forced, >0: forced on, <0: forced off */ variable
1526 __kpti_forced = -1; in unmap_kernel_at_el0()
1531 if (!__kpti_forced) { in unmap_kernel_at_el0()
1533 __kpti_forced = 1; in unmap_kernel_at_el0()
1537 if (cpu_mitigations_off() && !__kpti_forced) { in unmap_kernel_at_el0()
1539 __kpti_forced = -1; in unmap_kernel_at_el0()
1548 if (__kpti_forced) { in unmap_kernel_at_el0()
1550 __kpti_forced > 0 ? "ON" : "OFF", str); in unmap_kernel_at_el0()
1551 return __kpti_forced > 0; in unmap_kernel_at_el0()
1607 __kpti_forced = enabled ? 1 : -1; in parse_kpti()