[PATCH 0/2] arm64: retry dropping HAVE_ARCH_PFN_VALID

From: Mike Rapoport
Date: Wed Sep 29 2021 - 21:30:48 EST


From: Mike Rapoport <rppt@xxxxxxxxxxxxx>

Hi,

This is a new attempt to drop HAVE_ARCH_PFN_VALID on arm64 and start using
the generic implementation of pfn_valid().

The first patch removes the check for pfn_valid() in dma_map_resource()
which is required to avoid false positives when there is memory map for
MMIO.

Anshuman Khandual (1):
arm64/mm: drop HAVE_ARCH_PFN_VALID

Mike Rapoport (1):
dma-mapping: remove bogus test for pfn_valid from dma_map_resource

arch/arm64/Kconfig | 1 -
arch/arm64/include/asm/page.h | 1 -
arch/arm64/mm/init.c | 37 -----------------------------------
kernel/dma/mapping.c | 4 ----
4 files changed, 43 deletions(-)


base-commit: 5816b3e6577eaa676ceb00a848f0fd65fe2adc29
--
2.28.0