From: kernel test robot <lkp@intel.com>
To: alexs@kernel.org
Cc: oe-kbuild-all@lists.linux.dev
Subject: [alexshi:pmdunify 1/6] arch/x86/include/asm/pgtable-3level.h:58:2: error: use of undeclared identifier 'pudval_t'
Date: Sat, 27 Dec 2025 15:25:52 +0800 [thread overview]
Message-ID: <202512271531.oRkjs0xt-lkp@intel.com> (raw)
Hi Alex,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://github.com/alexshi/linux.git pmdunify
head: 694b5dc7bcd7ba28db0bc95b24a78861bdffefc7
commit: 7c4dfaf03d4105a4daf3dc7baa6070bcab92a7fb [1/6] replace pudval_t by pmdval_t
config: i386-buildonly-randconfig-001-20251227 (https://download.01.org/0day-ci/archive/20251227/202512271531.oRkjs0xt-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251227/202512271531.oRkjs0xt-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512271531.oRkjs0xt-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/x86/kernel/asm-offsets.c:14:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:17:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:9:
In file included from include/linux/sched/task.h:13:
In file included from include/linux/uaccess.h:13:
In file included from arch/x86/include/asm/uaccess.h:17:
In file included from arch/x86/include/asm/tlbflush.h:17:
In file included from arch/x86/include/asm/pgtable.h:936:
In file included from arch/x86/include/asm/pgtable_32.h:36:
>> arch/x86/include/asm/pgtable-3level.h:58:2: error: expected expression
58 | pxx_xchg64(pud, pudp, native_pud_val(pud));
| ^
arch/x86/include/asm/pgtable-3level.h:23:34: note: expanded from macro 'pxx_xchg64'
23 | _pxx##val_t *_p = (_pxx##val_t *)_ptr; \
| ^
>> arch/x86/include/asm/pgtable-3level.h:58:2: error: use of undeclared identifier 'pudval_t'
arch/x86/include/asm/pgtable-3level.h:23:21: note: expanded from macro 'pxx_xchg64'
23 | _pxx##val_t *_p = (_pxx##val_t *)_ptr; \
| ^
<scratch space>:90:1: note: expanded from here
90 | pudval_t
| ^
In file included from arch/x86/kernel/asm-offsets.c:14:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:17:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:9:
In file included from include/linux/sched/task.h:13:
In file included from include/linux/uaccess.h:13:
In file included from arch/x86/include/asm/uaccess.h:17:
In file included from arch/x86/include/asm/tlbflush.h:17:
In file included from arch/x86/include/asm/pgtable.h:936:
In file included from arch/x86/include/asm/pgtable_32.h:36:
>> arch/x86/include/asm/pgtable-3level.h:58:2: error: use of undeclared identifier 'pudval_t'
arch/x86/include/asm/pgtable-3level.h:23:2: note: expanded from macro 'pxx_xchg64'
23 | _pxx##val_t *_p = (_pxx##val_t *)_ptr; \
| ^
<scratch space>:89:1: note: expanded from here
89 | pudval_t
| ^
In file included from arch/x86/kernel/asm-offsets.c:14:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:17:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:9:
In file included from include/linux/sched/task.h:13:
In file included from include/linux/uaccess.h:13:
In file included from arch/x86/include/asm/uaccess.h:17:
In file included from arch/x86/include/asm/tlbflush.h:17:
In file included from arch/x86/include/asm/pgtable.h:936:
In file included from arch/x86/include/asm/pgtable_32.h:36:
>> arch/x86/include/asm/pgtable-3level.h:58:2: error: use of undeclared identifier '_p'
arch/x86/include/asm/pgtable-3level.h:23:15: note: expanded from macro 'pxx_xchg64'
23 | _pxx##val_t *_p = (_pxx##val_t *)_ptr; \
| ^
>> arch/x86/include/asm/pgtable-3level.h:58:2: error: expected ';' after expression
arch/x86/include/asm/pgtable-3level.h:24:14: note: expanded from macro 'pxx_xchg64'
24 | _pxx##val_t _o = *_p; \
| ^
>> arch/x86/include/asm/pgtable-3level.h:58:2: error: use of undeclared identifier 'pudval_t'
arch/x86/include/asm/pgtable-3level.h:24:2: note: expanded from macro 'pxx_xchg64'
24 | _pxx##val_t _o = *_p; \
| ^
<scratch space>:91:1: note: expanded from here
91 | pudval_t
| ^
In file included from arch/x86/kernel/asm-offsets.c:14:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:13:
In file included from include/linux/cgroup.h:17:
In file included from include/linux/fs.h:5:
In file included from include/linux/fs/super.h:5:
In file included from include/linux/fs/super_types.h:13:
In file included from include/linux/percpu-rwsem.h:7:
In file included from include/linux/rcuwait.h:6:
In file included from include/linux/sched/signal.h:9:
In file included from include/linux/sched/task.h:13:
In file included from include/linux/uaccess.h:13:
In file included from arch/x86/include/asm/uaccess.h:17:
In file included from arch/x86/include/asm/tlbflush.h:17:
In file included from arch/x86/include/asm/pgtable.h:936:
In file included from arch/x86/include/asm/pgtable_32.h:36:
>> arch/x86/include/asm/pgtable-3level.h:58:2: error: use of undeclared identifier '_o'
arch/x86/include/asm/pgtable-3level.h:24:14: note: expanded from macro 'pxx_xchg64'
24 | _pxx##val_t _o = *_p; \
| ^
>> arch/x86/include/asm/pgtable-3level.h:58:2: error: use of undeclared identifier '_p'
arch/x86/include/asm/pgtable-3level.h:24:20: note: expanded from macro 'pxx_xchg64'
24 | _pxx##val_t _o = *_p; \
| ^
>> arch/x86/include/asm/pgtable-3level.h:58:2: error: use of undeclared identifier '_p'
arch/x86/include/asm/pgtable-3level.h:25:31: note: expanded from macro 'pxx_xchg64'
25 | do { } while (!try_cmpxchg64(_p, &_o, (_val))); \
| ^
>> arch/x86/include/asm/pgtable-3level.h:58:2: error: use of undeclared identifier '_p'
arch/x86/include/asm/pgtable-3level.h:25:31: note: expanded from macro 'pxx_xchg64'
25 | do { } while (!try_cmpxchg64(_p, &_o, (_val))); \
| ^
>> arch/x86/include/asm/pgtable-3level.h:58:2: error: use of undeclared identifier '_o'
arch/x86/include/asm/pgtable-3level.h:25:36: note: expanded from macro 'pxx_xchg64'
25 | do { } while (!try_cmpxchg64(_p, &_o, (_val))); \
| ^
>> arch/x86/include/asm/pgtable-3level.h:58:2: error: use of undeclared identifier '_o'
arch/x86/include/asm/pgtable-3level.h:25:36: note: expanded from macro 'pxx_xchg64'
25 | do { } while (!try_cmpxchg64(_p, &_o, (_val))); \
| ^
>> arch/x86/include/asm/pgtable-3level.h:58:2: error: use of undeclared identifier '_o'
arch/x86/include/asm/pgtable-3level.h:26:21: note: expanded from macro 'pxx_xchg64'
26 | native_make_##_pxx(_o); \
| ^
13 errors generated.
make[3]: *** [scripts/Makefile.build:182: arch/x86/kernel/asm-offsets.s] Error 1 shuffle=1314997945
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1314: prepare0] Error 2 shuffle=1314997945
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:248: __sub-make] Error 2 shuffle=1314997945
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2 shuffle=1314997945
make: Target 'prepare' not remade because of errors.
vim +/pudval_t +58 arch/x86/include/asm/pgtable-3level.h
4b01fef89a10ce include/asm-x86/pgtable-3level.h Joe Perches 2008-03-23 52
3dc494e86d1c93 include/asm-i386/pgtable-3level.h Jeremy Fitzhardinge 2007-05-02 53 static inline void native_set_pud(pud_t *pudp, pud_t pud)
3dc494e86d1c93 include/asm-i386/pgtable-3level.h Jeremy Fitzhardinge 2007-05-02 54 {
ea4654e0885348 arch/x86/include/asm/pgtable-3level.h Breno Leitao 2023-11-21 55 #ifdef CONFIG_MITIGATION_PAGE_TABLE_ISOLATION
9b7b8bbd7f6ba4 arch/x86/include/asm/pgtable-3level.h Joerg Roedel 2018-07-18 56 pud.p4d.pgd = pti_set_user_pgtbl(&pudp->p4d.pgd, pud.p4d.pgd);
9b7b8bbd7f6ba4 arch/x86/include/asm/pgtable-3level.h Joerg Roedel 2018-07-18 57 #endif
d4a72e7fe61a1e arch/x86/include/asm/pgtable-3level.h Peter Zijlstra 2022-10-21 @58 pxx_xchg64(pud, pudp, native_pud_val(pud));
3dc494e86d1c93 include/asm-i386/pgtable-3level.h Jeremy Fitzhardinge 2007-05-02 59 }
^1da177e4c3f41 include/asm-i386/pgtable-3level.h Linus Torvalds 2005-04-16 60
:::::: The code at line 58 was first introduced by commit
:::::: d4a72e7fe61a1ea9ad4accf3532411ca685eaead x86/mm/pae: Get rid of set_64bit()
:::::: TO: Peter Zijlstra <peterz@infradead.org>
:::::: CC: Dave Hansen <dave.hansen@linux.intel.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-12-27 7:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202512271531.oRkjs0xt-lkp@intel.com \
--to=lkp@intel.com \
--cc=alexs@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.