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

From: "David Hildenbrand (Arm)" <[email-masked]>
Date: Tue, 21 Apr 2026 15:06:32 +0200

On 4/21/26 14:59, Mark Brown wrote:
> Hi all,
> 
> After merging the mm-hotfixes tree, today's linux-next build (arm64
> allnoconfig) failed like this:
> 
> ld: Unexpected GOT/PLT entries detected!
> ld: Unexpected run-time procedure linkages detected!
> ld: arch/arm64/mm/fault.o: in function `tag_clear_highpages':
> fault.c:(.text+0xc40): undefined reference to `mte_clear_page_tags'
> 
> Caused by commit
> 
>   99e63a49650cc (mm/page_alloc: fix initialization of tags of the huge zero folio with init_on_free)
> 

The patch will get resent (and should not have immediately been queued
in the mm-hotfixes branch).

Feel free to drop the patch on your tree.

> I have used the version from next-20260420 instead.  The commit removed
> the system_supports_mte() check from tag_clear_highpages() which makes
> the MTE operations in the function unconditional and goes badly when MTE
> is disabled in Kconfig, the system_supports_mte() check should be added
> back.

Right, or the function moved. But likely it will be added back for other
reasons.

-- 
Cheers,

David