[arm-platforms:kvm-arm64/pan-opticon 12/15] arm64/set_id_regs.c:94:2: error: use of undeclared identifier 'ID_AA64ISAR0_EL1_TME_SHIFT'

kernel test robot lkp at intel.com
Sun Jan 4 21:02:37 PST 2026


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/pan-opticon
head:   e0c0ca59df5170d6045ce9389baed5f38d0d1499
commit: 2cb34575bea47cd18dd0fd0a6997548617d05255 [12/15] KVM: arm64: Remove all traces of FEAT_TME
config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260105/202601050608.TC3CBB7L-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project f43d6834093b19baf79beda8c0337ab020ac5f17)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260105/202601050608.TC3CBB7L-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601050608.TC3CBB7L-lkp@intel.com/

Note: the arm-platforms/kvm-arm64/pan-opticon HEAD e0c0ca59df5170d6045ce9389baed5f38d0d1499 builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

>> arm64/set_id_regs.c:94:2: error: use of undeclared identifier 'ID_AA64ISAR0_EL1_TME_SHIFT'
      94 |         REG_FTR_BITS(FTR_LOWER_SAFE, ID_AA64ISAR0_EL1, TME, 0),
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arm64/set_id_regs.c:58:52: note: expanded from macro 'REG_FTR_BITS'
      58 |         __REG_FTR_BITS(reg##_##field, FTR_UNSIGNED, type, reg##_##field##_SHIFT, \
         |                                                           ^~~~~~~~~~~~~~~~~~~~~
   <scratch space>:11:1: note: expanded from here
      11 | ID_AA64ISAR0_EL1_TME_SHIFT
         | ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> arm64/set_id_regs.c:94:2: error: use of undeclared identifier 'ID_AA64ISAR0_EL1_TME_MASK'
      94 |         REG_FTR_BITS(FTR_LOWER_SAFE, ID_AA64ISAR0_EL1, TME, 0),
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   arm64/set_id_regs.c:59:10: note: expanded from macro 'REG_FTR_BITS'
      59 |                        reg##_##field##_MASK, safe_val)
         |                        ^~~~~~~~~~~~~~~~~~~~
   <scratch space>:14:1: note: expanded from here
      14 | ID_AA64ISAR0_EL1_TME_MASK
         | ^~~~~~~~~~~~~~~~~~~~~~~~~
   2 errors generated.

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



More information about the linux-arm-kernel mailing list