Module Name:    src
Committed By:   ad
Date:           Sun Mar 22 17:33:59 UTC 2020

Modified Files:
        src/sys/arch/hppa/include: types.h
        src/sys/arch/mips/include: types.h
        src/sys/arch/powerpc/include: types.h
        src/sys/arch/riscv/include: types.h

Log Message:
Temporarily mark hppa, mips, powerpc and riscv with __HAVE_UNLOCKED_PMAP,
for the benefit of UVM.

These need some pmap changes to support concurrent faults on the same
object.  I have changes to do just that, but they're a work in progress.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/hppa/include/types.h
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/mips/include/types.h
cvs rdiff -u -r1.60 -r1.61 src/sys/arch/powerpc/include/types.h
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/riscv/include/types.h

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/hppa/include/types.h
diff -u src/sys/arch/hppa/include/types.h:1.26 src/sys/arch/hppa/include/types.h:1.27
--- src/sys/arch/hppa/include/types.h:1.26	Sat Jan 23 22:31:19 2016
+++ src/sys/arch/hppa/include/types.h	Sun Mar 22 17:33:58 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: types.h,v 1.26 2016/01/23 22:31:19 christos Exp $	*/
+/*	$NetBSD: types.h,v 1.27 2020/03/22 17:33:58 ad Exp $	*/
 
 /*	$OpenBSD: types.h,v 1.6 2001/08/11 01:58:34 art Exp $	*/
 
@@ -103,4 +103,7 @@ extern const char __CONCAT(name,_ras_sta
 #define	__HAVE_MM_MD_DIRECT_MAPPED_PHYS
 #define	__HAVE_MM_MD_KERNACC
 
+/* XXX temporary */
+#define	__HAVE_UNLOCKED_PMAP
+
 #endif	/* _HPPA_TYPES_H_ */

Index: src/sys/arch/mips/include/types.h
diff -u src/sys/arch/mips/include/types.h:1.68 src/sys/arch/mips/include/types.h:1.69
--- src/sys/arch/mips/include/types.h:1.68	Sat Apr  6 03:06:26 2019
+++ src/sys/arch/mips/include/types.h	Sun Mar 22 17:33:58 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: types.h,v 1.68 2019/04/06 03:06:26 thorpej Exp $	*/
+/*	$NetBSD: types.h,v 1.69 2020/03/22 17:33:58 ad Exp $	*/
 
 /*-
  * Copyright (c) 1992, 1993
@@ -176,4 +176,7 @@ typedef __uint32_t tlb_asid_t;
 #define	__HAVE_MM_MD_KERNACC
 #define	__HAVE_MM_MD_CACHE_ALIASING
 
+/* XXX temporary */
+#define	__HAVE_UNLOCKED_PMAP
+
 #endif	/* _MIPS_TYPES_H_ */

Index: src/sys/arch/powerpc/include/types.h
diff -u src/sys/arch/powerpc/include/types.h:1.60 src/sys/arch/powerpc/include/types.h:1.61
--- src/sys/arch/powerpc/include/types.h:1.60	Fri Dec  6 06:38:39 2019
+++ src/sys/arch/powerpc/include/types.h	Sun Mar 22 17:33:58 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: types.h,v 1.60 2019/12/06 06:38:39 mrg Exp $	*/
+/*	$NetBSD: types.h,v 1.61 2020/03/22 17:33:58 ad Exp $	*/
 
 /*-
  * Copyright (C) 1995 Wolfgang Solfrank.
@@ -103,4 +103,7 @@ typedef __uint32_t tlb_asid_t;		/* for b
 #define	__HAVE_RAS
 #endif
 
+/* XXX temporary */
+#define	__HAVE_UNLOCKED_PMAP
+
 #endif	/* _POWERPC_TYPES_H_ */

Index: src/sys/arch/riscv/include/types.h
diff -u src/sys/arch/riscv/include/types.h:1.8 src/sys/arch/riscv/include/types.h:1.9
--- src/sys/arch/riscv/include/types.h:1.8	Sat Mar 14 16:12:16 2020
+++ src/sys/arch/riscv/include/types.h	Sun Mar 22 17:33:59 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.8 2020/03/14 16:12:16 skrll Exp $ */
+/* $NetBSD: types.h,v 1.9 2020/03/22 17:33:59 ad Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -107,4 +107,7 @@ typedef __int32_t	__register_t;
 #define PCU_UNIT_COUNT	1
 #endif
 
+/* XXX temporary */
+#define	__HAVE_UNLOCKED_PMAP
+
 #endif	/* _RISCV_TYPES_H_ */

Reply via email to