mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: mingo@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org,
	greg@kroah.com, hjanssen@microsoft.com, ksrinivasan@novell.com,
	tglx@linutronix.de, akataria@vmware.com
Cc: linux-tip-commits@vger.kernel.org
Subject: Re: [tip:x86/cpu] x86: Clean up the hypervisor layer
Date: Sat, 8 May 2010 10:16:34 +0200	[thread overview]
Message-ID: <20100508081634.GA23029@elte.hu> (raw)
In-Reply-To: <tip-e08cae4181af9483b04ecfac48f01c8e5a5f27bf@git.kernel.org>


* tip-bot for H. Peter Anvin <hpa@zytor.com> wrote:

> Commit-ID:  e08cae4181af9483b04ecfac48f01c8e5a5f27bf
> Gitweb:     http://git.kernel.org/tip/e08cae4181af9483b04ecfac48f01c8e5a5f27bf
> Author:     H. Peter Anvin <hpa@zytor.com>
> AuthorDate: Fri, 7 May 2010 16:57:28 -0700
> Committer:  H. Peter Anvin <hpa@zytor.com>
> CommitDate: Fri, 7 May 2010 17:13:04 -0700
> 
> x86: Clean up the hypervisor layer
> 
> Clean up the hypervisor layer and the hypervisor drivers, using an ops
> structure instead of an enumeration with if statements.
> 
> The identity of the hypervisor, if needed, can be tested by testing
> the pointer value in x86_hyper.
> 
> The MS-HyperV private state is moved into a normal global variable
> (it's per-system state, not per-CPU state).  Being a normal bss
> variable, it will be left at all zero on non-HyperV platforms, and so
> can generally be tested for HyperV-specific features without
> additional qualification.
> 
> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
> Acked-by: Greg KH <greg@kroah.com>
> Cc: Hank Janssen <hjanssen@microsoft.com>
> Cc: Alok Kataria <akataria@vmware.com>
> Cc: Ky Srinivasan <ksrinivasan@novell.com>
> LKML-Reference: <4BE49778.6060800@zytor.com>
> ---
>  arch/x86/include/asm/hyperv.h     |    5 ++-
>  arch/x86/include/asm/hypervisor.h |   27 ++++++++++++++++-
>  arch/x86/include/asm/mshyperv.h   |   15 +++++++--
>  arch/x86/include/asm/processor.h  |    7 ----
>  arch/x86/include/asm/vmware.h     |   27 ------------------
>  arch/x86/kernel/cpu/hypervisor.c  |   56 ++++++++++++++++++++++--------------
>  arch/x86/kernel/cpu/mshyperv.c    |   51 ++++++++++++++++------------------
>  arch/x86/kernel/cpu/vmware.c      |   36 +++++++++++++----------
>  8 files changed, 117 insertions(+), 107 deletions(-)

Note, this patch breaks the build of the new vmware baloon driver:

  drivers/misc/vmware_balloon.c:44:24: error: asm/vmware.h: No such file or directory

CONFIG_VMWARE_BALLOON=y

Thanks,

	Ingo

  reply	other threads:[~2010-05-08  8:16 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-07 22:43 RFC - Cleaned up " H. Peter Anvin
2010-05-07 23:02 ` Greg KH
2010-05-07 23:08   ` H. Peter Anvin
2010-05-07 23:12     ` Greg KH
2010-05-07 23:18       ` H. Peter Anvin
2010-05-07 23:55         ` [PATCH] HyperV: fix up the license to mshyperv.c Greg KH
2010-05-08  1:58           ` [tip:x86/cpu] x86, " tip-bot for Greg Kroah-Hartman
2010-05-08  1:58 ` [tip:x86/cpu] x86: Clean up the hypervisor layer tip-bot for H. Peter Anvin
2010-05-08  8:16   ` Ingo Molnar [this message]
2010-05-19 16:54   ` [PATCH] Hyperv: Export the symbol that tracks hyperv features and recommendations Ky Srinivasan
2010-05-19 17:03     ` Greg KH
2010-05-08  5:54 ` RFC - Cleaned up hypervisor layer Dmitry Torokhov
2010-05-09  8:18 ` [tip:x86/cpu] x86, hypervisor: Export the x86_hyper* symbols tip-bot for H. Peter Anvin
2010-05-09  8:19 ` [tip:x86/cpu] Modify the VMware balloon driver for the new x86_hyper API tip-bot for H. Peter Anvin
2010-05-09  8:20   ` H. Peter Anvin
2010-05-10  8:06     ` Dmitry Torokhov
2010-05-10 15:23       ` H. Peter Anvin
2010-05-10 16:17         ` Dmitry Torokhov
2010-05-10 17:30           ` H. Peter Anvin
2010-05-10 17:52             ` Dmitry Torokhov
2010-05-10 18:05               ` H. Peter Anvin
2010-05-09 10:47   ` Ingo Molnar
2010-05-10  5:56 ` [tip:x86/cpu] x86, hypervisor: add missing <linux/module.h> tip-bot for H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100508081634.GA23029@elte.hu \
    --to=mingo@elte.hu \
    --cc=akataria@vmware.com \
    --cc=greg@kroah.com \
    --cc=hjanssen@microsoft.com \
    --cc=hpa@zytor.com \
    --cc=ksrinivasan@novell.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome