Statistics
| Branch: | Revision:

root / hw / pcie.c @ 6b331efb

History | View | Annotate | Download (18.8 kB)

# Date Author Comment
0ead87c8 12/22/2010 09:01 am Isaku Yamahata

pcie: add flr support

Support flr: trigger device reset on flr config write.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

4a9dd665 12/09/2010 12:48 pm Michael S. Tsirkin

pci: untangle pci/msi dependency

msi depends on pci but pci should not depend on msi.
The only dependency we have is a recent addition
of pci_msi_ functions, IMO they add little enough to
open-code in the small number of users.

Follow-up patches add more cleanups....

4cff0a59 11/16/2010 04:40 pm Michael S. Tsirkin

pci: allow hotplug removal of cold-plugged devices

This patch fixes hot unplug of cold plugged devices
(those present at system start), which got broken by
5beb8ad503c88a76f2b8106c3b74b4ce485a60e1 .

Signed-off-by: Isaku Yamahata <>...

5afb9869 10/27/2010 08:01 pm Blue Swirl

Introduce range.h

Extract range functions from pci.h. These will be used by later patches
by non-PCI devices. Adjust current users.

Signed-off-by: Blue Swirl <>
(cherry picked from commit bf1b00712375bea65f2254dea8281fa646eebbd5)

ac0cdda3 10/27/2010 08:01 pm Michael S. Tsirkin

pcie: simplify range check

Simplify code slighly by reversing the polarity
for the range check

Signed-off-by: Michael S. Tsirkin <>
Signed-off-by: Isaku Yamahata <>

6bde6aaa 10/27/2010 08:01 pm Michael S. Tsirkin

pcie: clean up hot plug notification

Simplify logic for hotplug notification, by tracking state of the
logical interrupt condition. We then simply use this variable to make
the interrupt decision, according to spec.

API is made cleaner as we no longer force users to pass in...

804b2071 10/27/2010 08:01 pm Michael S. Tsirkin

pcie: update satus on reset

Reset never triggers a new event, so it's enough to
update status.

Signed-off-by: Michael S. Tsirkin <>

0428527c 10/19/2010 03:09 pm Isaku Yamahata

pcie: helper functions for pcie capability and extended capability

This patch implements helper functions for pci express capability
and pci express extended capability allocation.
NOTE: presence detection depends on pci_qdev_init() change.

Signed-off-by: Isaku Yamahata <>...