* [kvm-kmod PATCH]: Provide X86_FEATURE_CLFLUSH for kernels < 3.15
@ 2014-04-03 21:05 Gabriel L. Somlo
2014-04-04 5:37 ` Jan Kiszka
0 siblings, 1 reply; 2+ messages in thread
From: Gabriel L. Somlo @ 2014-04-03 21:05 UTC (permalink / raw)
To: jan.kiszka; +Cc: kvm
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
--
1.9.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [kvm-kmod PATCH]: Provide X86_FEATURE_CLFLUSH for kernels < 3.15
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
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2014-04-04 5:37 UTC (permalink / raw)
To: Gabriel L. Somlo; +Cc: kvm
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-04 5:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).