1. 02 Sep, 2019 1 commit
    • Max Filippov's avatar
      xtensa: virt: move PCI root complex to KIO range · 982792f4
      Max Filippov authored
      
      
      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: default avatarMax Filippov <jcmvbkbc@gmail.com>
      982792f4
  2. 08 Jul, 2019 1 commit
    • Max Filippov's avatar
      xtensa: virt: add defconfig and DTS · 775f1f7e
      Max Filippov authored
      
      
      Add defconfig and DTS for a virt board. Defconfig enables PCIe host and
      a number of virtio devices. DTS routes legacy PCI IRQs to the first four
      level-triggered external IRQ lines. CPU core with edge-triggered IRQs
      among the first four may need a custom DTS to work correctly.
      Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
      775f1f7e