https://bugzilla.novell.com/show_bug.cgi?id=664210 https://bugzilla.novell.com/show_bug.cgi?id=664210#c8 Angela Bayley <amb@jb.man.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|amb@jb.man.ac.uk | --- Comment #8 from Angela Bayley <amb@jb.man.ac.uk> 2011-02-09 11:15:36 UTC --- (In reply to comment #7)
IRQ handler doesn't have pt_regs parameter anymore. What I don't understand is the return value 200092 reported in dmesg from comment #3. Did you change the irq handler return values/paths recently?
The bad return value seemed to have been caused by the ISR being entered immediately following request_irq. I didn't understand (still don't) how it could have exited the ISR without returning either IRQ_NONE or IRQ_HANDLED. The compiler warned that end of routine reached without return value. I concluded that somehow it 'dropped through' and added a catchall return (IRQ_NONE) at the end of the ISR which cured the bad returns. I also tightened up device handling to try and eliminate unexpected interrupts.
IRQF_DISABLED is nop and should not be used.
OK removed.
So if you use uni_dev->irq, does it work with ACPI and APICs enabled?
Well the answer is that interrupts now work on the XVME-690 Pentium with ACPI and APIC enabled (interrupt 20 - previously 10): 42ftctl:~ # cat /proc/interrupts CPU0 0: 97 IO-APIC-edge timer 1: 10 IO-APIC-edge i8042 2: 0 XT-PIC-XT cascade 3: 2 IO-APIC-edge 4: 4 IO-APIC-edge 8: 0 IO-APIC-edge rtc0 12: 103 IO-APIC-edge i8042 14: 37596 IO-APIC-edge ide0 15: 0 IO-APIC-edge ide1 16: 0 IO-APIC-fasteoi uhci_hcd:usb1 17: 253 IO-APIC-fasteoi Intel 6300ESB 18: 0 IO-APIC-fasteoi ata_piix 19: 0 IO-APIC-fasteoi uhci_hcd:usb2 20: 70603 IO-APIC-fasteoi XIP-2480 23: 0 IO-APIC-fasteoi ehci_hcd:usb3 24: 11048 IO-APIC-fasteoi eth0 NMI: 0 Non-maskable interrupts LOC: 584275 Local timer interrupts RES: 0 Rescheduling interrupts CAL: 0 function call interrupts TLB: 0 TLB shootdowns TRM: 0 Thermal event interrupts SPU: 0 Spurious interrupts ERR: 0 MIS: 0 but not on the XVME-6200 Intell Core Duo (interrupt 11): ltctl:~/Documents # cat /proc/interrupts CPU0 CPU1 0: 45 112070 IO-APIC-edge timer 1: 0 8 IO-APIC-edge i8042 3: 0 1 IO-APIC-edge 4: 0 2 IO-APIC-edge 6: 0 5 IO-APIC-edge floppy 7: 0 0 IO-APIC-edge parport0 8: 0 1 IO-APIC-edge rtc0 9: 0 0 IO-APIC-fasteoi acpi 11: 0 0 IO-APIC-edge XIP-2480 12: 0 121 IO-APIC-edge i8042 16: 0 0 IO-APIC-fasteoi uhci_hcd:usb2 18: 0 13099 IO-APIC-fasteoi ata_piix, ata_piix 19: 0 0 IO-APIC-fasteoi uhci_hcd:usb3 23: 0 0 IO-APIC-fasteoi ehci_hcd:usb1 48: 0 49636 PCI-MSI-edge eth0 49: 0 631 PCI-MSI-edge eth1 NMI: 0 0 Non-maskable interrupts LOC: 54325 14673 Local timer interrupts SPU: 0 0 Spurious interrupts CNT: 0 0 Performance counter interrupts PND: 0 0 Performance pending work RES: 15466 8110 Rescheduling interrupts CAL: 141 24 Function call interrupts TLB: 811 1005 TLB shootdowns TRM: 0 0 Thermal event interrupts THR: 0 0 Threshold APIC interrupts MCE: 0 0 Machine check exceptions MCP: 4 4 Machine check polls ERR: 1 MIS: 0 Note interrupt number 11 unchanged from previous value. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.