[PATCH v2 0/3] MIPS: Loongson64: Use logic_pio v2

From: Jiaxun Yang
Date: Mon Apr 27 2020 - 22:15:21 EST


To add I/O ports for PCI host bridge via devicetree, we have to use
logic_pio mechanism.
That would require convert I/O ports into virt memory map.

v2: Register a logic_pio range instead of reserve in logic_pio system.

Jiaxun Yang (3):
MIPS: Massage address spaces headers
MIPS: Introduce PCI_IO_VMMAP
MIPS: Loongson64: Enable PCI_IO_VMMAP

arch/mips/Kconfig | 4 ++
arch/mips/include/asm/addrspace.h | 4 +-
arch/mips/include/asm/io.h | 36 ++++++++++++----
arch/mips/include/asm/mach-generic/spaces.h | 42 ++++++++++++++-----
.../include/asm/mach-loongson64/loongson.h | 2 +
arch/mips/include/asm/page-def.h | 29 +++++++++++++
arch/mips/include/asm/page.h | 21 ----------
arch/mips/include/asm/pgtable-32.h | 2 -
arch/mips/include/asm/pgtable-64.h | 10 +----
arch/mips/include/asm/sync.h | 2 +
arch/mips/kernel/cps-vec.S | 3 +-
arch/mips/kernel/setup.c | 2 +
arch/mips/lib/iomap-pci.c | 2 +-
arch/mips/lib/uncached.c | 6 +--
arch/mips/loongson64/init.c | 34 +++++++++++++--
arch/mips/loongson64/pci.c | 2 +-
16 files changed, 138 insertions(+), 63 deletions(-)
create mode 100644 arch/mips/include/asm/page-def.h

--
2.26.0.rc2