Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190215
b: refs/heads/master
c: 4352aa5
h: refs/heads/master
i:
  190213: 8e6283e
  190211: 7952b78
  190207: 70b22e1
v: v3
  • Loading branch information
Alexander Duyck authored and Jesse Barnes committed Apr 8, 2010
1 parent 284604d commit de10a3a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 73a0e614580fb650846be1e9315f6b7b6069b9cc
refs/heads/master: 4352aa5bbf1d0080c2dcf904ce1e4be0a1cb5937
10 changes: 8 additions & 2 deletions trunk/drivers/pci/pcie/aer/aerdrv.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,17 @@ static pci_ers_result_t aer_root_reset(struct pci_dev *dev)

/* Assert Secondary Bus Reset */
pci_read_config_word(dev, PCI_BRIDGE_CONTROL, &p2p_ctrl);
p2p_ctrl |= PCI_CB_BRIDGE_CTL_CB_RESET;
p2p_ctrl |= PCI_BRIDGE_CTL_BUS_RESET;
pci_write_config_word(dev, PCI_BRIDGE_CONTROL, p2p_ctrl);

/*
* we should send hot reset message for 2ms to allow it time to
* propogate to all downstream ports
*/
msleep(2);

/* De-assert Secondary Bus Reset */
p2p_ctrl &= ~PCI_CB_BRIDGE_CTL_CB_RESET;
p2p_ctrl &= ~PCI_BRIDGE_CTL_BUS_RESET;
pci_write_config_word(dev, PCI_BRIDGE_CONTROL, p2p_ctrl);

/*
Expand Down

0 comments on commit de10a3a

Please sign in to comment.