lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 31 Oct 2017 18:08:33 -0700
From:   Dave Hansen <dave.hansen@...ux.intel.com>
To:     Brian Gerst <brgerst@...il.com>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Linux-MM <linux-mm@...ck.org>, moritz.lipp@...k.tugraz.at,
        daniel.gruss@...k.tugraz.at, michael.schwarz@...k.tugraz.at,
        Andy Lutomirski <luto@...nel.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Kees Cook <keescook@...gle.com>, hughd@...gle.com,
        the arch/x86 maintainers <x86@...nel.org>
Subject: Re: [PATCH 01/23] x86, kaiser: prepare assembly for entry/exit CR3
 switching

On 10/31/2017 05:43 PM, Brian Gerst wrote:
>>
>> +       RESTORE_CR3 save_reg=%r14
>> +
>>         testl   %ebx, %ebx                      /* swapgs needed? */
>>         jnz     nmi_restore
>>  nmi_swapgs:
>> _
> This all needs to be conditional on a config option.  Something with
> this amount of performance impact needs to be 100% optional.

The 07/23 patch does just this.  I should have at least called that out
in the description.

Powered by blists - more mailing lists