From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932590AbdJ0UMC (ORCPT ); Fri, 27 Oct 2017 16:12:02 -0400 Received: from mx2.suse.de ([195.135.220.15]:56164 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932470AbdJ0UMB (ORCPT ); Fri, 27 Oct 2017 16:12:01 -0400 Date: Fri, 27 Oct 2017 22:12:03 +0200 From: Borislav Petkov To: Andy Lutomirski Cc: X86 ML , "linux-kernel@vger.kernel.org" , Brian Gerst , Dave Hansen , Linus Torvalds Subject: Re: [PATCH 11/18] x86/asm/64: Pass sp0 directly to load_sp0() Message-ID: <20171027201203.GG12039@nazgul.tnic> References: <8b9c4c29e8a0aea3d46dfdff8b29609f4a0cb3ff.1509006199.git.luto@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8b9c4c29e8a0aea3d46dfdff8b29609f4a0cb3ff.1509006199.git.luto@kernel.org> User-Agent: Mutt/1.6.0 (2016-04-01) 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:43AM -0700, Andy Lutomirski wrote: > load_sp0() had an odd signature: > > void load_sp0(struct tss_struct *tss, struct thread_struct *thread); > > Simplify it to: > > void load_sp0(unsigned long sp0); > > Signed-off-by: Andy Lutomirski > --- > arch/x86/include/asm/paravirt.h | 5 ++--- > arch/x86/include/asm/paravirt_types.h | 2 +- > arch/x86/include/asm/processor.h | 9 ++++----- > arch/x86/kernel/cpu/common.c | 4 ++-- > arch/x86/kernel/process_32.c | 2 +- > arch/x86/kernel/process_64.c | 2 +- > arch/x86/kernel/vm86_32.c | 14 ++++++-------- > arch/x86/xen/enlighten_pv.c | 7 +++---- > 8 files changed, 20 insertions(+), 25 deletions(-) Reviewed-by: Borislav Petkov -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --