Re: [PATCH 6.12 000/403] 6.12.109-rc1 review

From: Pavel Machek

Date: Fri Sep 04 2026 - 09:38:23 EST


Hi!

> > Dev Jain <dev.jain@xxxxxxx>
> > mm/page_vma_mapped: use huge_ptep_get() for hugetlb
>
> This fails build on arm (config attached)
>
> CC mm/page_vma_mapped.o
> ../mm/page_vma_mapped.c: In function 'check_pte':
> ../mm/page_vma_mapped.c:103:25: error: implicit declaration of function 'huge_ptep_get' [-Wimplicit-function-declaratio]
> 103 | ptent = huge_ptep_get(pvmw->vma->vm_mm, pvmw->address,
> | ^~~~~~~~~~~~~
> make[3]: *** [../scripts/Makefile.build:229: mm/page_vma_mapped.o] Error
>
>
> Don't have time to look further right now, might have a look after kids
> sleep if nobody beat me to it
>
> (No problem on aarch64, build & test passed)

We see this too, in multiple configs:

https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/jobs/16299953803

mm/page_vma_mapped.c: In function 'check_pte':
1169
06:52:54
mm/page_vma_mapped.c:103:25: error: implicit declaration of function 'huge_ptep_get' [-Werror=implicit-function-declaration]
1170
06:52:54
103 | ptent = huge_ptep_get(pvmw->vma->vm_mm, pvmw->address,
1171
06:52:54
| ^~~~~~~~~~~~~
1172
06:52:54
CC drivers/pci/setup-bus.o

Best regards,
Pavel

Attachment: signature.asc
Description: PGP signature