]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI: Add missing MEM_64 mask in pci_assign_unassigned_bridge_resources()
authorYinghai Lu <yinghai@kernel.org>
Sat, 23 Aug 2014 01:15:07 +0000 (18:15 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 30 Sep 2014 19:56:46 +0000 (13:56 -0600)
commitd61b0e87d2dfba3706dbbd6c7c6fd41c3d845685
treea8ff1a5687b2874e5e155488e7f0a26964238830
parent8d38821cbcf51292cd5a23469d03bd38932a3ba9
PCI: Add missing MEM_64 mask in pci_assign_unassigned_bridge_resources()

In 5b28541552ef ("PCI: Restrict 64-bit prefetchable bridge windows to
64-bit resources"), we added IORESOURCE_MEM_64 to the mask in
pci_assign_unassigned_root_bus_resources(), but not to the mask in
pci_assign_unassigned_bridge_resources().

Add IORESOURCE_MEM_64 to the pci_assign_unassigned_bridge_resources() type
mask.

Fixes: 5b28541552ef ("PCI: Restrict 64-bit prefetchable bridge windows to 64-bit resources")
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: stable@vger.kernel.org # v3.16+
drivers/pci/setup-bus.c