<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Hi Alex,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">I have experienced my setup is also not working as it used to after upgrading from 4.1.6 to 4.2.1. After reading on the list mentioned I googled around and found [1].</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="color: rgb(0, 0, 0); margin: 0px;"><span style="font-family: Helvetica, Arial; font-size: 13px;">Changing my processor and memory settings from </span><font face="Courier">-smp cpus=8,cores=4,threads=2,sockets=1 -m size=16G</font> to <font face="Courier">-smp cpus=4,cores=4,threads=1,sockets=1 -m size=8G</font> resulting the VM successfully boots like normal. But changing to other values did not always succeeded. I did not now the formula so I kind of brute forcing my way. I think I managed to boot the VM also with <span style="font-family: Courier;">-smp cpus=8,cores=4,threads=2,sockets=1 -m size=4G</span><font face="Helvetica">. I forgot the details.</font></div><div id="bloop_customfont" style="color: rgb(0, 0, 0); margin: 0px;"><br></div><div id="bloop_customfont" style="color: rgb(0, 0, 0); margin: 0px;">Currently I’m rolling back to 4.1.6, but if there’s something that I could provide to help finding out the issue, I can upgrade it and test it again. Please let me know.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">[1] https://github.com/tianocore/edk2/issues/21</div> <br> <div id="bloop_sign_1443657880017497088" class="bloop_sign"><font face="helvetica, arial">-- </font><br><span style="color: rgb(2, 1, 3); " data-mce-style="orphans: 2; text-align: -webkit-auto; widows: 2; background-color: #ffffff; color: #020103; font-family: 'Times New Roman', serif;"><font face="Calibri"><b>Okky Hendriansyah</b></font></span></div><p class="airmail_on">On September 28, 2015 at 23:53:08, globalgorrilla@fastmail.fm (<a href="mailto:globalgorrilla@fastmail.fm">globalgorrilla@fastmail.fm</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>Alex,<br><br>I reported this on 08/18. It's been echoed several times on this list <br>since.<br><br>You've said everything is working for you and you appear to have a very <br>similar setup to us others (passing through devices with VFIO to QEMU <br>and using OVMF).<br><br>Circumstantial evidence is that there is something in > 4.1 that (often) <br>breaks OVMF in QEMU.<br><br>How could we dig into this? Perhaps it's not related to vfio?<br><br>Regarding the MTRR patch, I had made the fix myself in the 4.2 RCs and I <br>believe the patch is merged in already to 4.2 +. I don't think that is <br>the culprit ...?<br><br>Thoughts?<br><br>On 20 Sep 2015, at 9:09, Kővágó Zoltán wrote:<br><br>> Hello,<br>><br>> I've been using vfio-pci to passthrough a GPU to virtual machine since <br>> some time now, and it worked great.  But this weekend I've finally had <br>> enough time to update kernel, and things are completely broken with <br>> the new kernel...<br>><br>> I've been using the ACS override patch (and a quick-and-dirty fix for <br>> multiple GOPs, but created a proper-ish patch yesterday, see <br>> http://article.gmane.org/gmane.linux.kernel.efi/6332 ), CSM disabled <br>> in UEFI and using OVMF virtual machines.  The motherboard is an ASRock <br>> Z87M Extreme4, with two PCI video cards (an NVidia GT640 (the primary <br>> card, used for linux), for which I almost had to beg at Gigabyte <br>> support to send an UEFI compatible VBIOS, and a GTX980 (secondary <br>> card, to passthrough)).  The integrated Intel GPU is diabled in UEFI <br>> settings. I'm not sure if it's supposed to work, but with 4.0.4 <br>> kernels it worked like a charm.<br>><br>> Now with 4.2.0, when I start qemu the monitor attached to the <br>> secondary card powers down, and then nothing happens, except qemu <br>> eating about 150% cpu. I've started bisecting the kernel, and found <br>> out that<br>><br>> d69afbc6b1b5d0579f13d1a6339d952c4f60a9f4 KVM: MMU: fix decoding cache <br>> type from MTRR<br>><br>> is the culprit.  When mtrr is diabled, the old code returns 0xFF while <br>> the new returns MTRR_TYPE_UNCACHABLE.  I have absolutely no idea what <br>> the hell is going on here, but changing that return statement back <br>> solves the problem, until<br>><br>> b18d5431acc7a2fd22767925f3a6f597aa4bd29e KVM: x86: fix CR0.CD <br>> virtualization<br>><br>> If I comment out the if kvm_read_cd0 part it will work..  until <br>> 4e241557fc1cb560bd9e77ca1b4a9352732a5427, which is a merge commit(!). <br>> I'm attaching a patch, it fixes the problem until <br>> f2ae45edbca7ba5324eef01719ede0151dc5cead for me.  But as I said <br>> earlier I have no freakin' idea what's going on here.<br>><br>> I have recompiled OVMF from svn yesterday evening, and have a <br>> recent-ish qemu master (with some audio related patches).  Tell me if <br>> you need any more information.<br>><br>> Thanks,<br>> Zoltan<br>><br>> [magic.patch]<br>> _______________________________________________<br>> vfio-users mailing list<br>> vfio-users@redhat.com<br>> https://www.redhat.com/mailman/listinfo/vfio-users<br><br>_______________________________________________<br>vfio-users mailing list<br>vfio-users@redhat.com<br>https://www.redhat.com/mailman/listinfo/vfio-users<br></div></div></span></blockquote></body></html>