]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: Add has_mem64 for struct host_bridge
authorYinghai Lu <yinghai@kernel.org>
Thu, 8 Oct 2015 21:38:32 +0000 (14:38 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 19 Oct 2015 20:41:13 +0000 (13:41 -0700)
commit9bb848b4f153ca43e05ad976274c8281240d5adc
tree88aa35fe7ec9e05947350a2b80522e7d768e4f74
parent18d135012bbc70a30df2a664c4470ce94430c9ea
PCI: Add has_mem64 for struct host_bridge

Add has_mem64 for struct host_bridge, on root bus that does not support
mmio64 above 4g, will not set that.

We will use that info next two following patches:
1. Don't treat non-pref mmio64 as pref mmio, so will not put
   it under bridge's pref range when rescan the devices
2. will keep pref mmio64 and pref mmio32 under bridge pref bar.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Orabug: 21826746

Signed-off-by: Khalid Aziz <khalid.aziz@oracle.com>
(cherry picked from commit a60c5ffaf17466433caac32fea9c45576ecdf5c4)
drivers/pci/probe.c
include/linux/pci.h