Skip to contentSkip to conversation

cpqphp and IOAPIC

DISCUSSION Olivier Cremel 3 participants 3 messages Jul 21, 2003 – Jul 22, 2003

lore
Share & tools
lore
#0 lore raw

It seems that cpqphp only works if the
machine is using PIC mode due to
the way cpqhp_set_irq() invokes the PCI BIOS.

Is it on purpose ? How to use cpqphp
on a machine using IOAPIC (SMP namely) ?

Thanks.

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 6 lines · Olivier Cremel

It seems that cpqphp only works if the machine is using PIC mode due to
the way cpqhp_set_irq() invokes the PCI BIOS.

Is it on purpose ? How to use cpqphp on a machine using IOAPIC (SMP namely) ?

Do you have such a machine? What are the errors that happen when you try to add a new pci card?

I've been curious at times about some of the irq assignment logic in that driver, as it doesn't seem that some of the more complex conditions are handled properly, but I haven't seen any failures in testing on the hardware I have access to.

Oh, and there is a pci hotplug development mailing list, which is probably much better place for this topic.

thanks,

greg k-h

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Olivier Cremel
Quoted 8 lines · Greg KH
Quoted 6 lines · Olivier Cremel

It seems that cpqphp only works if the machine is using PIC mode due to
the way cpqhp_set_irq() invokes the PCI BIOS.

Is it on purpose ? How to use cpqphp on a machine using IOAPIC (SMP namely) ?

Quoted 7 lines

Do you have such a machine? What are the errors that happen when you try to add a new pci card?

I've been curious at times about some of the irq assignment logic in that driver, as it doesn't seem that some of the more complex conditions are handled properly, but I haven't seen any failures in testing on the hardware I have access to.

I don't know about cpqhp (it's been a while since I looked at it), but I've had to do some hacking to get interrupt assignment working with CompactPCI system master boards that have IO-APICs. I'll probably float a patch out after OLS.

Quoted 2 lines

Oh, and there is a pci hotplug development mailing list, which is probably much better place for this topic.

I'm CC'ing it in this reply. Olivier, please prune linux-hotplug-devel from your replies.

Scott

PS: Greg, if I see you (or maybe Russell and/or Ivan K.) there, I
wouldn't mind a little discussion on what the strategy should be for bus renumbering, as a lot of the new CPCI boards I'm seeing are going to need some form of it.

Signature · 16 lines
Scott Murray
SOMA Networks, Inc.
Toronto, Ontario
e-mail: [email protected]



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel