On Wed, 23 Jan 2019, Nick Desaulniers wrote: > Looks like: > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/arch/arm64/include/asm/xen/page-coherent.h?id=702e8ed37bed9b39e1d323511e0038444dd569b8 > > is causing a build breakage in -next: > https://travis-ci.com/ClangBuiltLinux/continuous-integration/jobs/172324829 Sorry Christoph for missing it during review diff --git a/arch/arm64/include/asm/xen/page-coherent.h b/arch/arm64/include/asm/xen/page-coherent.h index 77e36de..d88e56b 100644 --- a/arch/arm64/include/asm/xen/page-coherent.h +++ b/arch/arm64/include/asm/xen/page-coherent.h @@ -50,7 +50,7 @@ static inline void xen_dma_map_page(struct device *hwdev, struct page *page, bool local = (page_pfn <= dev_pfn) && (dev_pfn - page_pfn < compound_pages); - if (pfn_valid(pfn)) + if (local) dma_direct_map_page(hwdev, page, offset, size, dir, attrs); else __xen_dma_map_page(hwdev, page, dev_addr, offset, size, dir, attrs);