Q: PCIE card power budget

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am looking at a custom card that contains :
  - PCIE device that is connected via PCIE bus
  - ID PROM that contains power required by the card. ID PROM will be connected via I2C bus.

>From the software side, I should not power on the card if it exceeds the power budget (in both  cold plug and hotplug cases)

While  looking at acpiphp, I see that this driver automatically powers on the card on HTML clipboardACPI_NOTIFY_BUS_CHECK event.
   - HTML clipboard re-enumerate the bus
     -- for each slot in the bridge
       --- if slot is not enabled, power on the slot and enable the PCI functions on the card.

I wonder where I can add the functionality of reading the IDPROM for power requirement and then tell acpiphp to run on power ?
Will the scheme work in cold plug case  (is acpiphp involved in cold plug case) ?
Also is it possible to do this custom functionality in user space and tell acpiphp to continue with its functionality of powering on and enabling PCI functions?


Thanks much.

_________________________________________________________________
Quick access to your favorite MSN content and Windows Live with Internet Explorer 8. 
http://ie8.msn.com/microsoft/internet-explorer-8/en-us/ie8.aspx?ocid=B037MSN55C0701A--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux