]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit982792f45894878b9ec13df81e6e02209b34cb11
tree346ad24785f653c5b555b9eeda4ce73a3deeb020
parent09f8a6db20e6ed8eab1b2b23d09d2458f6e15062
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