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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Oct 2014 16:43:13 +0000 (09:43 -0700)
commit1687546e7ccd6d257ee691f01a7b60b6d28a4262
tree80011a19af5662a34d95af15a67a6059b35cd247
parent09a18554d6a3328da7061ae2ed260835e2dc02dd
PCI: Add missing MEM_64 mask in pci_assign_unassigned_bridge_resources()

commit d61b0e87d2dfba3706dbbd6c7c6fd41c3d845685 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/setup-bus.c