changeset 2181:2ec592593671

4979014 kdbe fails on Taco/Taco+ 6321477 Niagara error injector DAC storm test broken 6343361 Niagara L2 cache tests do not dirty lines in right place 6354315 cpu binding algorithm is broken in US3i/US3i+2 injector 6365557 add mtst option to force L2-cache linestate to clean or dirty 6365571 add mtst option to force the use of a user or a kernel allocated data buffer 6371203 update of the Niagara/sun4v error injector based on user comments and latest results 6372207 memtest_attach leaks 6376946 sun4v error injector needs to support Erie 2-channel DRAM mode 6382913 add option (-Q) to allow tests which pause_cpus() to not pause 6382917 add option (-S) to allow tests which disable HW scrubbers to not do this 6382925 add option (-i) to allow infinite injection mode for HW which supports such a mode 6382930 add option (-m) to allow the MISC (miscilaneous) arguments to be used with standard command syntax 6384772 Consolodate cpu pausing and preempt disable calls 6404180 error injector should inform users if sun4v hv trap is not available 6404436 add cpu offlining code to injector and make it the default action (instead of pausing) 6405236 pagesize assert in sun4v/os/error.c can be hit under normal operation 6405256 sun4v injector needs to set lock bit when installing RA->PA tte for cache displacement buffer
author ayznaga
date Mon, 12 Jun 2006 15:17:41 -0700
parents fb39cb4aa1cb
children 221c5b409327
files usr/src/uts/sun4v/os/error.c
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/sun4v/os/error.c	Mon Jun 12 14:14:31 2006 -0700
+++ b/usr/src/uts/sun4v/os/error.c	Mon Jun 12 15:17:41 2006 -0700
@@ -2,9 +2,8 @@
  * CDDL HEADER START
  *
  * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License").  You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
  *
  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  * or http://www.opensolaris.org/os/licensing.
@@ -585,7 +584,7 @@
 	if (pa == (uint64_t)-1)
 		return;
 
-	ASSERT((pa >> MMU_PAGESHIFT) == ((pa + len) >> MMU_PAGESHIFT));
+	ASSERT((pa >> MMU_PAGESHIFT) == ((pa + len - 1) >> MMU_PAGESHIFT));
 
 	length = len;
 	flushed = 0;