From: Nitin A Kamble Subject: [PATCH] FP instruction in realmode emulation Date: Thu, 31 Jan 2008 16:12:13 -0800 Message-ID: <1201824733.9778.6.camel@lnitindesktop.sc.intel.com> References: Reply-To: nitin.a.kamble@intel.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0812483969==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0812483969== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-0ofhwye4kfLxuoCAZwfG" --=-0ofhwye4kfLxuoCAZwfG Content-Type: multipart/mixed; boundary="=-tNzI8iLymLnn4fJeyWmd" --=-tNzI8iLymLnn4fJeyWmd Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Keir, Our QA team also found that the latest base kernel was failing on the new real mode emulation code. I looked into it, and found out the culprit to be guest_mode() call in the do_device_not_available handler.=20 This guest_mode() check over there is no more correct as the guest may run in hypervisor context in the form of emulation. The attached patch fixes this issue by removing the check. Another fix would be modifying the guest_mode() macro. What do you think, Is this check is needed there now ? Signed-off-By: Nitin A Kamble =20 --=20 Thanks & Regards, Nitin Open Source Technology Center, Intel Corporation ----------------------------------------------------------------- The mind is like a parachute; it works much better when it's open --=-tNzI8iLymLnn4fJeyWmd Content-Disposition: attachment; filename=realmode_fp_access_bugfix.patch Content-Type: text/x-patch; name=realmode_fp_access_bugfix.patch; charset=UTF-8 Content-Transfer-Encoding: base64 ZGlmZiAtciA1Zjk5N2I1YjhhNTggeGVuL2FyY2gveDg2L3RyYXBzLmMNCi0tLSBhL3hlbi9hcmNo L3g4Ni90cmFwcy5jCVdlZCBKYW4gMzAgMTU6MTk6MjIgMjAwOCArMDAwMA0KKysrIGIveGVuL2Fy Y2gveDg2L3RyYXBzLmMJVGh1IEphbiAzMSAwNzo0OToyOSAyMDA4IC0wODAwDQpAQCAtMjYyMSw4 ICsyNjIxLDYgQEAgYXNtbGlua2FnZSB2b2lkIGRvX2RldmljZV9ub3RfYXZhaWxhYmxlKA0KIHsN CiAgICAgc3RydWN0IHZjcHUgKmN1cnIgPSBjdXJyZW50Ow0KIA0KLSAgICBCVUdfT04oIWd1ZXN0 X21vZGUocmVncykpOw0KLQ0KICAgICBzZXR1cF9mcHUoY3Vycik7DQogDQogICAgIGlmICggY3Vy ci0+YXJjaC5ndWVzdF9jb250ZXh0LmN0cmxyZWdbMF0gJiBYODZfQ1IwX1RTICkNCg== --=-tNzI8iLymLnn4fJeyWmd-- --=-0ofhwye4kfLxuoCAZwfG Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBHomPYEA5Hv97Fde4RAl+rAKCwJvU73qbNGRm6nfuAWyb8zEP42wCePfdY NRzRpQwE7r5ffSXD6gcU90o= =i0B6 -----END PGP SIGNATURE----- --=-0ofhwye4kfLxuoCAZwfG-- --===============0812483969== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0812483969==--