From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753446AbdKXLAH (ORCPT ); Fri, 24 Nov 2017 06:00:07 -0500 Received: from mail.skyhub.de ([5.9.137.197]:54754 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753239AbdKXLAG (ORCPT ); Fri, 24 Nov 2017 06:00:06 -0500 Date: Fri, 24 Nov 2017 12:00:00 +0100 From: Borislav Petkov To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, Dave Hansen , Andy Lutomirski , Thomas Gleixner , "H . Peter Anvin" , Peter Zijlstra , Linus Torvalds Subject: Re: [PATCH 05/43] x86/fixmap: Generalize the GDT fixmap mechanism Message-ID: <20171124110000.dpdsue3tzxujglmv@pd.tnic> References: <20171124091448.7649-1-mingo@kernel.org> <20171124091448.7649-6-mingo@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20171124091448.7649-6-mingo@kernel.org> 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 Fri, Nov 24, 2017 at 10:14:10AM +0100, Ingo Molnar wrote: > From: Andy Lutomirski > > Currently, the GDT is an ad-hoc array of pages, one per CPU, in the > fixmap. Generalize it to be an array of a new struct cpu_entry_area > so that we can cleanly add new things to it. > > Signed-off-by: Andy Lutomirski > Reviewed-by: Thomas Gleixner > Cc: Borislav Petkov > Cc: Borislav Petkov > Cc: Brian Gerst > Cc: Dave Hansen > Cc: Denys Vlasenko > Cc: H. Peter Anvin > Cc: Josh Poimboeuf > Cc: Linus Torvalds > Cc: Peter Zijlstra > Link: http://lkml.kernel.org/r/22571d77ba1f3c714df9fa37db9a58218bc17597.1511497875.git.luto@kernel.org > Signed-off-by: Ingo Molnar > --- > arch/x86/include/asm/desc.h | 9 +-------- > arch/x86/include/asm/fixmap.h | 34 ++++++++++++++++++++++++++++++++-- > arch/x86/kernel/cpu/common.c | 14 +++++++------- > arch/x86/xen/mmu_pv.c | 2 +- > 4 files changed, 41 insertions(+), 18 deletions(-) Reviewed-by: Borislav Petkov -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.