[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-pci
Subject:    Re: pciehp & other hot-plug drivers (shpc etc..)
From:       Greg KH <gregkh () linuxfoundation ! org>
Date:       2013-09-30 2:05:00
Message-ID: 20130930020500.GB28774 () kroah ! com
[Download RAW message or body]

On Sun, Sep 29, 2013 at 11:27:23AM -0700, Rajat Jain wrote:
> Hello List,
> 
> Today all the PCI Hot-plug drivers (shpc, acpihp, cpqhp, ibmhp etc
> except pciedhp) directly claim the downstream port bridge device.
> Where as in case of pciehp, the PCIe port bus driver claims the bridge
> device, and service drivers (aer, pm, pciehp) simply register for the
> service with it.
> 
> 1) Does that mean that in a system where I am using a driver other
> than pciehp for hot-plug (eg. shpc), I cannot use service drivers like
> AER or PM on the same port (since the device would be claimed by
> shpc, it would not be available to port bus driver)?

It depends on your system, and you BIOS, which sets up all of this
stuff.  It's up to the kernel to bind to the proper things it exposes.

> 2) In the same system, can I use SHPC on one port, and pciehp on
> another port? I believe not?

Yes you can, but such a system seems really strange, do you know of any
that require it?

> Please note that it may not be a realistic scenarios, my intent of
> asking is to just understand how things are intended to behave.

Again, it depends on your BIOS / hardware.  They are the ones that
determine which driver handles this type of thing.

Hope this helps,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic