lkml.org 
[lkml]   [2016]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] selftests/x86: Disable ldt_gdt_64 for now
From
Date
On 01/06/2016 12:51 PM, Andy Lutomirski wrote:
> ldt_gdt.c relies on cross-cpu invalidation of SS to do one of its
> tests. On 32-bit builds, this works fine, but on 64-bit builds, it
> only works if the kernel has proper SS sigcontext handling for
> 64-bit user programs.
>
> Since the SS fixes are currently reverted, restrict the test case to
> 32 bits for now.
>
> In principle, I could change the test to use a different segment
> register, but it would be messy: CS can't point to the LDT for
> 64-bit code, and the other registers don't result in immediate
> faults because they aren't reloaded on kernel -> user transitions.
>
> When we fix sigcontext (in 4.6?), we can revert this.
>
> Signed-off-by: Andy Lutomirski <luto@kernel.org>
> --

Andy,

This patch didn't apply to linux-kselftest next.
It probably has to go through x86.

thanks,
-- Shuah

--
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
shuahkh@osg.samsung.com | (970) 217-8978

\
 
 \ /
  Last update: 2016-01-07 22:01    [W:0.045 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site