From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: [kvm-kmod PATCH]: Provide X86_FEATURE_CLFLUSH for kernels < 3.15 Date: Fri, 04 Apr 2014 07:37:52 +0200 Message-ID: <533E4530.8050704@web.de> References: <20140403210548.GA1602@ERROL.INI.CMU.EDU> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ou56HMwT9QbJuq80r8s9HegtrSeAGWOSq" Cc: kvm@vger.kernel.org To: "Gabriel L. Somlo" Return-path: Received: from mout.web.de ([212.227.17.11]:64754 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750860AbaDDFh6 (ORCPT ); Fri, 4 Apr 2014 01:37:58 -0400 In-Reply-To: <20140403210548.GA1602@ERROL.INI.CMU.EDU> Sender: kvm-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ou56HMwT9QbJuq80r8s9HegtrSeAGWOSq Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-04-03 23:05, Gabriel L. Somlo wrote: > Signed-off-by: Gabriel Somlo > --- >=20 > Jan, >=20 > Apparently this is needed to build the latest kvm git on 3.13 kernels > (e.g., Fedora 20, in my case). >=20 > Thanks, > Gabriel >=20 > x86/external-module-compat.h | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > 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, unsign= ed long long *p) > #define MSR_K8_INT_PENDING_MSG 0xc0010055 > #endif > =20 > +#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 >=20 Thanks, applied. Jan --ou56HMwT9QbJuq80r8s9HegtrSeAGWOSq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlM+RTMACgkQitSsb3rl5xSDzgCgom5uOeqKZiOq37qpeDxYLGRN n7oAnRGvEkj7YMsJ463cHTSgDodutGfJ =uawe -----END PGP SIGNATURE----- --ou56HMwT9QbJuq80r8s9HegtrSeAGWOSq--