Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Jul 19, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the mm tree, today's linux-next build (arm64 defconfig) failed like this:

In file included from arch/arm64/include/asm/pgtable.h:15,

                 from include/linux/pgtable.h:6,
                 from arch/arm64/include/asm/io.h:12,
                 from include/linux/io.h:13,
                 from include/acpi/acpi_io.h:5,
                 from include/linux/acpi.h:37,
                 from include/acpi/apei.h:9,
                 from include/acpi/ghes.h:5,
                 from include/linux/arm_sdei.h:8,
                 from arch/arm64/kernel/asm-offsets.c:10:
arch/arm64/include/asm/tlbflush.h: In function '__flush_tlb_page_nosync':
arch/arm64/include/asm/tlbflush.h:268:53: error: 'vma' undeclared (first use in this function); did you mean 'cma'?
  268 |         mmu_notifier_arch_invalidate_secondary_tlbs(vma->vm_mm, uaddr & PAGE_MASK,
      |                                                     ^~~
      |                                                     cma

Caused by commit

8c2be11e06f4 ("mmu_notifiers: call arch_invalidate_secondary_tlbs() when invalidating TLBs")

I have reverted that commit (and the following clear one and the two
earlier ones - otherwise it would not buildfrom) for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Thanks Stephen.

Looks like a conflict with 9c47011d3302 ("arm64: support batched/deferred tlb shootdown during page reclamation/migration") which restructured that code slightly. I have to respin my series anyway so will rebase on mm-unstable rather than v6.5-rc2.

- Alistair

Quoted 29 lines · Stephen Rothwell

[[PGP Signed Part:Undecided]]
Hi all,

After merging the mm tree, today's linux-next build (arm64 defconfig) failed like this:

In file included from arch/arm64/include/asm/pgtable.h:15,

                 from include/linux/pgtable.h:6,
                 from arch/arm64/include/asm/io.h:12,
                 from include/linux/io.h:13,
                 from include/acpi/acpi_io.h:5,
                 from include/linux/acpi.h:37,
                 from include/acpi/apei.h:9,
                 from include/acpi/ghes.h:5,
                 from include/linux/arm_sdei.h:8,
                 from arch/arm64/kernel/asm-offsets.c:10:
arch/arm64/include/asm/tlbflush.h: In function '__flush_tlb_page_nosync':
arch/arm64/include/asm/tlbflush.h:268:53: error: 'vma' undeclared (first use in this function); did you mean 'cma'?
  268 |         mmu_notifier_arch_invalidate_secondary_tlbs(vma->vm_mm, uaddr & PAGE_MASK,
      |                                                     ^~~
      |                                                     cma

Caused by commit

8c2be11e06f4 ("mmu_notifiers: call arch_invalidate_secondary_tlbs() when invalidating TLBs")

I have reverted that commit (and the following clear one and the two
earlier ones - otherwise it would not buildfrom) for today.