Re: [PATCH v2 00/13] arch, mm: deprecate DISCONTIGMEM

From: Mike Rapoport
Date: Tue Dec 01 2020 - 08:57:25 EST


(added Jens)

On Tue, Dec 01, 2020 at 01:16:05PM +0100, John Paul Adrian Glaubitz wrote:
> Hi Mike!
>
> On 12/1/20 1:10 PM, Mike Rapoport wrote:
> > On Tue, Dec 01, 2020 at 12:35:09PM +0100, John Paul Adrian Glaubitz wrote:
> >> Hi Mike!
> >>
> >> On 12/1/20 11:29 AM, Mike Rapoport wrote:
> >>> These changes are in linux-mm tree (https://www.ozlabs.org/~akpm/mmotm/
> >>> with a mirror at https://github.com/hnaz/linux-mm)
> >>>
> >>> I beleive they will be coming in 5.11.
> >>
> >> Just pulled from that tree and gave it a try, it actually fails to build:
> >>
> >> LDS arch/ia64/kernel/vmlinux.lds
> >> AS arch/ia64/kernel/entry.o
> >> arch/ia64/kernel/entry.S: Assembler messages:
> >> arch/ia64/kernel/entry.S:710: Error: Operand 2 of `and' should be a general register
> >> arch/ia64/kernel/entry.S:710: Error: qualifying predicate not followed by instruction
> >> arch/ia64/kernel/entry.S:848: Error: Operand 2 of `and' should be a general register
> >> arch/ia64/kernel/entry.S:848: Error: qualifying predicate not followed by instruction
> >> GEN usr/initramfs_data.cpio
> >> make[1]: *** [scripts/Makefile.build:364: arch/ia64/kernel/entry.o] Error 1
> >> make: *** [Makefile:1797: arch/ia64/kernel] Error 2
> >> make: *** Waiting for unfinished jobs....
> >> CC init/do_mounts_initrd.o
> >> SHIPPED usr/initramfs_inc_data
> >> AS usr/initramfs_data.o
> >
> > Hmm, it was buidling fine with v5.10-rc2-mmotm-2020-11-07-21-40.
> > I'll try to see what could cause this.
> >
> > Do you build with defconfig or do you use a custom config?
>
> That's with "localmodconfig", see attached configuration file.

Thanks.
It seems that the recent addition of TIF_NOTIFY_SIGNAL to ia64 in
linux-next caused the issue. Can you please try the below patch?