<div dir="ltr"><span style="font-size:12.8px">> So long as you don't have to kill anyone to get the info, I genuinely appreciate the help.</span><br><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Question: did you ever kill... Pulling your leg! :-)))</span></div><div><span style="font-size:12.8px">_______</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Back on the topic/thread:</span></div><div><span style="font-size:12.8px">[1] What kind of VM?</span></div><div><span style="font-size:12.8px">[2] Does your VM use PCIe</span><font face="calibri, sans-serif"><span style="font-size:11pt"> P</span><span style="font-size:14.6667px">ass-through</span><span style="font-size:11pt"> method (I guess, you must have also in BIOS IOMMU/VT-d ON, this is A MUST)?</span></font></div><div><span style="color:rgb(51,51,51);font-family:arial,tahoma,helvetica,freesans,sans-serif;font-size:14.85px"><br></span></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(51,51,51)"><i><u><b>Explanation: PCI Pass-through is a method of giving a VM direct access to a PCI device.</b></u></i></span><br></font></div><div><span style="color:rgb(51,51,51)"><font face="verdana, sans-serif"><i><u><b><br></b></u></i></font></span></div><div><span style="color:rgb(51,51,51)"><font face="arial, helvetica, sans-serif">Thank you,</font></span></div><div><span style="color:rgb(51,51,51)"><font face="arial, helvetica, sans-serif">Zoran</font></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 30, 2017 at 7:18 PM, Joshua Pincus <span dir="ltr"><<a href="mailto:joshua.pincus@gmail.com" target="_blank">joshua.pincus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Zoran,<br><br></div>So long as you don't have to kill anyone to get the info, I genuinely appreciate the help.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">JP<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 30, 2017 at 9:54 AM, Zoran Stojsavljevic <span dir="ltr"><<a href="mailto:zoran.stojsavljevic@gmail.com" target="_blank">zoran.stojsavljevic@gmail.com</a><wbr>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">OK, Joshua!<div><br></div><div>I do not promise anything. But I, out of (your) desperation, will try to find answers for you. If (no promise)...</div><div><br></div><div>If I (eventually) return back, I have only one condition for you: NEVER ask how I found (any future) answer for/to you!</div><div><br></div><div>Thank you,</div><div>Zoran</div></div><div class="m_-8370784127992080379HOEnZb"><div class="m_-8370784127992080379h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 30, 2017 at 5:48 PM, Joshua Pincus <span dir="ltr"><<a href="mailto:joshua.pincus@gmail.com" target="_blank">joshua.pincus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi Zoran,<br><br></div>Thanks for your reply.  <br><br></div>My situation is this: When the VM guest comes up the first time from a system-level reset (aka power on), the Broadwell HD graphics device runs fine.  I see basic VGA both before and during the boot of Windows.  Once Windows boots, the HD graphics device is configured by Intel's driver and I see hi-rez output.  On a reboot of Windows within the VM, an FLR is issued.  When the guest comes back up, no VGA.  Windows does boot but provides no VGA output.  If Windows needs to drop into VGA mode so that a user can access the real-mode functionality of the recovery console, still no VGA.<br><br></div>It's only on Broadwell-based boards that we have this problem.  If we issue FLRs during the reset of the PCI bus for older Intel boards, no problem.  We get VGA.  Something involved with the FLR is messing up the state of the hardware instead of actually returning the hardware to a virgin state, akin to what you would get from a full system reset.<br><br></div>I was wondering if anyone had seen this kind of behavior.  We've tried everything.  We've manipulated all of the obvious HD graphics MMIO registers involved with restoring VGA but nothing seems to work.  <br><br></div>Thanks,<br></div>JP<br></div><div class="m_-8370784127992080379m_4812949924582774276HOEnZb"><div class="m_-8370784127992080379m_4812949924582774276h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 30, 2017 at 4:29 AM, Zoran Stojsavljevic <span dir="ltr"><<a href="mailto:zoran.stojsavljevic@gmail.com" target="_blank">zoran.stojsavljevic@gmail.com</a><wbr>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Joshua,<div><br></div><div>I'll ask similar question, considering UEFI (BIOS). I have no idea if you can issue somehow easy <span style="font-size:12.8px">FLR (PCI Function Level Reset), but if you can, does this use case repeat itself?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I found, related to BIOS, this pointer (</span><span style="font-size:12.8px"><a href="http://www.tomshardware.co.uk/forum/278002-30-solved-what-capability-option-bios" target="_blank">http://www.tomshardware.co.uk<wbr>/forum/278002-30-solved-what-c<wbr>apability-option-bios</a>), since I do NOT recall this option in any (legacy and UEFI) of the BIOSes I used (and I used lot (>100) of them). Probably, did not pay too much attention, since I do not recall this option to be tested/used?!</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Zoran</span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-8370784127992080379m_4812949924582774276m_-9036620674860901277h5">On Wed, Mar 29, 2017 at 10:49 PM, Joshua Pincus <span dir="ltr"><<a href="mailto:joshua.pincus@gmail.com" target="_blank">joshua.pincus@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-8370784127992080379m_4812949924582774276m_-9036620674860901277h5"><div dir="ltr"><div><div><div>Hi,<br><br></div>After performing just an FLR (PCI function level reset) of a Gen8 Intel HD graphics device, there's no VGA output from the device, no matter what I try to do.  I've had coreboot reset the graphics control register, VGA control, VGA display disable bit, etc.  <br><br>Has anyone seen anything like this?  The only way I can get VGA restored is by performing a system-level reset.  But I just want to do an FLR.  Any ideas?<br><br></div>Thanks,<br></div>JP   <br></div>
<br></div></div><span class="m_-8370784127992080379m_4812949924582774276m_-9036620674860901277HOEnZb"><font color="#888888">--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a><br>
<a href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://www.coreboot.org/mailm<wbr>an/listinfo/coreboot</a><br></font></span></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>