]> git.baikalelectronics.ru Git - kernel.git/commit
tile PCI RC: reduce driver's vmalloc space usage
authorChris Metcalf <cmetcalf@tilera.com>
Mon, 5 Aug 2013 18:33:17 +0000 (14:33 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 6 Aug 2013 16:56:12 +0000 (12:56 -0400)
commite35e41055f29efa485ac545481bfb34d9802138f
tree45ca7683f5c834e087bf31c9de8059c47c703178
parent96900a29b8cc0da898afa5425c211b6aa5836aef
tile PCI RC: reduce driver's vmalloc space usage

We can take advantage of the fact that bit 29 is hard-wired
to zero in register TRIO_TILE_PIO_REGION_SETUP_CFG_ADDR.
This is handy since at the moment we only allocate one 4GB
region for vmalloc, and with this change we can allocate
four or more TRIO MACs without using up all the vmalloc space.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/pci_gx.c