]> 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)
commited9c2b5555b84c11d6d76b15be333475ae732d2a
tree346ad24785f653c5b555b9eeda4ce73a3deeb020
parentfd4092767a659a9f6e681c42e9ee18a94dac7fd3
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