diff options
-rw-r--r-- | drivers/pci/probe.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 1ff2105ba401..cb411fbb6435 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -1301,6 +1301,16 @@ static void program_hpp_type2(struct pci_dev *dev, struct hpp_type2 *hpp) | |||
1301 | return; | 1301 | return; |
1302 | } | 1302 | } |
1303 | 1303 | ||
1304 | /* | ||
1305 | * Don't allow _HPX to change MPS or MRRS settings. We manage | ||
1306 | * those to make sure they're consistent with the rest of the | ||
1307 | * platform. | ||
1308 | */ | ||
1309 | hpp->pci_exp_devctl_and |= PCI_EXP_DEVCTL_PAYLOAD | | ||
1310 | PCI_EXP_DEVCTL_READRQ; | ||
1311 | hpp->pci_exp_devctl_or &= ~(PCI_EXP_DEVCTL_PAYLOAD | | ||
1312 | PCI_EXP_DEVCTL_READRQ); | ||
1313 | |||
1304 | /* Initialize Device Control Register */ | 1314 | /* Initialize Device Control Register */ |
1305 | pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, | 1315 | pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, |
1306 | ~hpp->pci_exp_devctl_and, hpp->pci_exp_devctl_or); | 1316 | ~hpp->pci_exp_devctl_and, hpp->pci_exp_devctl_or); |