mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: 2.6.9-rc2-mm4 - Getting dev->irq equals 0
@ 2004-10-01 22:40 Bjorn Helgaas
  0 siblings, 0 replies; 4+ messages in thread
From: Bjorn Helgaas @ 2004-10-01 22:40 UTC (permalink / raw)
  To: Sy, Dely L; +Cc: linux-kernel

> I encountered a problem in running shpchp & pciehp drivers on
> 2.6.9-rc2-mm4 kernel.  With ACPI & MSI enabled in the kernel, I 
> got dev->irq properly for the hot-plug controllers.  With ACPI 
> enabled and MSI not-enabled in this kernel, I got dev->irq 
> equal 0 for the controllers. With the same options set in 
> 2.6.8.1 & 2.6.9-rc2, things worked fine on the same system.

Does it make any difference if you boot with "pci=routeirq"?
I haven't looked at MSI recently, but it's possible that's
sensitive to have all the IRQs programmed at boot-time.

If that does make a difference, please send me the output
of lspci and a dmesg.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: 2.6.9-rc2-mm4 - Getting dev->irq equals 0
@ 2004-10-04 19:16 Sy, Dely L
  0 siblings, 0 replies; 4+ messages in thread
From: Sy, Dely L @ 2004-10-04 19:16 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-kernel, Greg KH

On Friday, October 01, 2004 3:41 PM, Bjorn Helgaas wrote:
> > I encountered a problem in running shpchp & pciehp drivers on
> > 2.6.9-rc2-mm4 kernel.  With ACPI & MSI enabled in the kernel, I 
> > got dev->irq properly for the hot-plug controllers.  With ACPI 
> > enabled and MSI not-enabled in this kernel, I got dev->irq 
> > equal 0 for the controllers. With the same options set in 
> > 2.6.8.1 & 2.6.9-rc2, things worked fine on the same system.

> Does it make any difference if you boot with "pci=routeirq"?
> I haven't looked at MSI recently, but it's possible that's
> sensitive to have all the IRQs programmed at boot-time.

Basically, the problem found was when I tried to use INTx mode 
for hot-plug controllers in ACPI enabled kernel.  I don't think 
this is related to MSI; the way I stated in the original email 
was not clear.  

I tried to boot with "pci=routeirq" and I got proper dev->irq for 
the hot-plug controllers. This tells me that my hot-plug drivers 
need to call pci_enable_device(), correct?
  
> If that does make a difference, please send me the output
> of lspci and a dmesg.

I will send them to you.

Thanks,
Dely


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.9-rc2-mm4 - Getting dev->irq equals 0
  2004-10-01 17:10 Sy, Dely L
@ 2004-10-01 19:14 ` Andrew Morton
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Morton @ 2004-10-01 19:14 UTC (permalink / raw)
  To: Sy, Dely L; +Cc: linux-kernel

"Sy, Dely L" <dely.l.sy@intel.com> wrote:
>
> Andrew,
> 
> I encountered a problem in running shpchp & pciehp drivers on
> 2.6.9-rc2-mm4 kernel.  With ACPI & MSI enabled in the kernel, I 
> got dev->irq properly for the hot-plug controllers.  With ACPI 
> enabled and MSI not-enabled in this kernel, I got dev->irq 
> equal 0 for the controllers. With the same options set in 
> 2.6.8.1 & 2.6.9-rc2, things worked fine on the same system.
> 
> Do you know of any changes in the -mm4 that might have caused this
> problem?

Sorry, no, I cannot suggest where the problem lies.  Possibly
bk-acpi.patch, but that's quite small at present.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* 2.6.9-rc2-mm4 - Getting dev->irq equals 0
@ 2004-10-01 17:10 Sy, Dely L
  2004-10-01 19:14 ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Sy, Dely L @ 2004-10-01 17:10 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

Andrew,

I encountered a problem in running shpchp & pciehp drivers on
2.6.9-rc2-mm4 kernel.  With ACPI & MSI enabled in the kernel, I 
got dev->irq properly for the hot-plug controllers.  With ACPI 
enabled and MSI not-enabled in this kernel, I got dev->irq 
equal 0 for the controllers. With the same options set in 
2.6.8.1 & 2.6.9-rc2, things worked fine on the same system.

Do you know of any changes in the -mm4 that might have caused this
problem?

Thanks,
Dely

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-10-04 19:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-01 22:40 2.6.9-rc2-mm4 - Getting dev->irq equals 0 Bjorn Helgaas
  -- strict thread matches above, loose matches on Subject: below --
2004-10-04 19:16 Sy, Dely L
2004-10-01 17:10 Sy, Dely L
2004-10-01 19:14 ` Andrew Morton

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

all inboxes | Powered by JetHome®