From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1427088AbcBSNIr (ORCPT ); Fri, 19 Feb 2016 08:08:47 -0500 Received: from mail.kernel.org ([198.145.29.136]:48255 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422858AbcBSNIp (ORCPT ); Fri, 19 Feb 2016 08:08:45 -0500 From: "Luis R. Rodriguez" To: bp@alien8.de Cc: x86@kernel.org, linux-kernel@vger.kernel.org, luto@amacapital.net, boris.ostrovsky@oracle.com, rusty@rustcorp.com.au, david.vrabel@citrix.com, konrad.wilk@oracle.com, xen-devel@lists.xensource.com, "Luis R. Rodriguez" Subject: [PATCH 0/9] x86/init: replace paravirt_enabled() were possible Date: Fri, 19 Feb 2016 05:08:27 -0800 Message-Id: <1455887316-9223-1-git-send-email-mcgrof@kernel.org> X-Mailer: git-send-email 2.7.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I originally set out to rename paravirt_enabled() to paravirt_legacy() but we instead decided to remove paravirt_enabled() completely. Although I have some linker table work which will help make this cleaner, instead of waiting for that to go in, just remove the known cases that should be safe for paravirt_enabled() and also replace it for the subarch use. While at it, document the subarch to avoid any possible misuses. Luis R. Rodriguez (9): x86/boot: enumerate documentation for the x86 hardware_subarch tools/lguest: make lguest launcher use X86_SUBARCH_LGUEST explicitly x86/xen: use X86_SUBARCH_XEN for PV guest boots x86/init: make ebda depend on PC subarch apm32: remove paravirt_enabled() use x86/tboot: remove paravirt_enabled() x86/cpu/intel: replace paravirt_enabled() for f00f work around x86/rtc: replace paravirt_enabled() check with subarch check pnpbios: replace paravirt_enabled() check with subarch checks arch/x86/include/asm/paravirt.h | 6 ------ arch/x86/include/asm/paravirt_types.h | 5 ----- arch/x86/include/asm/processor.h | 1 - arch/x86/include/uapi/asm/bootparam.h | 32 +++++++++++++++++++++++++++++++- arch/x86/kernel/apm_32.c | 2 +- arch/x86/kernel/cpu/intel.c | 4 +++- arch/x86/kernel/head.c | 2 +- arch/x86/kernel/rtc.c | 3 ++- arch/x86/kernel/tboot.c | 6 ------ arch/x86/xen/enlighten.c | 4 +--- drivers/pnp/pnpbios/core.c | 4 +++- tools/lguest/lguest.c | 4 ++-- 12 files changed, 44 insertions(+), 29 deletions(-) -- 2.7.0