All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] arm64: Cleanup ioremap() and support ioremap_prot()
@ 2022-04-27 12:14 ` Kefeng Wang
  0 siblings, 0 replies; 40+ messages in thread
From: Kefeng Wang @ 2022-04-27 12:14 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, Andrew Morton, linux-arm-kernel,
	linux-kernel
  Cc: linux-mm, Kefeng Wang

Let's arm64 use GENERIC_IOREMAP to cleanup code, and
support ioremap_prot()/HAVE_IOREMAP_PROT, which could
enable generic_access_phys().

Kefeng Wang (4):
  mm: ioremap: Setup phys_addr of struct vm_struct
  mm: ioremap: Add arch_ioremap/iounmap_check()
  arm64: mm: Convert to GENERIC_IOREMAP
  arm64: Add HAVE_IOREMAP_PROT support

 .../features/vm/ioremap_prot/arch-support.txt |  2 +-
 arch/arm64/Kconfig                            |  2 +
 arch/arm64/include/asm/io.h                   | 14 +--
 arch/arm64/include/asm/pgtable.h              | 10 +++
 arch/arm64/kernel/acpi.c                      |  2 +-
 arch/arm64/mm/hugetlbpage.c                   | 10 ---
 arch/arm64/mm/ioremap.c                       | 86 +++----------------
 include/asm-generic/io.h                      |  3 +
 mm/ioremap.c                                  | 21 ++++-
 9 files changed, 56 insertions(+), 94 deletions(-)

-- 
2.26.2


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

end of thread, other threads:[~2022-04-28 15:49 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-27 12:14 [PATCH 0/4] arm64: Cleanup ioremap() and support ioremap_prot() Kefeng Wang
2022-04-27 12:14 ` Kefeng Wang
2022-04-27 12:14 ` [PATCH 1/4] mm: ioremap: Setup phys_addr of struct vm_struct Kefeng Wang
2022-04-27 12:14   ` Kefeng Wang
2022-04-27 17:10   ` Andrew Morton
2022-04-27 17:10     ` Andrew Morton
2022-04-28  1:40     ` Kefeng Wang
2022-04-28  1:40       ` Kefeng Wang
2022-04-28 15:41   ` Christoph Hellwig
2022-04-28 15:41     ` Christoph Hellwig
2022-04-27 12:14 ` [PATCH 2/4] mm: ioremap: Add arch_ioremap/iounmap_check() Kefeng Wang
2022-04-27 12:14   ` Kefeng Wang
2022-04-27 17:04   ` Andrew Morton
2022-04-27 17:04     ` Andrew Morton
2022-04-28  6:16     ` Kefeng Wang
2022-04-28  6:16       ` Kefeng Wang
2022-04-28 15:46       ` Christoph Hellwig
2022-04-28 15:46         ` Christoph Hellwig
2022-04-27 18:20   ` Arnd Bergmann
2022-04-27 18:20     ` Arnd Bergmann
2022-04-27 18:25     ` Andrew Morton
2022-04-27 18:25       ` Andrew Morton
2022-04-27 20:46       ` Arnd Bergmann
2022-04-27 20:46         ` Arnd Bergmann
2022-04-28  6:20     ` Kefeng Wang
2022-04-28  6:20       ` Kefeng Wang
2022-04-28  6:47       ` Arnd Bergmann
2022-04-28  6:47         ` Arnd Bergmann
2022-04-27 12:14 ` [PATCH 3/4] arm64: mm: Convert to GENERIC_IOREMAP Kefeng Wang
2022-04-27 12:14   ` Kefeng Wang
2022-04-27 17:11   ` Andrew Morton
2022-04-27 17:11     ` Andrew Morton
2022-04-27 12:14 ` [PATCH 4/4] arm64: Add HAVE_IOREMAP_PROT support Kefeng Wang
2022-04-27 12:14   ` Kefeng Wang
2022-04-28 10:46 ` [PATCH 0/4] arm64: Cleanup ioremap() and support ioremap_prot() Will Deacon
2022-04-28 10:46   ` Will Deacon
2022-04-28 11:48   ` Kefeng Wang
2022-04-28 11:48     ` Kefeng Wang
2022-04-28 15:48   ` Christoph Hellwig
2022-04-28 15:48     ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.