Re: Approaches for same-on-same linux-user execve?

2021-10-14 Thread Assad Hashmi
> ARM's armie takes a different approach with the trap and emulate of > SIGILL instructions. This works well for the occasional "new" > instruction but will be less efficient overall if your instruction > stream is entirely novel. To clarify: earlier versions of armie did use the SIGILL

Re: Approaches for same-on-same linux-user execve?

2021-10-08 Thread Arnd Bergmann
On Thu, Oct 7, 2021 at 4:32 PM Alex Bennée wrote: > > Are there any other approaches you could take? Which do you think has > the most merit? Reading through the ELF loader code in the kernel, I had another idea: If qemu-user could be turned into a replacement for /lilb/ld.so and act as an ELF

Re: Approaches for same-on-same linux-user execve?

2021-10-08 Thread Daniel P . Berrangé
On Thu, Oct 07, 2021 at 03:32:19PM +0100, Alex Bennée wrote: > Hi, > > I came across a use-case this week for ARM although this may be also > applicable to architectures where QEMU's emulation is ahead of the > hardware currently widely available - for example if you want to > exercise SVE code

Re: Approaches for same-on-same linux-user execve?

2021-10-08 Thread Alex Bennée
Arnd Bergmann writes: > On Thu, Oct 7, 2021 at 4:32 PM Alex Bennée wrote: >> >> I came across a use-case this week for ARM although this may be also >> applicable to architectures where QEMU's emulation is ahead of the >> hardware currently widely available - for example if you want to >>

Re: Approaches for same-on-same linux-user execve?

2021-10-07 Thread Warner Losh
On Thu, Oct 7, 2021 at 8:56 AM Alex Bennée wrote: > Hi, > > I came across a use-case this week for ARM although this may be also > applicable to architectures where QEMU's emulation is ahead of the > hardware currently widely available - for example if you want to > exercise SVE code on AArch64.

Re: Approaches for same-on-same linux-user execve?

2021-10-07 Thread Laurent Vivier
Le 07/10/2021 à 16:32, Alex Bennée a écrit : > Hi, > > I came across a use-case this week for ARM although this may be also > applicable to architectures where QEMU's emulation is ahead of the > hardware currently widely available - for example if you want to > exercise SVE code on AArch64. When

Re: Approaches for same-on-same linux-user execve?

2021-10-07 Thread Arnd Bergmann
On Thu, Oct 7, 2021 at 4:32 PM Alex Bennée wrote: > > I came across a use-case this week for ARM although this may be also > applicable to architectures where QEMU's emulation is ahead of the > hardware currently widely available - for example if you want to > exercise SVE code on AArch64. When

Approaches for same-on-same linux-user execve?

2021-10-07 Thread Alex Bennée
Hi, I came across a use-case this week for ARM although this may be also applicable to architectures where QEMU's emulation is ahead of the hardware currently widely available - for example if you want to exercise SVE code on AArch64. When the linux-user architecture is not the same as the host