]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: virt: move PCI root complex to KIO range
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 2 Sep 2019 06:55:49 +0000 (23:55 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 2 Sep 2019 07:09:30 +0000 (00:09 -0700)
commit9f76b73e1d41bdb56caa3bc0cd4f670198c07ea6
tree346ad24785f653c5b555b9eeda4ce73a3deeb020
parent4f80d03caf705ccbfd5a5a50c589d4e4e47b5db0
xtensa: virt: move PCI root complex to KIO range

Move PCI configuration space, MMIO and memory to the KIO range to free
vmalloc area and use static TLB to access them. Move MMIO to the
beginning of KIO and define PCI_IOBASE as XCHAL_KIO_BYPASS_VADDR to
match it. Reduce number of supported PCI buses to 0x3f so that ECAM
window fits into first 64MB of the KIO. Reduce size of the PCI memory
window to 128MB so that it fits into KIO.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/boot/dts/virt.dts
arch/xtensa/include/asm/io.h