Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031304AbbDWXXM (ORCPT ); Thu, 23 Apr 2015 19:23:12 -0400 Received: from mail-qk0-f172.google.com ([209.85.220.172]:33903 "EHLO mail-qk0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031132AbbDWXXH (ORCPT ); Thu, 23 Apr 2015 19:23:07 -0400 MIME-Version: 1.0 In-Reply-To: References: <1429792491-5978-1-git-send-email-dvlasenk@redhat.com> <20150423211015.GS28327@pd.tnic> <55396617.4020303@zytor.com> <553972D5.2070104@zytor.com> <553977AA.9040802@zytor.com> From: Denys Vlasenko Date: Fri, 24 Apr 2015 01:22:46 +0200 Message-ID: Subject: Re: [PATCH] x86/asm/entry/32: Restore %ss before SYSRETL if necessary To: Linus Torvalds Cc: Andy Lutomirski , "H. Peter Anvin" , Borislav Petkov , Brian Gerst , Denys Vlasenko , Ingo Molnar , Steven Rostedt , Oleg Nesterov , Frederic Weisbecker , Alexei Starovoitov , Will Drewry , Kees Cook , "the arch/x86 maintainers" , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 781 Lines: 15 On Fri, Apr 24, 2015 at 1:04 AM, Linus Torvalds wrote: > And at that point,> the only cost is a a single no-op on most CPU's (we still don't know > _which_ AMD CPU's are affected, but I guess we could start off with > all of them and see if we can get an exhaustive list some way). This seems to be "architectural" for AMD CPU's, similar to Intel's SYSRET bug with non-canonical return address. Meaning, both bugs, are documented by respective companies. Both are officially "not a bug, but a feature". -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/