Re: mainline build failure due to b67fbebd4cf9 ("mmu_gather: Force tlb-flush VM_PFNMAP vmas")

Sudip Mukherjee
2022-07-22T17:20:10Z

On Fri, Jul 22, 2022 at 5:28 PM Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
> On Fri, Jul 22, 2022 at 12:53 AM Sudip Mukherjee (Codethink)
> <sudipm.mukherjee@gmail.com> wrote:
> >
> > The latest mainline kernel branch fails to build for alpha allmodconfig
> > with the error:
>
> Gaah. It's the odd MMU_GATHER_NO_RANGE architectures - alpha, m68k,
> microblaze, nios2 and openrisc.
>
> We should probably get rid of that oddity, and force everybody to have
> the ranged tlb flush functions, but for now the trivial patch is to
> just remove the left-over dummy tlb_update_vma_flags() from that case,
> I think.
>
> Trivial patch attached. I don't have any cross-compiler for those
> architectures on my machine, but I suspect I'll just commit it as-is
> even without testing, since it can't be worse than what the situation
> is right now with that "redefinition of 'tlb_update_vma_flags'"

That fixes the alpha build failure.
If you commit it today then my nightly builds can test other
combinations of all other arch also.

--
Regards
Sudip