arch/arm64/kvm/at.c:1661:22: error: expected string literal before '__LSE_PREAMBLE'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/feat_xnx head: b11e3a28eae505407614e967167e0ffb62262ef0 commit: cdb7d03d475199ccc94a87254a91566c05038446 [58/69] KVM: arm64: Add helper for swapping guest descriptor config: arm64-randconfig-002-20251125 (https://download.01.org/0day-ci/archive/20251125/[email protected]/config) compiler: aarch64-linux-gcc (GCC) 13.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251125/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
arch/arm64/kvm/at.c: In function '__lse_swap_desc':
>> arch/arm64/kvm/at.c:1661:22: error: expected string literal before '__LSE_PREAMBLE'
1661 | asm volatile(__LSE_PREAMBLE
| ^~~~~~~~~~~~~~
vim +/__LSE_PREAMBLE +1661 arch/arm64/kvm/at.c
1653
1654 static int __lse_swap_desc(u64 __user *ptep, u64 old, u64 new)
1655 {
1656 u64 tmp = old;
1657 int ret = 0;
1658
1659 uaccess_enable_privileged();
1660
> 1661 asm volatile(__LSE_PREAMBLE 1662 "1: cas %[old], %[new], %[addr]\n" 1663 "2:\n" 1664 _ASM_EXTABLE_UACCESS_ERR(1b, 2b, %w[ret]) 1665 : [old] "+r" (old), [addr] "+Q" (*ptep), [ret] "+r" (ret) 1666 : [new] "r" (new) 1667 : "memory");
1668
1669 uaccess_disable_privileged();
1670
1671 if (ret)
1672 return ret;
1673 if (tmp != old)
1674 return -EAGAIN;
1675
1676 return ret;
1677 }
1678
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki