All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: "Gabriel L. Somlo" <gsomlo@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: [kvm-kmod PATCH]: Provide X86_FEATURE_CLFLUSH for kernels < 3.15
Date: Fri, 04 Apr 2014 07:37:52 +0200	[thread overview]
Message-ID: <533E4530.8050704@web.de> (raw)
In-Reply-To: <20140403210548.GA1602@ERROL.INI.CMU.EDU>

[-- Attachment #1: Type: text/plain, Size: 887 bytes --]

On 2014-04-03 23:05, Gabriel L. Somlo wrote:
> Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
> ---
> 
> Jan,
> 
> Apparently this is needed to build the latest kvm git on 3.13 kernels
> (e.g., Fedora 20, in my case).
> 
> Thanks,
>   Gabriel
> 
>  x86/external-module-compat.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h
> index d5e7269..3c41c74 100644
> --- a/x86/external-module-compat.h
> +++ b/x86/external-module-compat.h
> @@ -228,6 +228,10 @@ static inline int rdmsrl_safe(unsigned msr, unsigned long long *p)
>  #define MSR_K8_INT_PENDING_MSG  0xc0010055
>  #endif
>  
> +#ifndef X86_FEATURE_CLFLUSH
> +#define X86_FEATURE_CLFLUSH	(0*32+19)
> +#endif
> +
>  #ifndef X86_FEATURE_FXSR_OPT
>  #define X86_FEATURE_FXSR_OPT	(1*32+25)
>  #endif
> 

Thanks, applied.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

      reply	other threads:[~2014-04-04  5:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-03 21:05 [kvm-kmod PATCH]: Provide X86_FEATURE_CLFLUSH for kernels < 3.15 Gabriel L. Somlo
2014-04-04  5:37 ` Jan Kiszka [this message]

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=533E4530.8050704@web.de \
    --to=jan.kiszka@web.de \
    --cc=gsomlo@gmail.com \
    --cc=kvm@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.