Skip to contentSkip to conversation

cPCI hotplugging

Q Eric 6 participants 9 messages Jan 15, 2001 – Jan 16, 2001

lore
Share & tools
lore

Eric

author
#0 lore raw

Hi folks,

I was referred to this group by an article at lwn.net, and it seems that some pretty exciting stuff is going on here.

My question is whether or not this list is concerning itself with PCI (non-cardbus) hotplug, or simply focusing (for now) on USB, FireWire and Cardbus. If so, is there any preliminary documentation on this subsystem (the webpage is understandably sparse at this time)?

I have been working with a Sun CP1400/1500 CompactPCI box and it would be most excellent to look into CompactPCI hotplugging.

Thanks for the update,
E

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

_______________________________________________
Linux-hotplug-devel mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw

Well, if we aren't already concerning ourselves with cPCI, we should be. My day job is with a company that designs and manufactures cPCI and VME boards, and we're porting Linux to our systems.

There's certainly demand for this sort of support. I think it's definately something we should consider.

Matt

Quoted 24 lines · Eric

Hi folks,

I was referred to this group by an article at lwn.net, and it seems that some pretty exciting stuff is going on here.

My question is whether or not this list is concerning itself with PCI (non-cardbus) hotplug, or simply focusing (for now) on USB, FireWire and Cardbus. If so, is there any preliminary documentation on this subsystem (the webpage is understandably sparse at this time)?

I have been working with a Sun CP1400/1500 CompactPCI box and it would be most excellent to look into CompactPCI hotplugging.

Thanks for the update,
E

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

_______________________________________________
Linux-hotplug-devel mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

Signature · 6 lines
Matthew Dharm                              Home: [email protected] 
Maintainer, Linux USB Mass Storage Driver

Umm, these aren't the droids you're looking for.
					-- Bill Gates
User Friendly, 11/14/1998
#2 lore raw
In reply to Eric

I think the rule of thumb is that if you want it to happen, start to make it happen!

How would CompactPCI hotplugging work differently? Knowing exactly nothing about it, I'd hope that not much was needed. But maybe there is a codepath that only Cardbus triggers, so far, and that'd need to kick in.

It's linux/drivers/pci/pci.c that issues call_usermodehelper(), which is pretty generic. If cPCI called that, it might "just work". If you try the latest hotplug script (with a PCI agent) does anything happen?

- Dave

----- Original Message -----
From: Eric <[email protected]>
To: <[email protected]>
Sent: Monday, January 15, 2001 10:21 AM
Subject: [Q] cPCI hotplugging

Hi folks,

I was referred to this group by an article at lwn.net, and it seems that some pretty exciting stuff is going on here.

My question is whether or not this list is concerning itself with PCI (non-cardbus) hotplug, or simply focusing (for now) on USB, FireWire and Cardbus. If so, is there any preliminary documentation on this subsystem (the webpage is understandably sparse at this time)?

I have been working with a Sun CP1400/1500 CompactPCI box and it would be most excellent to look into CompactPCI hotplugging.

Thanks for the update,
E

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

_______________________________________________
Linux-hotplug-devel mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

_______________________________________________
Linux-hotplug-devel mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#3 lore raw
In reply to Eric
Quoted 5 lines · David Brownell

How would CompactPCI hotplugging work differently? Knowing exactly nothing about it, I'd hope that not much was needed. But maybe there is a codepath that only Cardbus triggers, so far, and that'd need to kick in.

On a related note, has anyone looked at Compaq's PCI Hotplugging? I know that Intel has licensed Compaq's design for some of their own server boards, but I haven't been able to find enough documentation to actually write any code.

Scott

_______________________________________________
Linux-hotplug-devel mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#4 lore raw
In reply to Eric

Funny you should ask... We have developed a driver for the Compaq PCI Hot Plug Controller that we will be releasing in the next week or two.

Our SourceForge site is at:
http://opensource.compaq.com/sourceforge/project/?group_id

I'll be posting a notice to this list when we get the source up there.

Dan

-----Original Message-----
From: Scott Laird [mailto:[email protected]]
Sent: Monday, January 15, 2001 4:48 PM
To: David Brownell
Cc: Eric; [email protected]
Subject: Re: [Q] cPCI hotplugging

Quoted 5 lines · David Brownell

How would CompactPCI hotplugging work differently? Knowing exactly nothing about it, I'd hope that not much was needed. But maybe there is a codepath that only Cardbus triggers, so far, and that'd need to kick in.

