Linux ACPI
 help / color / mirror / Atom feed
* RE: 2.6.19-rc5 x86_64 irq 22: nobody cared
@ 2006-11-10  2:09 Lu, Yinghai
  2006-11-10  9:56 ` Olivier Nicolas
  0 siblings, 1 reply; 14+ messages in thread
From: Lu, Yinghai @ 2006-11-10  2:09 UTC (permalink / raw)
  To: Olivier Nicolas, Eric W. Biederman
  Cc: Adrian Bunk, Stephen Hemminger, Takashi Iwai, Jaroslav Kysela,
	linux-kernel, gregkh, linux-pci, len.brown, linux-acpi,
	Andrew Morton, Linus Torvalds

Eric,

Can you confirm:
>From 2.6.19-rc1, the irq for devices that using io-apic will not change
between pci=routeirq and not.

Olivier,
Can you send lspci -vvxxx for pci=routeirq too?

YH





^ permalink raw reply	[flat|nested] 14+ messages in thread
* RE: 2.6.19-rc5 x86_64 irq 22: nobody cared
@ 2006-11-10 20:22 Lu, Yinghai
  0 siblings, 0 replies; 14+ messages in thread
From: Lu, Yinghai @ 2006-11-10 20:22 UTC (permalink / raw)
  To: ebiederm
  Cc: Andi Kleen, Olivier Nicolas, Andrew Morton, Adrian Bunk,
	Stephen Hemminger, Takashi Iwai, Jaroslav Kysela, linux-kernel,
	gregkh, linux-pci, len.brown, linux-acpi, Linus Torvalds

-----Original Message-----
From: ebiederm@xmission.com [mailto:ebiederm@xmission.com] 

>YH.  This is a completely different problem.  The irq is properly setup
>and received but none of the drivers wanted it.

The irq  with ioapic are shared with sata2 and audio, and later the
audio driver get the irq, and then try to get MSI.

The MAC first shared irq (ioapic) with SATA and it later transfer to use
MSI without problem.

YH



^ permalink raw reply	[flat|nested] 14+ messages in thread
* RE: 2.6.19-rc5 x86_64 irq 22: nobody cared
@ 2006-11-10 20:16 Lu, Yinghai
  0 siblings, 0 replies; 14+ messages in thread
From: Lu, Yinghai @ 2006-11-10 20:16 UTC (permalink / raw)
  To: Andi Kleen, Olivier Nicolas, Eric W. Biederman, Andrew Morton
  Cc: Adrian Bunk, Stephen Hemminger, Takashi Iwai, Jaroslav Kysela,
	linux-kernel, gregkh, linux-pci, len.brown, linux-acpi,
	Linus Torvalds, Lu, Yinghai

That didn't fix the bug.



-----Original Message-----
From: Olivier Nicolas [mailto:olivn@trollprod.org] 
Sent: Friday, November 10, 2006 12:03 PM
To: Lu, Yinghai
Subject: Re: 2.6.19-rc5 x86_64 irq 22: nobody cared

Bad day today,

Kernel compiled with the first parch irq_mcp55.diff

and with the disable_msi option removed.



#options snd-hda-intel disable_msi=1


ACPI: PCI Interrupt Link [ASA2] enabled at IRQ 21
__assign_irq_vector: irq=15, vector=79, domain=000000ff, mask=00000003,
cpu_online_map=00000003
ACPI: PCI Interrupt 0000:00:0d.2[C] -> Link [ASA2] -> GSI 21 (level,
low) -> IRQ 21
PCI: Setting latency timer of device 0000:00:0d.2 to 64
ata5: SATA max UDMA/133 cmd 0xC400 ctl 0xC002 bmdma 0xB400 irq 21
ata6: SATA max UDMA/133 cmd 0xBC00 ctl 0xB802 bmdma 0xB408 irq 21

ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:0e.1[B] -> Link [AAZA] -> GSI 21 (level,
low) -> IRQ 21
__assign_irq_vector: irq=139, vector=91, domain=000000ff, mask=00000003,
cpu_online_map=00000003
__assign_irq_vector: irq=139, old_vector=91, domain=000000ff,
mask=00000003, cpu_online_map=00000003
PCI: Setting latency timer of device 0000:00:0e.1 to 64
irq 21: nobody cared (try booting with the "irqpoll" option)

Call Trace:
 <IRQ>  [<ffffffff8025a055>] __report_bad_irq+0x35/0x90
 [<ffffffff8025a2d3>] note_interrupt+0x223/0x280
 [<ffffffff8025ad41>] handle_fasteoi_irq+0xb1/0xf0
 [<ffffffff8020b17c>] call_softirq+0x1c/0x30
 [<ffffffff8020d1ba>] do_IRQ+0x8a/0xe0
 [<ffffffff802092f0>] default_idle+0x0/0x50
 [<ffffffff8020a571>] ret_from_intr+0x0/0xa
 <EOI>  [<ffffffff80209319>] default_idle+0x29/0x50
 [<ffffffff8020939b>] cpu_idle+0x5b/0x80
 [<ffffffff8050039c>] start_secondary+0x50c/0x520

handlers:
[<ffffffff8807f150>] (nv_generic_interrupt+0x0/0xc0 [sata_nv])
Disabling IRQ #21
ALSA sound/pci/hda/hda_intel.c:543: hda_intel: No response from codec,
disabling MSI...

So kernl assign irq 21 to sata2, and later share irq 21 with audio.

But audio get MSI, and at that time, it may do sth bad to irq21 that it
is still shared with SATA2.

YH




^ permalink raw reply	[flat|nested] 14+ messages in thread
* RE: 2.6.19-rc5 x86_64 irq 22: nobody cared
@ 2006-11-10 18:20 Lu, Yinghai
  2006-11-10 20:11 ` Eric W. Biederman
  0 siblings, 1 reply; 14+ messages in thread
From: Lu, Yinghai @ 2006-11-10 18:20 UTC (permalink / raw)
  To: Andi Kleen, Olivier Nicolas, Eric W. Biederman, Andrew Morton
  Cc: Adrian Bunk, Stephen Hemminger, Takashi Iwai, Jaroslav Kysela,
	linux-kernel, gregkh, linux-pci, len.brown, linux-acpi,
	Linus Torvalds


Andi,

The two patches solve the problems that irq nobody care.

They are already in your tree. But first one I wonder if you put correct
one in your tree.


YH

[PATCH] x86_64 irq: reuse vector for __assign_irq_vector 
http://lkml.org/lkml/2006/10/26/38
[PATCH] x86_64 irq: reset more to default when clear irq_vector for
destroy_irq
http://lkml.org/lkml/2006/10/28/16




^ permalink raw reply	[flat|nested] 14+ messages in thread
* RE: 2.6.19-rc5 x86_64 irq 22: nobody cared
@ 2006-11-09 21:03 Lu, Yinghai
  0 siblings, 0 replies; 14+ messages in thread
From: Lu, Yinghai @ 2006-11-09 21:03 UTC (permalink / raw)
  To: Olivier Nicolas
  Cc: Adrian Bunk, Stephen Hemminger, Takashi Iwai, Jaroslav Kysela,
	linux-kernel, alsa-devel, gregkh, linux-pci, len.brown,
	linux-acpi, Eric W. Biederman, Andrew Morton, Linus Torvalds


           CPU0       CPU1       
  0:        214      24856   IO-APIC-edge      timer
  1:          0        359   IO-APIC-edge      i8042
  6:          0          5   IO-APIC-edge      floppy
  8:          0          0   IO-APIC-edge      rtc
  9:          0          0   IO-APIC-fasteoi   acpi
 12:          0        103   IO-APIC-edge      i8042
 14:          0        128   IO-APIC-edge      ide0
 16:          0          0   IO-APIC-fasteoi   libata
 17:          1          2   IO-APIC-fasteoi   bttv0
 20:         22       6469   IO-APIC-fasteoi   libata
 21:         11      99989   IO-APIC-fasteoi   ehci_hcd:usb2, HDA Intel
 22:          0          1   IO-APIC-fasteoi   libata, ohci_hcd:usb1
 23:          0          0   IO-APIC-fasteoi   libata
308:          8       2378   PCI-MSI-edge      eth1
309:          0          9   PCI-MSI-edge      eth1
310:          0          9   PCI-MSI-edge      eth1
311:          4       2401   PCI-MSI-edge      eth0
312:          0          0   PCI-MSI-edge      eth0
313:          0          1   PCI-MSI-edge      eth0
NMI:         74         47 
LOC:      25024      24991 
ERR:          0

But according to the irq router in pci conf, 
the ehci and audio share to use irq 20.
sata0 and ohci use irq 23
sata1 use irq 22, (MAC1 share it but kernel will use MSI)
sata2 use irq 21, (MAC0 share it but kernel will use MSI)

the ACPI report wrong GSI for them?

Can you disable the acpi and check the interrupt and lspci?

YH





^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <4551D12D.4010304@trollprod.org>]

end of thread, other threads:[~2006-11-10 20:23 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-10  2:09 2.6.19-rc5 x86_64 irq 22: nobody cared Lu, Yinghai
2006-11-10  9:56 ` Olivier Nicolas
  -- strict thread matches above, loose matches on Subject: below --
2006-11-10 20:22 Lu, Yinghai
2006-11-10 20:16 Lu, Yinghai
2006-11-10 18:20 Lu, Yinghai
2006-11-10 20:11 ` Eric W. Biederman
2006-11-09 21:03 Lu, Yinghai
     [not found] <4551D12D.4010304@trollprod.org>
2006-11-09  6:49 ` Adrian Bunk
2006-11-09  7:55   ` Yinghai Lu
2006-11-09  9:29     ` Olivier Nicolas
2006-11-09 10:38   ` Takashi Iwai
2006-11-09 16:08     ` Olivier Nicolas
2006-11-09 16:49   ` Stephen Hemminger
2006-11-09 17:12     ` Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox