Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/booke Revert previous; tmpfs should be fixe...



details:   https://anonhg.NetBSD.org/src/rev/9b91e283709b
branches:  trunk
changeset: 973673:9b91e283709b
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Jul 07 00:59:29 2020 +0000

description:
Revert previous; tmpfs should be fixed instead.

Pointed out by thorpej@, thanks!

diffstat:

 sys/arch/powerpc/booke/e500_tlb.c |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (32 lines):

diff -r 3d653778a0d3 -r 9b91e283709b sys/arch/powerpc/booke/e500_tlb.c
--- a/sys/arch/powerpc/booke/e500_tlb.c Tue Jul 07 00:49:09 2020 +0000
+++ b/sys/arch/powerpc/booke/e500_tlb.c Tue Jul 07 00:59:29 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: e500_tlb.c,v 1.22 2020/07/07 00:28:30 rin Exp $        */
+/*     $NetBSD: e500_tlb.c,v 1.23 2020/07/07 00:59:29 rin Exp $        */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -37,7 +37,7 @@
 #define        __PMAP_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: e500_tlb.c,v 1.22 2020/07/07 00:28:30 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: e500_tlb.c,v 1.23 2020/07/07 00:59:29 rin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_multiprocessor.h"
@@ -536,13 +536,6 @@
 static bool
 e500_tlb_update_addr(vaddr_t va, tlb_asid_t asid, pt_entry_t pte, bool insert)
 {
-
-       /*
-        * In case where pmap_kenter_pa(9) is called for va with page offset.
-        * Required for tmpfs.
-        */
-       va &= ~PAGE_MASK;
-
 #if defined(MULTIPROCESSOR)
        e500_tlb_invalidate_addr(va, asid);
        return true;



Home | Main Index | Thread Index | Old Index