Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 428413e2 authored by Vinayak Menon's avatar Vinayak Menon
Browse files

Revert "arm64: kpti: force off kpti"



Control kpti via bootargs and keep default as
enabled.

This reverts commit 1edf9722.

Change-Id: I707641061ad67498228df64e361139baf2b7a1a3
Signed-off-by: default avatarVinayak Menon <vinmenon@codeaurora.org>
parent 38b1718d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -964,8 +964,7 @@ has_useable_cnp(const struct arm64_cpu_capabilities *entry, int scope)
}

static bool __meltdown_safe = true;
/* 0: not forced, >0: forced on, <0: forced off */
static int __kpti_forced = -1;
static int __kpti_forced; /* 0: not forced, >0: forced on, <0: forced off */

static bool unmap_kernel_at_el0(const struct arm64_cpu_capabilities *entry,
				int scope)