[kernel] bug#130: iosapic allocs extra EIR bit for shared IRQ line


None


X-PA-RISC Linux-PR-Message: report 130
X-PA-RISC Linux-PR-Package: kernel
X-Loop: daniel_frazier@hp.com
Received: via spool by bugs@bugs.parisc-linux.org id=B.99031569918862
          (code B ref -1); Sat, 19 May 2001 23:48:01 GMT
Date: Sat, 19 May 2001 17:34:42 -0600
From: Grant Grundler <grundler@puffin.external.hp.com>
Message-Id: <200105192334.RAA07195@puffin.external.hp.com>
To: submit@bugs.parisc-linux.org


Package: kernel
Version: 200010519

One of the A500 IRQ lines is shared (#130 below).  The iosapic allocates
*another* EIR bit (#68) instead of using the existing EIR bit (#67) already
allocated to line two (IO-SAPIC00-L2).

Haven't tracked down the bug yet because it doesn't seem to cause
any harm (besides wasting EIR bits).

grant

(Igore the middle three numbers - prototype code for min/avg/max
 cyclecounts of each "irq action".)

grundler@gsyprf11:~$ cat /proc/interrupts 
            IRQ count 
 64:    5600708    660/   740/  6304       PA-CPU-00  timer
 65:     272044   3285/  5102/ 24355       PA-CPU-00  IO-SAPIC00-L0
 66:         30      0/   709/  6707       PA-CPU-00  IO-SAPIC00-L1
 67:          0      0/     0/     0       PA-CPU-00  IO-SAPIC00-L2
 68:         60      0/  1640/ 18089       PA-CPU-00  IO-SAPIC00-L2
 69:      19320   4114/  9050/ 33202       PA-CPU-00  IO-SAPIC00-L3
 70:         10      0/   439/ 14382       PA-CPU-00  IO-SAPIC00-L4
 71:          0      0/     0/     0       PA-CPU-00  IO-SAPIC00-L5
 72:          0      0/     0/     0       PA-CPU-00  IO-SAPIC01-L0
 73:        315   5957/  6768/ 12509       PA-CPU-00  IO-SAPIC02-L0
 74:          0      0/     0/     0       PA-CPU-00  IO-SAPIC02-L1
 75:          0      0/     0/     0       PA-CPU-00  IO-SAPIC02-L2
 76:          0      0/     0/     0       PA-CPU-00  IO-SAPIC02-L3
 77:         70      0/1924923/65678155       PA-CPU-00  IO-SAPIC03-L0
 78:         30      0/   693/  8152       PA-CPU-00  IO-SAPIC03-L1
128:     272044   3193/  4879/ 21878      IO-SAPIC00  eth0
129:         30      0/   698/  6517      IO-SAPIC00  sym53c8xx
130:         60      0/   824/ 16161      IO-SAPIC00  sym53c8xx, sym53c8xx
131:      19320   4030/  8649/ 30999      IO-SAPIC00  sym53c8xx
132:         10      0/   432/ 13772      IO-SAPIC00  serial
256:        315   5758/  6382/ 11331      IO-SAPIC02  eth1
320:         70      0/1924884/65678065      IO-SAPIC03  sym53c8xx
321:         30      0/   679/  7302      IO-SAPIC03  sym53c8xx