linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Oliver Upton <oupton@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org,
	Marc Zyngier <maz@kernel.org>
Subject: [arm-platforms:kvm-arm64/feat_xnx 58/69] arch/arm64/kvm/at.c:1661:22: error: expected string literal before '__LSE_PREAMBLE'
Date: Tue, 25 Nov 2025 07:43:31 +0800	[thread overview]
Message-ID: <202511250700.kAutzJFm-lkp@intel.com> (raw)

tree:   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/202511250700.kAutzJFm-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251125/202511250700.kAutzJFm-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/202511250700.kAutzJFm-lkp@intel.com/

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	

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


                 reply	other threads:[~2025-11-24 23:44 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=202511250700.kAutzJFm-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=maz@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=oupton@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).