Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch PMAP_DEBUG has been deleted on arm
details: https://anonhg.NetBSD.org/src/rev/66385385af80
branches: trunk
changeset: 971214:66385385af80
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Apr 18 11:00:37 2020 +0000
description:
PMAP_DEBUG has been deleted on arm
diffstat:
sys/arch/aarch64/aarch64/pmap.c | 5 +-
sys/arch/aarch64/conf/files.aarch64 | 5 +--
sys/arch/acorn32/acorn32/rpc_machdep.c | 19 +++-------
sys/arch/acorn32/conf/EB7500ATX | 6 +-
sys/arch/acorn32/conf/GENERIC | 6 +-
sys/arch/acorn32/conf/INSTALL | 6 +-
sys/arch/acorn32/conf/LOWMEM_WSCONS | 4 +-
sys/arch/acorn32/conf/NC | 4 +-
sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c | 19 +++-------
sys/arch/arm/arm32/arm32_machdep.c | 12 +-----
sys/arch/arm/arm32/vm_machdep.c | 44 ++++++++++-------------
sys/arch/arm/at91/at91bus.c | 9 +---
sys/arch/arm/conf/files.arm | 5 +--
sys/arch/arm/include/arm32/pmap.h | 4 +-
sys/arch/cats/cats/cats_machdep.c | 11 +----
sys/arch/cats/conf/GENERIC | 3 +-
sys/arch/cats/conf/INSTALL | 4 +-
sys/arch/evbarm/adi_brh/brh_machdep.c | 9 +---
sys/arch/evbarm/armadillo/armadillo9_machdep.c | 9 +---
sys/arch/evbarm/conf/ADI_BRH | 4 +-
sys/arch/evbarm/conf/ARMADAXP | 5 +-
sys/arch/evbarm/conf/ARMADILLO-IOT-G3 | 4 +-
sys/arch/evbarm/conf/ARMADILLO210 | 4 +-
sys/arch/evbarm/conf/ARMADILLO9 | 4 +-
sys/arch/evbarm/conf/BCM5301X | 5 +-
sys/arch/evbarm/conf/BCM56340 | 5 +-
sys/arch/evbarm/conf/CP3100 | 4 +-
sys/arch/evbarm/conf/CUBOX | 4 +-
sys/arch/evbarm/conf/CUBOX-I | 4 +-
sys/arch/evbarm/conf/DNS323 | 4 +-
sys/arch/evbarm/conf/DUOVERO | 4 +-
sys/arch/evbarm/conf/GEMINI | 4 +-
sys/arch/evbarm/conf/GEMINI_MASTER | 3 +-
sys/arch/evbarm/conf/GEMINI_SLAVE | 3 +-
sys/arch/evbarm/conf/GENERIC | 4 +-
sys/arch/evbarm/conf/GENERIC.common | 4 +-
sys/arch/evbarm/conf/GENERIC64 | 5 +-
sys/arch/evbarm/conf/GUMSTIX | 4 +-
sys/arch/evbarm/conf/HDL_G | 4 +-
sys/arch/evbarm/conf/HPT5325 | 4 +-
sys/arch/evbarm/conf/HUMMINGBOARD | 3 +-
sys/arch/evbarm/conf/IMX | 6 +-
sys/arch/evbarm/conf/IMX31LITE | 4 +-
sys/arch/evbarm/conf/IMX6UL-STARTER | 4 +-
sys/arch/evbarm/conf/INTEGRATOR | 4 +-
sys/arch/evbarm/conf/INTEGRATOR_CP | 4 +-
sys/arch/evbarm/conf/IQ31244 | 4 +-
sys/arch/evbarm/conf/IQ80310 | 4 +-
sys/arch/evbarm/conf/IQ80321 | 4 +-
sys/arch/evbarm/conf/IXDP425 | 4 +-
sys/arch/evbarm/conf/IXM1200 | 4 +-
sys/arch/evbarm/conf/IYONIX | 6 +-
sys/arch/evbarm/conf/KOBO | 4 +-
sys/arch/evbarm/conf/KUROBOX_PRO | 4 +-
sys/arch/evbarm/conf/KURONAS_X4 | 4 +-
sys/arch/evbarm/conf/LUBBOCK | 2 +-
sys/arch/evbarm/conf/MARVELL_NAS | 4 +-
sys/arch/evbarm/conf/MINI2440 | 4 +-
sys/arch/evbarm/conf/N900 | 5 +-
sys/arch/evbarm/conf/NAPPI | 4 +-
sys/arch/evbarm/conf/NETWALKER | 3 +-
sys/arch/evbarm/conf/NSLU2 | 4 +-
sys/arch/evbarm/conf/OMAP5EVM | 5 +-
sys/arch/evbarm/conf/OPENBLOCKS_A6 | 4 +-
sys/arch/evbarm/conf/OPENBLOCKS_AX3 | 4 +-
sys/arch/evbarm/conf/OSK5912 | 3 +-
sys/arch/evbarm/conf/PANDABOARD | 5 +-
sys/arch/evbarm/conf/PARALLELLA | 3 +-
sys/arch/evbarm/conf/PEPPER | 4 +-
sys/arch/evbarm/conf/RPI | 3 +-
sys/arch/evbarm/conf/SHEEVAPLUG | 4 +-
sys/arch/evbarm/conf/SMDK2410 | 4 +-
sys/arch/evbarm/conf/SMDK2800 | 4 +-
sys/arch/evbarm/conf/TEAMASA_NPWR | 4 +-
sys/arch/evbarm/conf/TEAMASA_NPWR_FC | 4 +-
sys/arch/evbarm/conf/TISDP2420 | 5 +-
sys/arch/evbarm/conf/TISDP2430 | 5 +-
sys/arch/evbarm/conf/TS7200 | 4 +-
sys/arch/evbarm/conf/TWINTAIL | 4 +-
sys/arch/evbarm/conf/VIPER | 4 +-
sys/arch/evbarm/conf/VIRT | 4 +-
sys/arch/evbarm/conf/VTC100 | 5 +-
sys/arch/evbarm/conf/ZAO425 | 4 +-
sys/arch/evbarm/conf/ZEDBOARD | 3 +-
sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c | 7 +---
sys/arch/evbarm/gumstix/gumstix_machdep.c | 3 +-
sys/arch/evbarm/hdl_g/hdlg_machdep.c | 9 +---
sys/arch/evbarm/imx31/imx31lk_machdep.c | 9 +---
sys/arch/evbarm/integrator/integrator_machdep.c | 5 +-
sys/arch/evbarm/iq80310/iq80310_machdep.c | 9 +---
sys/arch/evbarm/iq80321/iq80321_machdep.c | 9 +---
sys/arch/evbarm/ixdp425/ixdp425_machdep.c | 9 +---
sys/arch/evbarm/ixm1200/ixm1200_machdep.c | 22 +++--------
sys/arch/evbarm/iyonix/iyonix_machdep.c | 9 +---
sys/arch/evbarm/lubbock/lubbock_machdep.c | 9 +---
sys/arch/evbarm/mini2440/mini2440_machdep.c | 7 +---
sys/arch/evbarm/mmnet/mmnet_machdep.c | 7 +--
sys/arch/evbarm/mpcsa/mpcsa_machdep.c | 7 +--
sys/arch/evbarm/npwr_fc/npwr_fc_machdep.c | 9 +---
sys/arch/evbarm/nslu2/nslu2_machdep.c | 9 +---
sys/arch/evbarm/smdk2xx0/smdk2410_machdep.c | 9 +---
sys/arch/evbarm/smdk2xx0/smdk2800_machdep.c | 9 +---
sys/arch/evbarm/tsarm/tsarm_machdep.c | 9 +---
sys/arch/evbarm/viper/viper_machdep.c | 9 +---
sys/arch/hpcarm/conf/IPAQ | 4 +-
sys/arch/hpcarm/conf/JORNADA720 | 6 +-
sys/arch/hpcarm/conf/JORNADA820 | 6 +-
sys/arch/hpcarm/conf/NETBOOKPRO | 6 +-
sys/arch/hpcarm/conf/WZERO3 | 6 +-
sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c | 18 +++------
sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c | 18 +++------
sys/arch/iyonix/conf/GENERIC | 6 +-
sys/arch/iyonix/iyonix/iyonix_machdep.c | 9 +---
sys/arch/netwinder/conf/GENERIC | 4 +-
sys/arch/netwinder/netwinder/netwinder_machdep.c | 9 +---
sys/arch/shark/conf/GENERIC | 6 +-
sys/arch/shark/conf/INSTALL | 4 +-
sys/arch/zaurus/zaurus/machdep.c | 9 +---
118 files changed, 269 insertions(+), 465 deletions(-)
diffs (truncated from 2979 to 300 lines):
diff -r 5f3f9ff73388 -r 66385385af80 sys/arch/aarch64/aarch64/pmap.c
--- a/sys/arch/aarch64/aarch64/pmap.c Sat Apr 18 10:55:43 2020 +0000
+++ b/sys/arch/aarch64/aarch64/pmap.c Sat Apr 18 11:00:37 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.70 2020/04/13 05:40:25 maxv Exp $ */
+/* $NetBSD: pmap.c,v 1.71 2020/04/18 11:00:37 skrll Exp $ */
/*
* Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.70 2020/04/13 05:40:25 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.71 2020/04/18 11:00:37 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_ddb.h"
@@ -56,7 +56,6 @@
#include <ddb/db_access.h>
#endif
-//#define PMAP_DEBUG
//#define PMAP_PV_DEBUG
#ifdef VERBOSE_INIT_ARM
diff -r 5f3f9ff73388 -r 66385385af80 sys/arch/aarch64/conf/files.aarch64
--- a/sys/arch/aarch64/conf/files.aarch64 Sat Apr 18 10:55:43 2020 +0000
+++ b/sys/arch/aarch64/conf/files.aarch64 Sat Apr 18 11:00:37 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.aarch64,v 1.21 2020/04/13 07:09:50 maxv Exp $
+# $NetBSD: files.aarch64,v 1.22 2020/04/18 11:00:37 skrll Exp $
defflag opt_cpuoptions.h AARCH64_ALIGNMENT_CHECK
defflag opt_cpuoptions.h AARCH64_EL0_STACK_ALIGNMENT_CHECK
@@ -48,9 +48,6 @@
defflag opt_efi.h EFI_RUNTIME
file arch/arm/arm/efi_runtime.c efi_runtime
-# PMAP_DEBUG (heavily abused option)
-defflag PMAP_DEBUG
-
# PMAP options
defflag opt_pmap.h PMAPHIST : KERNHIST
defflag opt_pmap.h PMAPCOUNTERS PMAP_STEAL_MEMORY
diff -r 5f3f9ff73388 -r 66385385af80 sys/arch/acorn32/acorn32/rpc_machdep.c
--- a/sys/arch/acorn32/acorn32/rpc_machdep.c Sat Apr 18 10:55:43 2020 +0000
+++ b/sys/arch/acorn32/acorn32/rpc_machdep.c Sat Apr 18 11:00:37 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpc_machdep.c,v 1.97 2020/04/18 10:55:43 skrll Exp $ */
+/* $NetBSD: rpc_machdep.c,v 1.98 2020/04/18 11:00:37 skrll Exp $ */
/*
* Copyright (c) 2000-2002 Reinoud Zandijk.
@@ -49,13 +49,12 @@
#include "opt_ddb.h"
#include "opt_modular.h"
-#include "opt_pmap_debug.h"
#include "vidcvideo.h"
#include "podulebus.h"
#include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: rpc_machdep.c,v 1.97 2020/04/18 10:55:43 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rpc_machdep.c,v 1.98 2020/04/18 11:00:37 skrll Exp $");
#include <sys/systm.h>
#include <sys/kernel.h>
@@ -142,10 +141,6 @@
paddr_t msgbufphys;
-#ifdef PMAP_DEBUG
-extern int pmap_debug_level;
-#endif /* PMAP_DEBUG */
-
#define KERNEL_PT_VMEM 0 /* Page table for mapping video memory */
#define KERNEL_PT_SYS 1 /* Page table for mapping proc0 zero page */
#define KERNEL_PT_KERNEL 2 /* Page table for mapping kernel 0-4MB*/
@@ -417,7 +412,6 @@
/* if the wscons interface is used, switch off VERBOSE booting :( */
#if NVIDCVIDEO>0
# undef VERBOSE_INIT_ARM
-# undef PMAP_DEBUG
#endif
/*
@@ -873,11 +867,10 @@
abtstack.pv_va + ABT_STACK_SIZE * PAGE_SIZE);
set_stackptr(PSR_UND32_MODE,
undstack.pv_va + UND_STACK_SIZE * PAGE_SIZE);
-#ifdef PMAP_DEBUG
- if (pmap_debug_level >= 0)
- printf("kstack V%08lx P%08lx\n", kernelstack.pv_va,
- kernelstack.pv_pa);
-#endif /* PMAP_DEBUG */
+#ifdef VERBOSE_INIT_ARM
+ printf("kstack V%08lx P%08lx\n", kernelstack.pv_va,
+ kernelstack.pv_pa);
+#endif /* VERBOSE_INIT_ARM */
/*
* Well we should set a data abort handler.
diff -r 5f3f9ff73388 -r 66385385af80 sys/arch/acorn32/conf/EB7500ATX
--- a/sys/arch/acorn32/conf/EB7500ATX Sat Apr 18 10:55:43 2020 +0000
+++ b/sys/arch/acorn32/conf/EB7500ATX Sat Apr 18 11:00:37 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: EB7500ATX,v 1.70 2020/04/18 10:55:43 skrll Exp $
+# $NetBSD: EB7500ATX,v 1.71 2020/04/18 11:00:37 skrll Exp $
#
# EB7500ATX --- NetBSD/acorn32 complete configuration
#
@@ -22,7 +22,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "EB7500ATX-$Revision: 1.70 $"
+#ident "EB7500ATX-$Revision: 1.71 $"
# estimated number of users
maxusers 32
@@ -133,7 +133,7 @@
#options ARM700BUGTRACK # track the ARM700 swi bug
#options PORTMASTER # Enable PortMaster only options
options DIAGNOSTIC # internal consistency checks
-#options PMAP_DEBUG # Enable pmap_debug_level code
+#options UVMHIST # kernhist for uvm/pmap subsystems
options DDB # in-kernel debugger
#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
#makeoptions DEBUG="-g" # compile full symbol table
diff -r 5f3f9ff73388 -r 66385385af80 sys/arch/acorn32/conf/GENERIC
--- a/sys/arch/acorn32/conf/GENERIC Sat Apr 18 10:55:43 2020 +0000
+++ b/sys/arch/acorn32/conf/GENERIC Sat Apr 18 11:00:37 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.130 2020/01/19 01:25:03 thorpej Exp $
+# $NetBSD: GENERIC,v 1.131 2020/04/18 11:00:37 skrll Exp $
#
# GENERIC --- NetBSD/acorn32 complete configuration
#
@@ -22,7 +22,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.130 $"
+#ident "GENERIC-$Revision: 1.131 $"
# estimated number of users
maxusers 32
@@ -138,7 +138,7 @@
#options ARM700BUGTRACK # track the ARM700 swi bug
#options PORTMASTER # Enable PortMaster only options
#options DIAGNOSTIC # internal consistency checks
-#options PMAP_DEBUG # Enable pmap_debug_level code
+#options UVMHIST #
options DDB # in-kernel debugger
#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
#makeoptions DEBUG="-g" # compile full symbol table
diff -r 5f3f9ff73388 -r 66385385af80 sys/arch/acorn32/conf/INSTALL
--- a/sys/arch/acorn32/conf/INSTALL Sat Apr 18 10:55:43 2020 +0000
+++ b/sys/arch/acorn32/conf/INSTALL Sat Apr 18 11:00:37 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.84 2020/01/19 01:25:03 thorpej Exp $
+# $NetBSD: INSTALL,v 1.85 2020/04/18 11:00:37 skrll Exp $
#
# INSTALL -- NetBSD/acorn32 install configuration
#
@@ -22,7 +22,7 @@
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "INSTALL-$Revision: 1.84 $"
+#ident "INSTALL-$Revision: 1.85 $"
# estimated number of users
maxusers 32
@@ -119,7 +119,7 @@
#options ARM700BUGTRACK # track the ARM700 swi bug
#options PORTMASTER # Enable PortMaster only options
options DIAGNOSTIC # internal consistency checks
-#options PMAP_DEBUG # Enable pmap_debug_level code
+#options UVMHIST # kernhist for uvm/pmap subsystems
options DDB # in-kernel debugger
pseudo-device ksyms
#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
diff -r 5f3f9ff73388 -r 66385385af80 sys/arch/acorn32/conf/LOWMEM_WSCONS
--- a/sys/arch/acorn32/conf/LOWMEM_WSCONS Sat Apr 18 10:55:43 2020 +0000
+++ b/sys/arch/acorn32/conf/LOWMEM_WSCONS Sat Apr 18 11:00:37 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: LOWMEM_WSCONS,v 1.76 2020/01/19 01:25:03 thorpej Exp $
+# $NetBSD: LOWMEM_WSCONS,v 1.77 2020/04/18 11:00:37 skrll Exp $
#
# LOWMEM_WSCONS -- RiscPC config with wscons for SMALL machines
#
@@ -97,7 +97,7 @@
#options ARM700BUGTRACK # track the ARM700 swi bug
#options PORTMASTER # Enable PortMaster only options
#options DIAGNOSTIC # internal consistency checks
-#options PMAP_DEBUG # Enable pmap_debug_level code
+#options UVMHIST # kernhist for uvm/pmap subsystems
#options DDB # in-kernel debugger
#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
#makeoptions DEBUG="-g" # compile full symbol table
diff -r 5f3f9ff73388 -r 66385385af80 sys/arch/acorn32/conf/NC
--- a/sys/arch/acorn32/conf/NC Sat Apr 18 10:55:43 2020 +0000
+++ b/sys/arch/acorn32/conf/NC Sat Apr 18 11:00:37 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: NC,v 1.77 2020/03/25 17:06:17 jdolecek Exp $
+# $NetBSD: NC,v 1.78 2020/04/18 11:00:37 skrll Exp $
#
# NC - with wscons
#
@@ -90,7 +90,7 @@
#options ARM700BUGTRACK # track the ARM700 swi bug
#options PORTMASTER # Enable PortMaster only options
options DIAGNOSTIC # internal consistency checks
-#options PMAP_DEBUG # Enable pmap_debug_level code
+#options UVMHIST # kernhist for uvm/pmap subsystems
options DDB # in-kernel debugger
pseudo-device ksyms
options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
diff -r 5f3f9ff73388 -r 66385385af80 sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c
--- a/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c Sat Apr 18 10:55:43 2020 +0000
+++ b/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c Sat Apr 18 11:00:37 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: eb7500atx_machdep.c,v 1.33 2020/04/18 10:55:43 skrll Exp $ */
+/* $NetBSD: eb7500atx_machdep.c,v 1.34 2020/04/18 11:00:37 skrll Exp $ */
/*
* Copyright (c) 2000-2002 Reinoud Zandijk.
@@ -49,13 +49,12 @@
#include "opt_ddb.h"
#include "opt_modular.h"
-#include "opt_pmap_debug.h"
#include "vidcvideo.h"
#include "pckbc.h"
#include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: eb7500atx_machdep.c,v 1.33 2020/04/18 10:55:43 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: eb7500atx_machdep.c,v 1.34 2020/04/18 11:00:37 skrll Exp $");
#include <sys/systm.h>
#include <sys/kernel.h>
@@ -148,10 +147,6 @@
paddr_t msgbufphys;
-#ifdef PMAP_DEBUG
-extern int pmap_debug_level;
-#endif /* PMAP_DEBUG */
-
#define KERNEL_PT_VMEM 0 /* Page table for mapping video memory */
#define KERNEL_PT_SYS 1 /* Page table for mapping proc0 zero page */
#define KERNEL_PT_KERNEL 2 /* Page table for mapping kernel */
@@ -382,7 +377,6 @@
/* if the wscons interface is used, switch off VERBOSE booting :( */
#if NVIDCVIDEO>0
# undef VERBOSE_INIT_ARM
-# undef PMAP_DEBUG
#endif
/*
@@ -811,11 +805,10 @@
abtstack.pv_va + ABT_STACK_SIZE * PAGE_SIZE);
set_stackptr(PSR_UND32_MODE,
undstack.pv_va + UND_STACK_SIZE * PAGE_SIZE);
-#ifdef PMAP_DEBUG
- if (pmap_debug_level >= 0)
- printf("kstack V%08lx P%08lx\n", kernelstack.pv_va,
- kernelstack.pv_pa);
-#endif /* PMAP_DEBUG */
+#ifdef VERBOSE_INIT_ARM
+ printf("kstack V%08lx P%08lx\n", kernelstack.pv_va,
+ kernelstack.pv_pa);
+#endif /* VERBOSE_INIT_ARM */
/*
* Well we should set a data abort handler.
diff -r 5f3f9ff73388 -r 66385385af80 sys/arch/arm/arm32/arm32_machdep.c
--- a/sys/arch/arm/arm32/arm32_machdep.c Sat Apr 18 10:55:43 2020 +0000
+++ b/sys/arch/arm/arm32/arm32_machdep.c Sat Apr 18 11:00:37 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm32_machdep.c,v 1.132 2020/02/15 08:16:11 skrll Exp $ */
+/* $NetBSD: arm32_machdep.c,v 1.133 2020/04/18 11:00:37 skrll Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.132 2020/02/15 08:16:11 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.133 2020/04/18 11:00:37 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_arm_start.h"
@@ -50,7 +50,6 @@
#include "opt_modular.h"
Home |
Main Index |
Thread Index |
Old Index