From: Fabio Fantoni Subject: Re: [PATCH v7 00/15] x86/hvm: I/O emulation cleanup and fix | Full Backtrace of domU's X crash caused by SSE2 istruction in attachment Date: Fri, 10 Jul 2015 13:49:43 +0200 Message-ID: <559FB157.1090106@m2r.biz> References: <1436447455-11524-1-git-send-email-paul.durrant@citrix.com> <559F900E.6070904@m2r.biz> <9AAE0902D5BC7E449B7C8E4E778ABCD02F4B7F7B@AMSPEX01CL02.citrite.net> <559F9662.5050107@m2r.biz> <559F99E3.8060508@m2r.biz> <559FB877020000780008F63C@mail.emea.novell.com> <559FA3BD.70806@m2r.biz> <559FC1EA020000780008F6E7@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <559FC1EA020000780008F6E7@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Andrew Cooper , Paul Durrant , zhi.a.wang@intel.com, "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Il 10/07/2015 13:00, Jan Beulich ha scritto: >>>> On 10.07.15 at 12:51, wrote: >> Il 10/07/2015 12:20, Jan Beulich ha scritto: >>> Other than MOVD, MOVAPS is already being supported by the >>> insn emulator. >>> >> Then why do you think MOVAPS fails in my test? > No idea. That's what Paul asked you to narrow down. Can you be more specific about instrumenting xen because I don't know what to do, other then using gdb on domU xorg. Any hint would be appreciated. >> Sse2 was introduced in cpus 11 years ago, so I think it would be useful >> to add support for all missing instructions to avoid more cases like >> this (and it seems to improve performance too, comparing the same task >> executed with/without sse2). > The reason we didn't add any more of the SSE insns so far is that > we don't expect them to be used for accessing MMIO. Once we > learn they're needed, we'll add emulation for them, but you > realize this is a significant task? > > Jan > Sorry for this, since the end of 2011 I'm trying desperately to improve recent desktop domUs graphic performance (windows >xp), recent linux DE (gnome 3, unity ecc...), bigger resolutions (7-8 years ago the standard was 1024x768 now it's around 1920x1080) FWIK this seems necessary for what I'm trying to achieve (and to anyone other who want to do the same since I post all my patches), it seems also needed for xengt (in development) and there may be others. A temp. solution at least to have qxl fully working on any linux domUs can be to find the workaround/fix that make it work in SUSE and apply it upstream.... From my mail of some days ago: > I also took a fast look at suse kernel patches > (https://github.com/openSUSE/kernel-source/tree/SLE12-SP1) where qxl > is also working on linux domUs (other things seems already similar > based on what Jim Fehlig told me) but I didn't find a possible > fix/workaround for it to try. Can someone tell me about possible > patches I should try please? Thanks for any reply.