Message ID | 20210930013039.11260-1-rppt@kernel.org (mailing list archive) |
---|---|
Headers | show |
Series | arm64: retry dropping HAVE_ARCH_PFN_VALID | expand |
On Thu, 30 Sep 2021 04:30:37 +0300, Mike Rapoport wrote: > From: Mike Rapoport <rppt@linux.ibm.com> > > Hi, > > This is a new attempt to drop HAVE_ARCH_PFN_VALID on arm64 and start using > the generic implementation of pfn_valid(). > > [...] Applied to arm64 (for-next/pfn-valid), thanks! [1/2] dma-mapping: remove bogus test for pfn_valid from dma_map_resource https://git.kernel.org/arm64/c/a9c38c5d267c [2/2] arm64/mm: drop HAVE_ARCH_PFN_VALID https://git.kernel.org/arm64/c/3de360c3fdb3 Cheers,
From: Mike Rapoport <rppt@linux.ibm.com> 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