Re: ioremap and dma cleanups and fixes for superh (2nd resend)

From: peterz
Date: Thu Jul 16 2020 - 07:02:09 EST


On Thu, Jul 16, 2020 at 12:54:51PM +0200, John Paul Adrian Glaubitz wrote:
> Hi Peter!
>
> On 7/16/20 12:29 PM, peterz@xxxxxxxxxxxxx wrote:
> >> Then Aneesh got a bunch of those patches merged because he needed it for
> >> Power, but the rest bitrotted again.
> >>
> >> Let me rebase/refresh the rest of that and send it out again.
> >
> > OK, latest patches here:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git mm/tlb
> >
> > I'll post once the robot is all green.
>
> Thanks. I just cherry-picked the two patches for SH and applied them on top
> of Linus' tree plus the patch 73c348f31b63d28d ("sh: Fix unneeded constructor
> in page table allocation") from next-20200710.
>
> The build fails with:
>
> CC mm/mmu_gather.o
> mm/mmu_gather.c: In function âtlb_table_invalidateâ:
> mm/mmu_gather.c:180:6: error: implicit declaration of function âtlb_needs_table_invalidateâ; did you mean âtlb_table_invalidateâ? [-Werror=implicit-function-declaration]
> 180 | if (tlb_needs_table_invalidate()) {
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> | tlb_table_invalidate
> cc1: some warnings being treated as errors
> make[1]: *** [scripts/Makefile.build:281: mm/mmu_gather.o] Error 1
> make: *** [Makefile:1756: mm] Error 2

*sigh*, thanks, I'll go dig out the local cross compiler set then.