pci/bridge: fix pci_bridge_reset()
The lower bits of base/limit registers is RO and shouldn't be zerocleared on reset. This patch fixes it.In fact, the default value of base/limit registers aren't specifiedin the spec. And some bridges disable forwarding on reset instead of...
pcie: comment on hpev_intx
document hpev_intx.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
pcie: helper functions for pcie capability and extended capability
This patch implements helper functions for pci express capabilityand pci express extended capability allocation.NOTE: presence detection depends on pci_qdev_init() change.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>...
pcie: add pcie constants to pcie_regs.h
add pcie constants to pcie_regs.h.Those constants should go to Linux pci_regs.h and then the file shouldgo away eventually.
msi: implements msi
implements msi related functions.
pci: use pci_word_test_and_clear_mask() in pci_device_reset()
use pci_clear_bit_word() in pci_device_reset() where appropriate.
pci: introduce helper function to handle msi-x and msi.
this patch implements helper functions to handle msi-x and msiuniformly.They will be used later.
pci: introduce helper functions to test-and-{clear, set} mask in configuration space
This patch introduces helper functions to test-and-{clear, set} mask in configurationspace. pci_{byte, word, long, quad}_test_and_{clear, set}_mask().They will be used later....
pci: make pci_del_capability() update for w1cmask
Clear w1cmask when deleting a pci capability.
msix: clear not only INTA, but all INTx when MSI-X is enabled.
clear not only INTA, but all INTx when MSI-X is enabled.
View all revisions | View revisions
Also available in: Atom