Re: [PATCH v16 09/10] x86/arch_prctl: Selftest for ARCH_[GET|SET]_CPUID
From: Thomas Gleixner
Date: Fri Oct 20 2017 - 04:55:30 EST
On Tue, 10 Oct 2017, Kyle Huey wrote:
> On Tue, Oct 10, 2017 at 8:35 PM, Wanpeng Li <kernellwp@xxxxxxxxx> wrote:
> > Hi Kyle,
> > 2017-03-20 16:16 GMT+08:00 Kyle Huey <me@xxxxxxxxxxxx>:
> >> Test disabling and reenabling the cpuid instruction via the new arch_prctl
> >> ARCH_SET_CPUID, retrieving the current state via ARCH_GET_CPUID, and the
> >> expected behaviors across fork() and exec().
> >>
> >> Signed-off-by: Kyle Huey <khuey@xxxxxxxxxxxx>
> >> ---
> >> tools/testing/selftests/x86/Makefile | 2 +-
> >> tools/testing/selftests/x86/cpuid_fault.c | 251 ++++++++++++++++++++++++++++++
> >
> > I'm not sure why this commit is not merged to upstream. I test
> > 4.14-rc3 w/ this testcase on a haswell client, however I encounter the
> > below splat, any idea?
>
> Thanks for pointing out that this never got merged. That's quite
> disappointing, especially after reviewers insisted I write this test.
Sorry about that. I expected it to be picked up by Shuah and I assumed the
same happend the other way round.
Can you please resubmit?
Thanks,
tglx