On a related note, has anyone looked at Compaq's PCI Hotplugging? I know that Intel has licensed Compaq's design for some of their own server boards, but I haven't been able to find enough documentation to actually write any code.

Scott

_______________________________________________
Linux-hotplug-devel mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#5 lore raw
In reply to Eric
Quoted 7 lines · Dan

Funny you should ask... We have developed a driver for the Compaq PCI Hot Plug Controller that we will be releasing in the next week or two.

Our SourceForge site is at:
http://opensource.compaq.com/sourceforge/project/?group_id

I'll be posting a notice to this list when we get the source up there.

So, Dan,

In Scott's initial note on the topic, he mentioned that cPCI is a hotplugging bus. You may or may not have heard about the recent hotplug developments in the 2.4.0 series kernel. If you already know about it, do you have any idea how your new driver will mesh, if at all, with the new hotplug infrastructure?

Miles

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#6 lore raw
In reply to Eric

Umm... I just want to make sure we're all on the same page, because Miles' e-mail sounds like he _might_ be confused.

cPCI != Compaq PCI

cPCI == Compact PCI, which is a hot-swappable bus archetecture (and cabinet design, and card form factors, and...)

cPCI has no controller. It's not a controller spec. It's a bus and physical spec. Tho the Compaq PCI controller may give you many of the same benefits as a real cPCI system.

cPCI is really just PCI, at 33/66MHz and 32/64 bits wide. It supports insertion notification, and removal request (open the latches, allow the software to shutdown and turn off the LED, then remove the board).

Taking the 2 second look at the web page, it looks like they're working on both infrastructure for PCI Hot Plug, as well as a driver for the Compaq controller for this thing. I don't know much about this controler, but I'm certainly interested in the infrastructure parts.

Matt

Quoted 19 lines · Miles Lane
Quoted 7 lines · Dan

Funny you should ask... We have developed a driver for the Compaq PCI Hot Plug Controller that we will be releasing in the next week or two.

Our SourceForge site is at:
http://opensource.compaq.com/sourceforge/project/?group_id=13

I'll be posting a notice to this list when we get the source up there.

So, Dan,

In Scott's initial note on the topic, he mentioned that cPCI is a hotplugging bus. You may or may not have heard about the recent hotplug developments in the 2.4.0 series kernel. If you already know about it, do you have any idea how your new driver will mesh, if at all, with the new hotplug infrastructure?

Miles

Signature · 6 lines
Matthew Dharm                              Home: [email protected] 
Maintainer, Linux USB Mass Storage Driver

What, are you one of those Microsoft-bashing Linux freaks?
					-- Customer to Greg
User Friendly, 2/10/1999
#7 lore raw
In reply to Eric

To answer Miles' question, I am aware of the /sbin/hotplug stuff that was added but hadn't given it a whirl yet. It ought to tie in nicely. We did most of our development prior to the appearance of /sbin/hotplug so we have another usermode notification method for synchronization with the PCI Hot Plug GUI we've written. In addition, our GUI uses the kudzu database to find drivers and allow the user to load them. That should be unnecessary if /sbin/hotplug does the right thing.

As for the rest of the "infrastructure" work we've done, some of it is support that could be applied to any PCI hot plug driver. Some could be applied to the kernel's PCI configuration routines.

Dan

-----Original Message-----
From: Matthew Dharm [mailto:[email protected]]
Sent: Tuesday, January 16, 2001 3:19 PM
To: Miles Lane
Cc: Zink, Dan; 'Scott Laird'; David Brownell; Eric; [email protected]
Subject: Re: [Q] cPCI hotplugging

Umm... I just want to make sure we're all on the same page, because Miles' e-mail sounds like he _might_ be confused.

cPCI != Compaq PCI

cPCI = Compact PCI, which is a hot-swappable bus archetecture (and cabinet design, and card form factors, and...)

cPCI has no controller. It's not a controller spec. It's a bus and physical spec. Tho the Compaq PCI controller may give you many of the same benefits as a real cPCI system.

cPCI is really just PCI, at 33/66MHz and 32/64 bits wide. It supports insertion notification, and removal request (open the latches, allow the software to shutdown and turn off the LED, then remove the board).

Taking the 2 second look at the web page, it looks like they're working on both infrastructure for PCI Hot Plug, as well as a driver for the Compaq controller for this thing. I don't know much about this controler, but I'm certainly interested in the infrastructure parts.

Matt

Quoted 19 lines · Miles Lane
Quoted 7 lines · Dan

Funny you should ask... We have developed a driver for the Compaq PCI Hot Plug Controller that we will be releasing in the next week or two.

Our SourceForge site is at:
http://opensource.compaq.com/sourceforge/project/?group_id

I'll be posting a notice to this list when we get the source up there.

So, Dan,

In Scott's initial note on the topic, he mentioned that cPCI is a hotplugging bus. You may or may not have heard about the recent hotplug developments in the 2.4.0 series kernel. If you already know about it, do you have any idea how your new driver will mesh, if at all, with the new hotplug infrastructure?

Miles

Signature · 12 lines
Matthew Dharm                              Home:
[email protected] 
Maintainer, Linux USB Mass Storage Driver

What, are you one of those Microsoft-bashing Linux freaks?
					-- Customer to Greg
User Friendly, 2/10/1999

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#8 lore raw
In reply to Eric

Dan, is your "Hotplug PCI" related to some of the original PCI driver API updates ("new style") done way early in the 2.3 timeframe? That seemed never to have had followon to complete it (user mode tools like /sbin/hotplug, cardctl). I had been asking, but nobody knew of any ... :-)

I'd also be interested in any thoughts you might have about when users should deal with a GUI, vs have such issues be fully automated. For example, I'd expect laptop users would never want a GUI unless that PCI (Cardbus) device has never been seen before ... while at least some server admins might feel "safer" with lots of manual controls.

- Dave

----- Original Message -----
From: Zink, Dan <[email protected]>
To: 'Matthew Dharm' <[email protected]>; Miles Lane <[email protected]>
Cc: 'Scott Laird' <[email protected]>; David Brownell <[email protected]>; Eric <[email protected]>; <[email protected]>
Sent: Tuesday, January 16, 2001 2:30 PM
Subject: RE: [Q] cPCI hotplugging

Quoted 67 lines

To answer Miles' question, I am aware of the /sbin/hotplug stuff that was added but hadn't given it a whirl yet. It ought to tie in nicely. We did most of our development prior to the appearance of /sbin/hotplug so we have another usermode notification method for synchronization with the PCI Hot Plug GUI we've written. In addition, our GUI uses the kudzu database to find drivers and allow the user to load them. That should be unnecessary if /sbin/hotplug does the right thing.

As for the rest of the "infrastructure" work we've done, some of it is support that could be applied to any PCI hot plug driver. Some could be applied to the kernel's PCI configuration routines.

Dan

-----Original Message-----
From: Matthew Dharm [mailto:[email protected]]
Sent: Tuesday, January 16, 2001 3:19 PM
To: Miles Lane
Cc: Zink, Dan; 'Scott Laird'; David Brownell; Eric; [email protected]
Subject: Re: [Q] cPCI hotplugging

Umm... I just want to make sure we're all on the same page, because Miles' e-mail sounds like he _might_ be confused.

cPCI != Compaq PCI

cPCI = Compact PCI, which is a hot-swappable bus archetecture (and cabinet design, and card form factors, and...)

cPCI has no controller. It's not a controller spec. It's a bus and physical spec. Tho the Compaq PCI controller may give you many of the same benefits as a real cPCI system.

cPCI is really just PCI, at 33/66MHz and 32/64 bits wide. It supports insertion notification, and removal request (open the latches, allow the software to shutdown and turn off the LED, then remove the board).

Taking the 2 second look at the web page, it looks like they're working on both infrastructure for PCI Hot Plug, as well as a driver for the Compaq controller for this thing. I don't know much about this controler, but I'm certainly interested in the infrastructure parts.

Matt

Quoted 12 lines · Miles Lane
Quoted 7 lines · Dan

Funny you should ask... We have developed a driver for the Compaq PCI Hot Plug Controller that we will be releasing in the next week or two.

Our SourceForge site is at:
http://opensource.compaq.com/sourceforge/project/?group_id

I'll be posting a notice to this list when we get the source up there.

So, Dan,

Quoted 7 lines

In Scott's initial note on the topic, he mentioned that cPCI is a hotplugging bus. You may or may not have heard about the recent hotplug developments in the 2.4.0 series kernel. If you already know about it, do you have any idea how your new driver will mesh, if at all, with the new hotplug infrastructure?

Miles

Quoted 8 lines

--
Matthew Dharm Home:
[email protected]
Maintainer, Linux USB Mass Storage Driver

What, are you one of those Microsoft-bashing Linux freaks? -- Customer to Greg
User Friendly, 2/10/1999

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel