From: Boris Ostrovsky Subject: Re: Is: EPT violations. Was:Re: Problems with pci/vga passthrough Date: Tue, 24 Jan 2017 13:51:45 -0500 Message-ID: <8e2d0c86-2274-8d9d-9a87-36177fd009cd@oracle.com> References: <3650332.PVtMSBxIKa@bagend> <58878ABA020000780013373E@prv-mh.provo.novell.com> <55013379.QGovEA7yDG@bagend> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8779626052210811479==" Return-path: In-Reply-To: <55013379.QGovEA7yDG@bagend> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Diederik de Haas , xen-devel@lists.xen.org Cc: 852324@bugs.debian.org, Jan Beulich List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============8779626052210811479== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ug61vp2v3OAMdS4SIcMPhv4lro1IbOH09" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ug61vp2v3OAMdS4SIcMPhv4lro1IbOH09 Content-Type: multipart/mixed; boundary="KXibd8rcbkpxNLBoNhMWnct33lAGKI0Bi"; protected-headers="v1" From: Boris Ostrovsky To: Diederik de Haas , xen-devel@lists.xen.org Cc: Jan Beulich , 852324@bugs.debian.org Message-ID: <8e2d0c86-2274-8d9d-9a87-36177fd009cd@oracle.com> Subject: Re: [Xen-devel] Is: EPT violations. Was:Re: Problems with pci/vga passthrough References: <3650332.PVtMSBxIKa@bagend> <58878ABA020000780013373E@prv-mh.provo.novell.com> <55013379.QGovEA7yDG@bagend> In-Reply-To: <55013379.QGovEA7yDG@bagend> --KXibd8rcbkpxNLBoNhMWnct33lAGKI0Bi Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 01/24/2017 01:44 PM, Diederik de Haas wrote: > On dinsdag 24 januari 2017 13:28:28 CET Boris Ostrovsky wrote: >>>> Reported it at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D8= 52324 >>>> but given Ben Hutchings' reaction it seems to be a Xen problem afte= r >>>> all. >>>> >>>> Relevant part of earlier attached dmesg: >>>> >>>> [ 13.588386] WARNING: CPU: 18 PID: 1 at=20 >>>> /build/linux-zDY19G/linux-4.8.15/arch/x86/mm/dump_pagetables.c:225 >>>> note_page+0x5e8/0x790 [ 13.588388] x86/mm: Found insecure W+X mapp= ing >>>> at address ffff880000000000/0xffff880000000000 ... >>>> [ 13.608867] x86/mm: Checked W+X mappings: FAILED, 4602 W+X pages >>>> found. >>> Now this is a know issue, but I'm pretty convinced one that's entirel= y >>> unrelated to your problem. >> I thought we fixed this. That's what is_hypervisor_range() was >> introduced for, and I haven't seen this warning since then. > When? Which commit? > Maybe it isn't (yet) in the Debian tree and/or I am using a kernel whic= h=20 > doesn't contain that fix. Commit f4e342c87776884f0309942a3880ca7e835239f9. All it did was to prevent the walker from trying to verify pages in the hypervisor range so it doesn't really fix anything. It's just that I am surprised to see this warning again. -boris --KXibd8rcbkpxNLBoNhMWnct33lAGKI0Bi-- --ug61vp2v3OAMdS4SIcMPhv4lro1IbOH09 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 iQIcBAEBCAAGBQJYh6JBAAoJEIredpCGysGyfPoP/08E/bc+OdOib2dSOkvC5KiS rX45VkYNzfixA9n4WC71m/EuWnF2re8X69TezN/E26wfsLxcCll/6FDD/fZ8H3Tp Fze3x9PTS0UhztAkNExyP90ZI8N2FLSWU93dOE+BvhdhVszNyr0Er3LUnXa3BSmu NXxraJTMUM/yCDviP9BYs8MTnFHqxYtxVl11J3+057nSWBVFqt91KfmyzZMX9J/b 8C+Ul8O7HYv80aFufHLr9cv4p10yiscnOQ/FlZavRxPk0E5EYPbMXZecsPQLauic Z6dFNAMvkmBBJ30//cXyT8GL/0Enr3y2LCCDo6kNcLWI0fg2WGpKrxbXI7uSSlaq FCPFEg8A0zIcYJHh3iy0MQ01IFiNREUTXbrl93rMX0FbkCoyXxFZG0xXoqKMlJ+9 Lgs1VwVkPVPHxwGjLIgZ70YIEotFKkRvH/MMXVHIN/Yl+lm7kHTwIV+M71JDO4DB jWN5qCkP02cW4NTq+x+JlTbbsIBBjmzPbhVDdiE5oBiy6B3a5ChV/YLsCa4O1LTs 0UwGf0k9dpquk1Q8+JfLV5/wLWXgiyGCIJOyUIIL0C6cm+qAMcHkAouYCEFZaAlk ZyHmbYy9XtCtA92ZChVnwusfVy5qUW1hRia/lUtT6FcRTXpUS/HydU+3RrzEN0f+ y3bfFwA3NNT28gm6E0mz =38I5 -----END PGP SIGNATURE----- --ug61vp2v3OAMdS4SIcMPhv4lro1IbOH09-- --===============8779626052210811479== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============8779626052210811479==--