Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752455AbdFNMlB (ORCPT ); Wed, 14 Jun 2017 08:41:01 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:33424 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752393AbdFNMk7 (ORCPT ); Wed, 14 Jun 2017 08:40:59 -0400 From: Brian Gerst To: x86@kernel.org, linux-kernel@vger.kernel.org Cc: Ingo Molnar , "H . Peter Anvin" , Andy Lutomirski , Juergen Gross , Boris Ostrovsky Subject: [PATCH 0/3] x86: IOPL switching cleanups Date: Wed, 14 Jun 2017 08:40:29 -0400 Message-Id: <20170614124032.4159-1-brgerst@gmail.com> X-Mailer: git-send-email 2.9.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 803 Lines: 17 Here are three cleanups to the IOPL switching code for x86. [PATCH 1/3] x86: Remove native_set_iopl_mask() [PATCH 2/3] x86-32: Simplify IOPL switch check [PATCH 3/3] x86/xen: Move paravirt IOPL switching to slow the path arch/x86/include/asm/paravirt.h | 6 ++++++ arch/x86/include/asm/processor.h | 22 ++-------------------- arch/x86/include/asm/thread_info.h | 5 ++++- arch/x86/include/asm/xen/hypervisor.h | 2 -- arch/x86/kernel/ioport.c | 6 ++++++ arch/x86/kernel/paravirt.c | 2 +- arch/x86/kernel/process.c | 8 ++++++++ arch/x86/kernel/process_32.c | 9 --------- arch/x86/kernel/process_64.c | 11 ----------- arch/x86/xen/enlighten_pv.c | 6 ++++-- 10 files changed, 31 insertions(+), 46 deletions(-)