]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
s390/pci: resize iomap
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 22 Jan 2016 13:01:44 +0000 (14:01 +0100)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:27:37 +0000 (10:27 +0100)
commitd49d292ad4394b17e33ff21abcb66ebe1d399efb
tree2c64e44cd46b01da06ff87eda3f113195801a1b0
parentb62c3ce944108159d73ee1fb2d44e8ec3662d9d8
s390/pci: resize iomap

BugLink: http://bugs.launchpad.net/bugs/1558624
On s390 we need to maintain a mapping between iomem addresses
and arch specific function identifiers. Currently the mapping
table is created as such that we could span the whole iomem
address space. Since we can only map each bar space from each
possible function we have an upper bound for the number of
mapping entries.

This reduces the size of the iomap from 256K to less than 4K
(using the defconfig).

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
(cherry picked from commit c506fff3d3a8a632e8eb2270680548ec415f0357)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/s390/pci/pci.c