Re: [PATCH 0/3] linux-user: Implement x86_64 vsyscalls

2020-01-16 Thread Richard Henderson
On 1/16/20 4:05 AM, Alex Bennée wrote: > It turns out the /sbin/ldconfig crash is a regression w.r.t from > stretch->buster so unrelated to these patches. However I've been giving > them a spin with the linux vdso selftests and stuff is breaking which I > guess means it's incomplete? ... > Also fro

Re: [PATCH 0/3] linux-user: Implement x86_64 vsyscalls

2020-01-16 Thread Richard Henderson
On 1/16/20 4:30 AM, Alex Bennée wrote: > /x86_64-linux-user/qemu-x86_64 > ~/lsrc/linux.git/tools/testing/selftests/x86/test_vsyscall_64 > [WARN] failed to find vDSO > no vsyscall map in /proc/self/maps > [RUN] test gettimeofday() > [RUN] test time() > [RUN] getcpu() on CPU 0 > [RUN]

Re: [PATCH 0/3] linux-user: Implement x86_64 vsyscalls

2020-01-16 Thread Alex Bennée
Richard Henderson writes: > The x86_64 abi has a legacy vsyscall page. The kernel folk > have been trying to deprecate this since at least v3.1, but > > (1) We don't implement the vdso that replaces vsyscalls, > (2) As of v5.5, the vsyscall page is still enabled by default. > > This lack is af

Re: [PATCH 0/3] linux-user: Implement x86_64 vsyscalls

2020-01-16 Thread Alex Bennée
Richard Henderson writes: > The x86_64 abi has a legacy vsyscall page. The kernel folk > have been trying to deprecate this since at least v3.1, but > > (1) We don't implement the vdso that replaces vsyscalls, > (2) As of v5.5, the vsyscall page is still enabled by default. > > This lack is af

Re: [PATCH 0/3] linux-user: Implement x86_64 vsyscalls

2020-01-15 Thread Richard Henderson
On 1/15/20 12:14 AM, Laurent Vivier wrote: > I'll take this series through the linux-user branch except if you prefer > to do the pull request yourself via another branch (x86 tcg?). Through the linux-user branch is the right way, I think. Thanks, r~

Re: [PATCH 0/3] linux-user: Implement x86_64 vsyscalls

2020-01-15 Thread Laurent Vivier
Le 14/01/2020 à 22:09, Richard Henderson a écrit : > The x86_64 abi has a legacy vsyscall page. The kernel folk > have been trying to deprecate this since at least v3.1, but > > (1) We don't implement the vdso that replaces vsyscalls, > (2) As of v5.5, the vsyscall page is still enabled by defaul

Re: [PATCH 0/3] linux-user: Implement x86_64 vsyscalls

2020-01-14 Thread Laurent Desnogues
On Tue, Jan 14, 2020 at 10:09 PM Richard Henderson wrote: [...] > I vaguely remember someone (Paolo?) implementing something like > this many years ago, but clearly it never got merged. That was me back in 2009: https://lists.gnu.org/archive/html/qemu-devel/2009-07/msg00881.html Glad it will fi

Re: [PATCH 0/3] linux-user: Implement x86_64 vsyscalls

2020-01-14 Thread Paolo Bonzini
On 14/01/20 22:09, Richard Henderson wrote: > I vaguely remember someone (Paolo?) implementing something like > this many years ago, but clearly it never got merged. Nope, certainly not me. > In any case, this emulation has been missing for too long. > > > r~ > > > Richard Henderson (3): >

[PATCH 0/3] linux-user: Implement x86_64 vsyscalls

2020-01-14 Thread Richard Henderson
The x86_64 abi has a legacy vsyscall page. The kernel folk have been trying to deprecate this since at least v3.1, but (1) We don't implement the vdso that replaces vsyscalls, (2) As of v5.5, the vsyscall page is still enabled by default. This lack is affecting Peter's linux-user testing. The d