Subject: CVS commit: [chris-arm-intr-rework] src/sys/arch/arm
To: None <source-changes@NetBSD.org>
From: Chris Gilbert <chris@netbsd.org>
List: source-changes
Date: 08/18/2007 23:45:46
Module Name:	src
Committed By:	chris
Date:		Sat Aug 18 23:45:46 UTC 2007

Modified Files:
	src/sys/arch/arm/arm [chris-arm-intr-rework]: arm_irqhandler.c
	src/sys/arch/arm/include [chris-arm-intr-rework]: arm_intr.h

Log Message:
Fix off by one issues when deciding if there are ipls which can be
processed from splx.

Don't lower the spl level in raisespl.

Correct test when scheduling a interrupt.

These issues were more noticable on slower (EB7500ATX) than on faster
(cats) hardware.  Particularly noticed when handling disk interrupts,
where disk interrupts were processed even when spl was splbio. They
should have been blocked till the next splx.  This was causing disk
timeouts.

Add futher diagnostic output from arm_intr_print_pending_irq_details.
Add some temporary code used to debug the problem. To be remove later.


To generate a diff of this commit:
cvs rdiff -r1.1.2.3 -r1.1.2.4 src/sys/arch/arm/arm/arm_irqhandler.c
cvs rdiff -r1.1.2.3 -r1.1.2.4 src/sys/arch/arm/include/arm_intr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.