From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751853AbdKAKIf (ORCPT ); Wed, 1 Nov 2017 06:08:35 -0400 Received: from mx2.suse.de ([195.135.220.15]:58339 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750848AbdKAKId (ORCPT ); Wed, 1 Nov 2017 06:08:33 -0400 Date: Wed, 1 Nov 2017 11:08:24 +0100 From: Borislav Petkov To: Andy Lutomirski Cc: X86 ML , "linux-kernel@vger.kernel.org" , Brian Gerst , Dave Hansen , Linus Torvalds Subject: Re: [PATCH 15/18] x86/asm/64: Remove all remaining direct thread_struct::sp0 reads Message-ID: <20171101100824.4yri7dy2qbn2jtjp@pd.tnic> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 26, 2017 at 01:26:47AM -0700, Andy Lutomirski wrote: > The only remaining readers in context switch code or vm86(), and > they all just want to update TSS.sp0 to match the current task. > Replace them all with a new helper update_sp0(). > > Signed-off-by: Andy Lutomirski > --- > arch/x86/include/asm/switch_to.h | 6 ++++++ > arch/x86/kernel/process_32.c | 2 +- > arch/x86/kernel/process_64.c | 2 +- > arch/x86/kernel/vm86_32.c | 4 ++-- > 4 files changed, 10 insertions(+), 4 deletions(-) Reviewed-by: Borislav Petkov -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --