* ld.lld: error: vmlinux.a(af_vsock.o at 1186296) <inline asm>:5:8: unpredictable STXR instruction, status is also a source
@ 2026-07-06 8:42 kernel test robot
2026-07-10 14:22 ` Stefano Garzarella
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2026-07-06 8:42 UTC (permalink / raw)
To: Bobby Eshleman
Cc: llvm, oe-kbuild-all, linux-kernel, Paolo Abeni,
Stefano Garzarella
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8cdeaa50eae8dad34885515f62559ee83e7e8dda
commit: 102eab95f025b4d3f3a6c0a858400aca2af2fe52 vsock: lock down child_ns_mode as write-once
date: 4 months ago
config: arm64-randconfig-001-20260706 (https://download.01.org/0day-ci/archive/20260706/202607061644.jD93AjWc-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260706/202607061644.jD93AjWc-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
| Fixes: 102eab95f025 ("vsock: lock down child_ns_mode as write-once")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607061644.jD93AjWc-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: vmlinux.a(af_vsock.o at 1186296) <inline asm>:5:8: unpredictable STXR instruction, status is also a source
stlxr w8, w8, [x21]
^
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: ld.lld: error: vmlinux.a(af_vsock.o at 1186296) <inline asm>:5:8: unpredictable STXR instruction, status is also a source
2026-07-06 8:42 ld.lld: error: vmlinux.a(af_vsock.o at 1186296) <inline asm>:5:8: unpredictable STXR instruction, status is also a source kernel test robot
@ 2026-07-10 14:22 ` Stefano Garzarella
2026-07-10 15:54 ` Nathan Chancellor
0 siblings, 1 reply; 3+ messages in thread
From: Stefano Garzarella @ 2026-07-10 14:22 UTC (permalink / raw)
To: kernel test robot
Cc: Bobby Eshleman, llvm, oe-kbuild-all, linux-kernel, Paolo Abeni
On Mon, 6 Jul 2026 at 10:44, kernel test robot <lkp@intel.com> wrote:
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 8cdeaa50eae8dad34885515f62559ee83e7e8dda
> commit: 102eab95f025b4d3f3a6c0a858400aca2af2fe52 vsock: lock down child_ns_mode as write-once
> date: 4 months ago
> config: arm64-randconfig-001-20260706 (https://download.01.org/0day-ci/archive/20260706/202607061644.jD93AjWc-lkp@intel.com/config)
> compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260706/202607061644.jD93AjWc-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
> | Fixes: 102eab95f025 ("vsock: lock down child_ns_mode as write-once")
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202607061644.jD93AjWc-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> >> ld.lld: error: vmlinux.a(af_vsock.o at 1186296) <inline asm>:5:8: unpredictable STXR instruction, status is also a source
> stlxr w8, w8, [x21]
> ^
>
Could this be related to https://github.com/llvm/llvm-project/issues/106380 ?
That issue seems fixed in llvm >= 20
Stefano
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: ld.lld: error: vmlinux.a(af_vsock.o at 1186296) <inline asm>:5:8: unpredictable STXR instruction, status is also a source
2026-07-10 14:22 ` Stefano Garzarella
@ 2026-07-10 15:54 ` Nathan Chancellor
0 siblings, 0 replies; 3+ messages in thread
From: Nathan Chancellor @ 2026-07-10 15:54 UTC (permalink / raw)
To: Stefano Garzarella
Cc: kernel test robot, Bobby Eshleman, llvm, oe-kbuild-all,
linux-kernel, Paolo Abeni
On Fri, Jul 10, 2026 at 04:22:20PM +0200, Stefano Garzarella wrote:
> On Mon, 6 Jul 2026 at 10:44, kernel test robot <lkp@intel.com> wrote:
> >
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: 8cdeaa50eae8dad34885515f62559ee83e7e8dda
> > commit: 102eab95f025b4d3f3a6c0a858400aca2af2fe52 vsock: lock down child_ns_mode as write-once
> > date: 4 months ago
> > config: arm64-randconfig-001-20260706 (https://download.01.org/0day-ci/archive/20260706/202607061644.jD93AjWc-lkp@intel.com/config)
> > compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260706/202607061644.jD93AjWc-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
> > | Fixes: 102eab95f025 ("vsock: lock down child_ns_mode as write-once")
> > | Reported-by: kernel test robot <lkp@intel.com>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202607061644.jD93AjWc-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>):
> >
> > >> ld.lld: error: vmlinux.a(af_vsock.o at 1186296) <inline asm>:5:8: unpredictable STXR instruction, status is also a source
> > stlxr w8, w8, [x21]
> > ^
> >
>
> Could this be related to https://github.com/llvm/llvm-project/issues/106380 ?
> That issue seems fixed in llvm >= 20
Indeed, this is resolved by
https://github.com/llvm/llvm-project/commit/7183771834d9035ffbedd8f1ff9233b16722b986
in LLVM 20.1.0, I confirmed with a reverse bisect. It looks like
this issue triggers on undefined values being passed to inline asm but I
don't see where there is an undefined value in the blamed commit but I
did not look too hard. Presumably this is around the try_cmpxchg() in
vsock_net_set_child_mode(). I am not sure this will be easily to
workaround so we might just have to leave it broken.
--
Cheers,
Nathan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-07-10 15:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-06 8:42 ld.lld: error: vmlinux.a(af_vsock.o at 1186296) <inline asm>:5:8: unpredictable STXR instruction, status is also a source kernel test robot
2026-07-10 14:22 ` Stefano Garzarella
2026-07-10 15:54 ` Nathan Chancellor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox