Re: [PATCH] mm/page_vma_mapped_walk: add missing pgtable entry accessors

From: kernel test robot

Date: Sat May 02 2026 - 00:55:39 EST


Hi Alexander,

kernel test robot noticed the following build errors:

[auto build test ERROR on akpm-mm/mm-everything]

url: https://github.com/intel-lab-lkp/linux/commits/Alexander-Gordeev/mm-page_vma_mapped_walk-add-missing-pgtable-entry-accessors/20260429-030409
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20260427052000.196402-1-agordeev%40linux.ibm.com
patch subject: [PATCH] mm/page_vma_mapped_walk: add missing pgtable entry accessors
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20260502/202605021251.huVQW8Xg-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260502/202605021251.huVQW8Xg-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605021251.huVQW8Xg-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

In file included from <command-line>:
mm/page_vma_mapped.c: In function 'page_vma_mapped_walk':
>> arch/arm/include/asm/pgtable.h:144:44: error: 'pgdp' undeclared (first use in this function); did you mean 'pgd'?
144 | #define pgdp_get(pgpd) READ_ONCE(*pgdp)
| ^~~~
include/linux/compiler_types.h:679:23: note: in definition of macro '__compiletime_assert'
679 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:699:9: note: in expansion of macro '_compiletime_assert'
699 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/asm-generic/rwonce.h:36:9: note: in expansion of macro 'compiletime_assert'
36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^~~~~~~~~~~~~~~~~~
include/asm-generic/rwonce.h:36:28: note: in expansion of macro '__native_word'
36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^~~~~~~~~~~~~
include/asm-generic/rwonce.h:49:9: note: in expansion of macro 'compiletime_assert_rwonce_type'
49 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm/include/asm/pgtable.h:144:33: note: in expansion of macro 'READ_ONCE'
144 | #define pgdp_get(pgpd) READ_ONCE(*pgdp)
| ^~~~~~~~~
mm/page_vma_mapped.c:222:34: note: in expansion of macro 'pgdp_get'
222 | if (!pgd_present(pgdp_get(pgd))) {
| ^~~~~~~~
arch/arm/include/asm/pgtable.h:144:44: note: each undeclared identifier is reported only once for each function it appears in
144 | #define pgdp_get(pgpd) READ_ONCE(*pgdp)
| ^~~~
include/linux/compiler_types.h:679:23: note: in definition of macro '__compiletime_assert'
679 | if (!(condition)) \
| ^~~~~~~~~
include/linux/compiler_types.h:699:9: note: in expansion of macro '_compiletime_assert'
699 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/asm-generic/rwonce.h:36:9: note: in expansion of macro 'compiletime_assert'
36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^~~~~~~~~~~~~~~~~~
include/asm-generic/rwonce.h:36:28: note: in expansion of macro '__native_word'
36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^~~~~~~~~~~~~
include/asm-generic/rwonce.h:49:9: note: in expansion of macro 'compiletime_assert_rwonce_type'
49 | compiletime_assert_rwonce_type(x); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm/include/asm/pgtable.h:144:33: note: in expansion of macro 'READ_ONCE'
144 | #define pgdp_get(pgpd) READ_ONCE(*pgdp)
| ^~~~~~~~~
mm/page_vma_mapped.c:222:34: note: in expansion of macro 'pgdp_get'
222 | if (!pgd_present(pgdp_get(pgd))) {
| ^~~~~~~~


vim +144 arch/arm/include/asm/pgtable.h

4eec4b1396ac6a6 Russell King 2010-11-26 143
eba2591d99d1f14 Alexandre Ghiti 2023-12-13 @144 #define pgdp_get(pgpd) READ_ONCE(*pgdp)
eba2591d99d1f14 Alexandre Ghiti 2023-12-13 145

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki