Module Name: src
Committed By: jmcneill
Date: Sun Nov 1 10:58:59 UTC 2020
Modified Files:
src/sys/arch/aarch64/aarch64: pmap.c
Log Message:
No need to disable translation table walks in pmap_activate().
To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/arch/aarch64/aarch64/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/aarch64/aarch64/pmap.c
diff -u src/sys/arch/aarch64/aarch64/pmap.c:1.93 src/sys/arch/aarch64/aarch64/pmap.c:1.94
--- src/sys/arch/aarch64/aarch64/pmap.c:1.93 Thu Oct 22 07:34:18 2020
+++ src/sys/arch/aarch64/aarch64/pmap.c Sun Nov 1 10:58:59 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.93 2020/10/22 07:34:18 skrll Exp $ */
+/* $NetBSD: pmap.c,v 1.94 2020/11/01 10:58:59 jmcneill Exp $ */
/*
* Copyright (c) 2017 Ryo Shimizu <[email protected]>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.93 2020/10/22 07:34:18 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.94 2020/11/01 10:58:59 jmcneill Exp $");
#include "opt_arm_debug.h"
#include "opt_ddb.h"
@@ -1439,11 +1439,6 @@ pmap_activate(struct lwp *l)
UVMHIST_LOG(pmaphist, "lwp=%p (pid=%d)", l, l->l_proc->p_pid, 0, 0);
- /* Disable translation table walks using TTBR0 */
- tcr = reg_tcr_el1_read();
- reg_tcr_el1_write(tcr | TCR_EPD0);
- isb();
-
/* XXX: allocate asid, and regenerate if needed */
if (pm->pm_asid == -1)
pm->pm_asid = l->l_proc->p_pid;