[PATCH] riscv: Add ERRATA_MIPS_P8700_WFI to replace WFI with mips.pause

kernel test robot lkp at intel.com
Wed May 13 19:24:59 PDT 2026


Hi Aleksa,

kernel test robot noticed the following build errors:

[auto build test ERROR on c369299895a591d96745d6492d4888259b004a9e]

url:    https://github.com/intel-lab-lkp/linux/commits/Aleksa-Paunovic-via-B4-Relay/riscv-Add-ERRATA_MIPS_P8700_WFI-to-replace-WFI-with-mips-pause/20260513-011847
base:   c369299895a591d96745d6492d4888259b004a9e
patch link:    https://lore.kernel.org/r/20260511-p8700-wfi-v1-1-099b1d10fcf2%40htecgroup.com
patch subject: [PATCH] riscv: Add ERRATA_MIPS_P8700_WFI to replace WFI with mips.pause
config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20260514/202605141021.Fw5Aqgfw-lkp@intel.com/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260514/202605141021.Fw5Aqgfw-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/202605141021.Fw5Aqgfw-lkp@intel.com/

All errors (new ones prefixed by >>):

>> <instantiation>:1:7: error: expected instruction format
   .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .endr
         ^
   <instantiation>:10:2: note: while in macro instantiation
    .rept 8; .insn 0x00501013; .endr;
    ^
   <instantiation>:8:2: note: while in macro instantiation
    ALT_NEW_CONTENT 0x127, 1, 1, ".rept 8; .insn 0x00501013; .endr;"
    ^
   arch/riscv/kernel/head.S:201:2: note: while in macro instantiation
    ALTERNATIVE_CFG "wfi; .rept 7; nop; .endr;", ".rept 8; .insn 0x00501013; .endr;", 0x127, 1, 1
    ^
   <instantiation>:1:25: error: expected instruction format
   .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .endr
                           ^
   <instantiation>:10:2: note: while in macro instantiation
    .rept 8; .insn 0x00501013; .endr;
    ^
   <instantiation>:8:2: note: while in macro instantiation
    ALT_NEW_CONTENT 0x127, 1, 1, ".rept 8; .insn 0x00501013; .endr;"
    ^
   arch/riscv/kernel/head.S:201:2: note: while in macro instantiation
    ALTERNATIVE_CFG "wfi; .rept 7; nop; .endr;", ".rept 8; .insn 0x00501013; .endr;", 0x127, 1, 1
    ^
   <instantiation>:1:43: error: expected instruction format
   .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .endr
                                             ^
   <instantiation>:10:2: note: while in macro instantiation
    .rept 8; .insn 0x00501013; .endr;
    ^
   <instantiation>:8:2: note: while in macro instantiation
    ALT_NEW_CONTENT 0x127, 1, 1, ".rept 8; .insn 0x00501013; .endr;"
    ^
   arch/riscv/kernel/head.S:201:2: note: while in macro instantiation
    ALTERNATIVE_CFG "wfi; .rept 7; nop; .endr;", ".rept 8; .insn 0x00501013; .endr;", 0x127, 1, 1
    ^
   <instantiation>:1:61: error: expected instruction format
   .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .endr
                                                               ^
   <instantiation>:10:2: note: while in macro instantiation
    .rept 8; .insn 0x00501013; .endr;
    ^
   <instantiation>:8:2: note: while in macro instantiation
    ALT_NEW_CONTENT 0x127, 1, 1, ".rept 8; .insn 0x00501013; .endr;"
    ^
   arch/riscv/kernel/head.S:201:2: note: while in macro instantiation
    ALTERNATIVE_CFG "wfi; .rept 7; nop; .endr;", ".rept 8; .insn 0x00501013; .endr;", 0x127, 1, 1
    ^
   <instantiation>:1:79: error: expected instruction format
   .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .endr
                                                                                 ^
   <instantiation>:10:2: note: while in macro instantiation
    .rept 8; .insn 0x00501013; .endr;
    ^
   <instantiation>:8:2: note: while in macro instantiation
    ALT_NEW_CONTENT 0x127, 1, 1, ".rept 8; .insn 0x00501013; .endr;"
    ^
   arch/riscv/kernel/head.S:201:2: note: while in macro instantiation
    ALTERNATIVE_CFG "wfi; .rept 7; nop; .endr;", ".rept 8; .insn 0x00501013; .endr;", 0x127, 1, 1
    ^
   <instantiation>:1:97: error: expected instruction format
   .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .endr
                                                                                                   ^
   <instantiation>:10:2: note: while in macro instantiation
    .rept 8; .insn 0x00501013; .endr;
    ^
   <instantiation>:8:2: note: while in macro instantiation
    ALT_NEW_CONTENT 0x127, 1, 1, ".rept 8; .insn 0x00501013; .endr;"
    ^
   arch/riscv/kernel/head.S:201:2: note: while in macro instantiation
    ALTERNATIVE_CFG "wfi; .rept 7; nop; .endr;", ".rept 8; .insn 0x00501013; .endr;", 0x127, 1, 1
    ^
   <instantiation>:1:115: error: expected instruction format
   .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .endr
                                                                                                                     ^
   <instantiation>:10:2: note: while in macro instantiation
    .rept 8; .insn 0x00501013; .endr;
    ^
   <instantiation>:8:2: note: while in macro instantiation
    ALT_NEW_CONTENT 0x127, 1, 1, ".rept 8; .insn 0x00501013; .endr;"
    ^
   arch/riscv/kernel/head.S:201:2: note: while in macro instantiation
    ALTERNATIVE_CFG "wfi; .rept 7; nop; .endr;", ".rept 8; .insn 0x00501013; .endr;", 0x127, 1, 1
    ^
   <instantiation>:1:133: error: expected instruction format
   .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .insn 0x00501013; .endr
                                                                                                                                       ^
   <instantiation>:10:2: note: while in macro instantiation
    .rept 8; .insn 0x00501013; .endr;
    ^
   <instantiation>:8:2: note: while in macro instantiation
    ALT_NEW_CONTENT 0x127, 1, 1, ".rept 8; .insn 0x00501013; .endr;"
    ^
   arch/riscv/kernel/head.S:201:2: note: while in macro instantiation
    ALTERNATIVE_CFG "wfi; .rept 7; nop; .endr;", ".rept 8; .insn 0x00501013; .endr;", 0x127, 1, 1
    ^

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



More information about the linux-riscv mailing list