public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] MIPS: Loongson64: Use logic_pio v2
@ 2020-04-28  2:14 Jiaxun Yang
  2020-04-28  2:14 ` [PATCH v2 1/3] MIPS: Massage address spaces headers Jiaxun Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Jiaxun Yang @ 2020-04-28  2:14 UTC (permalink / raw)
  To: linux-mips
  Cc: john.garry, Jiaxun Yang, Thomas Bogendoerfer, Huacai Chen,
	Paul Burton, Serge Semin, Nathan Chancellor, Nick Desaulniers,
	Stephen Kitt, Andrew Morton, Philippe Mathieu-Daudé,
	Vlastimil Babka, Anshuman Khandual, Mike Rapoport, Paul Cercueil,
	Daniel Silsby, Mark Tomlinson, Thomas Gleixner,
	Greg Kroah-Hartman, Allison Randal, Tiezhu Yang, linux-kernel

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-04-29 18:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-28  2:14 [PATCH v2 0/3] MIPS: Loongson64: Use logic_pio v2 Jiaxun Yang
2020-04-28  2:14 ` [PATCH v2 1/3] MIPS: Massage address spaces headers Jiaxun Yang
2020-04-28 11:33   ` Thomas Bogendoerfer
2020-04-28 11:45     ` Jiaxun Yang
2020-04-29 18:25       ` Thomas Bogendoerfer
2020-04-28  2:14 ` [PATCH v2 2/3] MIPS: Introduce PCI_IO_VMMAP Jiaxun Yang
2020-04-28  2:14 ` [PATCH v2 3/3] MIPS: Loongson64: Enable PCI_IO_VMMAP Jiaxun Yang
2020-04-28  9:25   ` John Garry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox