From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760370AbbJ3TdI (ORCPT ); Fri, 30 Oct 2015 15:33:08 -0400 Received: from mail.skyhub.de ([78.46.96.112]:58247 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752495AbbJ3TdG (ORCPT ); Fri, 30 Oct 2015 15:33:06 -0400 Date: Fri, 30 Oct 2015 20:32:53 +0100 From: Borislav Petkov To: Andy Lutomirski Cc: LKML , Andy Lutomirski , "H. Peter Anvin" , Ingo Molnar , Linus Torvalds , Peter Zijlstra , Thomas Gleixner Subject: Re: [RFC PATCH] x86/cpu: Fix MSR value truncation issue Message-ID: <20151030193253.GK20952@pd.tnic> References: <1446226105-13384-1-git-send-email-bp@alien8.de> <20151030192329.GJ20952@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 30, 2015 at 12:26:42PM -0700, Andy Lutomirski wrote: > Want to add that to the patch or make it another patch? Yeah, I'll make another one as it is going to document why we're explicitly ANDing with 0xffffffffull. > Fair enough. I suppose that this thing is a handful of separate > fields as opposed to being just a number. You mean MSR_STAR? Just the two upper 16-bit values. The lower 32-bit are reserved on Intel while on AMD they're "32-bit SYSCALL Target EIP", meaning that you can use SYSCALL on 32-bit too. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.