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

Commit 060aba4c authored by Vinayak Menon's avatar Vinayak Menon
Browse files

Revert "arm64: kpti: force off kpti"



This reverts commit a3c13904.

Control kpti via bootargs and keep default as enabled.

Change-Id: Ib6ae4b7b9dd731350d1a5c5943c8f36452c1d36a
Signed-off-by: default avatarVinayak Menon <vinmenon@codeaurora.org>
parent 6d869ca4
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -889,8 +889,7 @@ static bool has_cache_dic(const struct arm64_cpu_capabilities *entry,
}

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)