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

Commit 93e87a28 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "arm64: kpti: force off kpti"

parents 22487858 1edf9722
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -966,7 +966,8 @@ has_useable_cnp(const struct arm64_cpu_capabilities *entry, int scope)
}
}


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


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