Re: linux-next: build failure after merge of the mm tree

From: Stephen Rothwell
Date: Wed Jul 26 2023 - 02:51:46 EST


Hi Aneesh,

On Wed, 26 Jul 2023 10:52:33 +0530 "Aneesh Kumar K.V" <aneesh.kumar@xxxxxxxxxxxxx> wrote:
>
> Thanks for the report. Can you add the below diff. We should look at
> ppc64 not including radix headers if CONFIG_PPC_RADIX_MMU is disabled.
> But for now we can keep the below diff?
>
> diff --git a/arch/powerpc/include/asm/book3s/64/radix.h b/arch/powerpc/include/asm/book3s/64/radix.h
> index 3195f268ed7f..357e23a403d3 100644
> --- a/arch/powerpc/include/asm/book3s/64/radix.h
> +++ b/arch/powerpc/include/asm/book3s/64/radix.h
> @@ -364,8 +364,10 @@ int radix__remove_section_mapping(unsigned long start, unsigned long end);
>
> void radix__kernel_map_pages(struct page *page, int numpages, int enable);
>
> +#ifdef CONFIG_ARCH_WANT_OPTIMIZE_DAX_VMEMMAP
> #define vmemmap_can_optimize vmemmap_can_optimize
> bool vmemmap_can_optimize(struct vmem_altmap *altmap, struct dev_pagemap *pgmap);
> +#endif
>
> #define vmemmap_populate_compound_pages vmemmap_populate_compound_pages
> int __meminit vmemmap_populate_compound_pages(unsigned long start_pfn,

That fixes the powerpc64 allnoconfig build for me

--
Cheers,
Stephen Rothwell

Attachment: pgpST7356k2Vg.pgp
Description: OpenPGP digital signature