diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-12 23:50:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-12 23:50:38 -0400 |
commit | 0c314a95150dce58953ca366c1c66791e424367c (patch) | |
tree | 8e85c66092e0c8b0500cc65e18f89c525eec5746 /drivers | |
parent | 681857ef0de16a61cf040464cd4a54ea626a2d53 (diff) | |
parent | adf58458bcb2890efe94e5a58506c27bfecf518d (diff) |
Merge tag 'pci-v4.17-changes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Pull PCI fixes from Bjorn Helgaas:
- mark Extended Tags as broken on Broadcom HT1100 and HT2000 Root Ports
to fix drm/Xorg hangs and unresponsive keyboards (Sinan Kaya)
- remove useless messages during resource reassignment (Desnes A. Nunes
do Rosario)
* tag 'pci-v4.17-changes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
PCI: Remove messages about reassigning resources
PCI: Mark Broadcom HT1100 and HT2000 Root Port Extended Tags as broken
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/pci.c | 1 | ||||
-rw-r--r-- | drivers/pci/quirks.c | 4 | ||||
-rw-r--r-- | drivers/pci/setup-res.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index aa86e904f93c..e597655a5643 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -5628,7 +5628,6 @@ void pci_reassigndev_resource_alignment(struct pci_dev *dev) | |||
5628 | return; | 5628 | return; |
5629 | } | 5629 | } |
5630 | 5630 | ||
5631 | pci_info(dev, "Disabling memory decoding and releasing memory resources\n"); | ||
5632 | pci_read_config_word(dev, PCI_COMMAND, &command); | 5631 | pci_read_config_word(dev, PCI_COMMAND, &command); |
5633 | command &= ~PCI_COMMAND_MEMORY; | 5632 | command &= ~PCI_COMMAND_MEMORY; |
5634 | pci_write_config_word(dev, PCI_COMMAND, command); | 5633 | pci_write_config_word(dev, PCI_COMMAND, command); |
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 26141b1946ee..2990ad1e7c99 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c | |||
@@ -4673,9 +4673,13 @@ static void quirk_no_ext_tags(struct pci_dev *pdev) | |||
4673 | 4673 | ||
4674 | pci_walk_bus(bridge->bus, pci_configure_extended_tags, NULL); | 4674 | pci_walk_bus(bridge->bus, pci_configure_extended_tags, NULL); |
4675 | } | 4675 | } |
4676 | DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0132, quirk_no_ext_tags); | ||
4676 | DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0140, quirk_no_ext_tags); | 4677 | DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0140, quirk_no_ext_tags); |
4678 | DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0141, quirk_no_ext_tags); | ||
4677 | DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0142, quirk_no_ext_tags); | 4679 | DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0142, quirk_no_ext_tags); |
4678 | DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0144, quirk_no_ext_tags); | 4680 | DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0144, quirk_no_ext_tags); |
4681 | DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0420, quirk_no_ext_tags); | ||
4682 | DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, 0x0422, quirk_no_ext_tags); | ||
4679 | 4683 | ||
4680 | #ifdef CONFIG_PCI_ATS | 4684 | #ifdef CONFIG_PCI_ATS |
4681 | /* | 4685 | /* |
diff --git a/drivers/pci/setup-res.c b/drivers/pci/setup-res.c index 0cd83a4bd4c8..d8ca40a97693 100644 --- a/drivers/pci/setup-res.c +++ b/drivers/pci/setup-res.c | |||
@@ -168,8 +168,6 @@ EXPORT_SYMBOL(pci_claim_resource); | |||
168 | 168 | ||
169 | void pci_disable_bridge_window(struct pci_dev *dev) | 169 | void pci_disable_bridge_window(struct pci_dev *dev) |
170 | { | 170 | { |
171 | pci_info(dev, "disabling bridge mem windows\n"); | ||
172 | |||
173 | /* MMIO Base/Limit */ | 171 | /* MMIO Base/Limit */ |
174 | pci_write_config_dword(dev, PCI_MEMORY_BASE, 0x0000fff0); | 172 | pci_write_config_dword(dev, PCI_MEMORY_BASE, 0x0000fff0); |
175 | 173 | ||