Skip to contentSkip to conversation

How to route INTA interupt on pci to IRQ after hotplug??

DISCUSSION florea igor 2 participants 3 messages Jan 5, 2006 – Jan 10, 2006

lore
Share & tools
lore
#0 lore raw

hi all
after hot inserting my Compact PCI card I can see IRQ 255
after booting with plugged card i have a normal IRQ..9..12
so how can i rout the INTA interupt from PCI to a valid IRQ?
thanks

__________________________________________
Yahoo! DSL – Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
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 7 lines · florea igor

hi all
after hot inserting my Compact PCI card I can see IRQ 255
after booting with plugged card i have a normal IRQ..9..12
so how can i rout the INTA interupt from PCI to a valid IRQ?

Your cpci controller should do this for you. Which driver are you using for this?

thanks,

greg k-h

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
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 florea igor

I'm using pci_hotplug.ko and cpci_hp_generic.ko..
I had to make some modifications to cpci_hotplug_core.c :
I had to add this code in the check_slots function in cpci_hotplug_core.c because the disable_slot function wasn't called anywhere as part of cpci_hotplug_slot_ops on the EXT event..:

list_for_each_entry(slot, &slot_list, slot_list){
	if (slot->extracting) {
		dbg("%s - calling disable for slot %s,slot->dev=%p",
		    __FUNCTION__,
slot->hotplug_slot->name,slot->dev);
		disable_slot(slot->hotplug_slot);
	}
}

i have this cpci controller according to lspci -vvv:

02:0c.0 PCI bridge: Intel Corporation 21154 PCI-to-PCI Bridge (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr-
DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, Cache Line Size 08
Bus: primary, secondary, subordinate,
sec-latency2

        I/O behind bridge: 0000f000-00000fff
        Memory behind bridge: fff00000-000fffff
        Prefetchable memory behind bridge:

00000000fff00000-0000000000000000
Secondary status: 66MHz- FastB2B+ ParErr-
DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort-

Quoted 1 line

Reset- FastB2B-

Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI- D1- D2-
AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0
PME-

                Bridge: PM- B3+

meanwhile i found out that that the memory allocation is also made wrong..I don't have reserved non-prefetchable memory if i boot without any card inserted and after that i try to insert a card..

so can someone tell me what is going wrong?

Quoted 1 line

On Thu, Jan 05, 2006 at 06:57:07AM -0800, florea igor

Quoted 2 lines · wrote:
Quoted 2 lines

hi all
after hot inserting my Compact PCI card I can see

IRQ

Quoted 7 lines
Quoted 5 lines

255
after booting with plugged card i have a normal
IRQ..9..12
so how can i rout the INTA interupt from PCI to a
valid IRQ?

Your cpci controller should do this for you. Which

driver are you

Quoted 6 lines

using
for this?

thanks,

greg k-h

__________________________________________
Yahoo! DSL – Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel