<div dir="ltr">Hello Kostja,<div><br></div><div>Since presently I am not in Munich/Germany (I am in front of my HSW notebook in my apartment in Belgrade), I have limited abilities to test your question, since I do not have native/bare metal Fedora on my SSD (I have in safe box HDD with dual boot: WIN10 and Fedora 26 in Munich).</div><div><br></div><div>Here, I have my notebook (HP EliteBook 840 G1) with SSD, bare metal WIN10 64 PRO and VMWare reader with Fedora 26 VM. IT is based on HSW i5-4300:</div><div><div>[user@192 ~]$ dmesg | grep 4300</div><div>[    0.097524] smpboot: CPU0: Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz (family: 0x6, model: 0x45, stepping: 0x1)</div><div>[user@192 ~]$</div></div><div><br></div><div>Here is the pointer to <a href="http://ark.intel.com">ark.intel.com</a> for this CPU: <a href="https://ark.intel.com/products/76308/Intel-Core-i5-4300U-Processor-3M-Cache-up-to-2_90-GHz">https://ark.intel.com/products/76308/Intel-Core-i5-4300U-Processor-3M-Cache-up-to-2_90-GHz</a></div><div><br></div><div>The current BSP used is UEFI: BIOS 01.39 Rev.A (08 Nov 2016) -> sp77791.exe (12.7 MB)</div><div>_______</div><div><br></div><div>Being in WIN10, suspend works when I simply press <F3>, but resume works ONLY while I press muse buttons - keyboard <ANY KEY> does not work, although it should?!</div><div><br></div><div>I did several attempts to suspend and resume using Fedora 26 VM, but I did not have success. I do remember that this does work with my bare metal Fedora 26:</div><div>Kernel used for Fedora26 VM: uname -r -> 4.13.9-200.fc26.x86_64 .</div><div><br></div><div>I would strongly suggest to use two methods to check S3 on Linux bare metal:</div><div>[1] To use systemctl suspend and systemctl resume commands;</div><div>[2] To install on your HSW platform the following package: <a href="http://www.linuxfromscratch.org/blfs/view/cvs/general/pm-utils.html">http://www.linuxfromscratch.org/blfs/view/cvs/general/pm-utils.html</a></div><div>      so you can try the following two commands: pm-suspend and pm-hibernate (wakeup should work using keyboard/mouse)!</div><div><br></div><div class="gmail_extra">First, you should do all these tests with UEFI BIOS for your platform, record the results, and then switch to Coreboot, than repeat all use cases, and cross compare.</div><div class="gmail_extra"><br></div><div class="gmail_extra">If you do, please, post your kernel version and results here.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Hope this helps.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Best Regards,</div><div class="gmail_extra">Zoran Stojsavljevic</div><div class="gmail_extra">_______</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 30, 2017 at 4:49 PM, Аладышев Константин <span dir="ltr"><<a href="mailto:aladyshev@nicevt.ru" target="_blank">aladyshev@nicevt.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I have problem with S3 mode on Haswell board. Everything is fine if S3 time<br>
is very small (<15 seconds), but if it is longer, coreboot won't resume. It<br>
fails on quick_ram_check.<br>
<br>
I've enabled mrc.cache and ME in coreboot. I use ME binary from original<br>
board and MRC.bin from Google Panther.<br>
<br>
Log from S3 resume:<br>
<br>
"""<br>
Disabling Watchdog reboot... done.<br>
SMBus controller enabled.<br>
Setting up static northbridge registers... done.<br>
Initializing Graphics...<br>
Back from haswell_early_initialization()<br>
Resume from S3 detected.<br>
CPU id(40651) ucode:0000001c Intel(R) Core(TM) i7-4650U CPU @ 1.70GHz<br>
AES supported, TXT supported, VT supported<br>
PCH type: LP Premium, device id: 9c43, rev id 4<br>
Starting UEFI PEI System Agent<br>
CBFS: CBFS_HEADER_ROM_ADDRESS: 0xfffff7d0/0x1000000<br>
CBFS: CBFS location: 0xf00000~0xfff7c0, align: 64<br>
CBFS: Looking for 'mrc.cache' starting from 0xf00000.<br>
CBFS:  - load entry 0xf00000 file name (16 bytes)...<br>
CBFS:  (unmatched file @0xf00000: bootsplash.jpg)<br>
CBFS:  - load entry 0xf187c0 file name (16 bytes)...<br>
CBFS:  (unmatched file @0xf187c0: bootorder)<br>
CBFS:  - load entry 0xf18b80 file name (16 bytes)...<br>
CBFS:  (unmatched file @0xf18b80: cmos_layout.bin)<br>
CBFS:  - load entry 0xf19040 file name (32 bytes)...<br>
CBFS:  (unmatched file @0xf19040: pci8086,0a26.rom)<br>
CBFS:  - load entry 0xf29080 file name (72 bytes)...<br>
CBFS:  (unmatched file @0xf29080: cpu_microcode_blob.bin)<br>
CBFS:  - load entry 0xf2e100 file name (32 bytes)...<br>
CBFS:  (unmatched file @0xf2e100: etc/usb-time-sigatt)<br>
CBFS:  - load entry 0xf2e140 file name (16 bytes)...<br>
CBFS:  (unmatched file @0xf2e140: config)<br>
CBFS:  - load entry 0xf2fa00 file name (16 bytes)...<br>
CBFS:  (unmatched file @0xf2fa00: revision)<br>
CBFS:  - load entry 0xf2fc80 file name (16 bytes)...<br>
CBFS:  (unmatched file @0xf2fc80: )<br>
CBFS:  - load entry 0xf2ff80 file name (76 bytes)...<br>
CBFS:  (unmatched file @0xf2ff80: fallback/romstage)<br>
CBFS:  - load entry 0xf38f00 file name (32 bytes)...<br>
CBFS:  (unmatched file @0xf38f00: fallback/ramstage)<br>
CBFS:  - load entry 0xf4d0c0 file name (32 bytes)...<br>
CBFS:  (unmatched file @0xf4d0c0: fallback/payload)<br>
CBFS:  - load entry 0xf5e8c0 file name (32 bytes)...<br>
CBFS:  (unmatched file @0xf5e8c0: pci8086,1521.rom)<br>
CBFS:  - load entry 0xf6e900 file name (16 bytes)...<br>
CBFS:  (unmatched file @0xf6e900: )<br>
CBFS:  - load entry 0xf9ffc0 file name (40 bytes)...<br>
CBFS:  (unmatched file @0xf9ffc0: mrc.bin)<br>
CBFS:  - load entry 0xfceb40 file name (16 bytes)...<br>
CBFS:  (unmatched file @0xfceb40: )<br>
CBFS:  - load entry 0xfdffc0 file name (40 bytes)...<br>
CBFS: Found file (offset=0xfe0000, len=65536).<br>
find_current_mrc_cache_local: picked entry 0 from cache block<br>
prepare_mrc_cache: at fffe0010, size fe0 checksum 9771<br>
CBFS: CBFS_HEADER_ROM_ADDRESS: 0xfffff7d0/0x1000000<br>
CBFS: CBFS location: 0xf00000~0xfff7c0, align: 64<br>
CBFS: Looking for 'mrc.bin' starting from 0xf00000.<br>
CBFS:  - load entry 0xf00000 file name (16 bytes)...<br>
CBFS:  (unmatched file @0xf00000: bootsplash.jpg)<br>
CBFS:  - load entry 0xf187c0 file name (16 bytes)...<br>
CBFS:  (unmatched file @0xf187c0: bootorder)<br>
CBFS:  - load entry 0xf18b80 file name (16 bytes)...<br>
CBFS:  (unmatched file @0xf18b80: cmos_layout.bin)<br>
CBFS:  - load entry 0xf19040 file name (32 bytes)...<br>
CBFS:  (unmatched file @0xf19040: pci8086,0a26.rom)<br>
CBFS:  - load entry 0xf29080 file name (72 bytes)...<br>
CBFS:  (unmatched file @0xf29080: cpu_microcode_blob.bin)<br>
CBFS:  - load entry 0xf2e100 file name (32 bytes)...<br>
CBFS:  (unmatched file @0xf2e100: etc/usb-time-sigatt)<br>
CBFS:  - load entry 0xf2e140 file name (16 bytes)...<br>
CBFS:  (unmatched file @0xf2e140: config)<br>
CBFS:  - load entry 0xf2fa00 file name (16 bytes)...<br>
CBFS:  (unmatched file @0xf2fa00: revision)<br>
CBFS:  - load entry 0xf2fc80 file name (16 bytes)...<br>
CBFS:  (unmatched file @0xf2fc80: )<br>
CBFS:  - load entry 0xf2ff80 file name (76 bytes)...<br>
CBFS:  (unmatched file @0xf2ff80: fallback/romstage)<br>
CBFS:  - load entry 0xf38f00 file name (32 bytes)...<br>
CBFS:  (unmatched file @0xf38f00: fallback/ramstage)<br>
CBFS:  - load entry 0xf4d0c0 file name (32 bytes)...<br>
CBFS:  (unmatched file @0xf4d0c0: fallback/payload)<br>
CBFS:  - load entry 0xf5e8c0 file name (32 bytes)...<br>
CBFS:  (unmatched file @0xf5e8c0: pci8086,1521.rom)<br>
CBFS:  - load entry 0xf6e900 file name (16 bytes)...<br>
CBFS:  (unmatched file @0xf6e900: )<br>
CBFS:  - load entry 0xf9ffc0 file name (40 bytes)...<br>
CBFS: Found file (offset=0xfa0000, len=191236).<br>
System Agent: Starting up...<br>
System Agent: S3 resume detected<br>
System Agent: Initializing PCH<br>
install_ppi: overwrite GUID {ed097352-9041-445a-80b6-<wbr>b29d509e8845}<br>
install_ppi: overwrite GUID {908c7f8b-5c48-47fb-8357-<wbr>f5fd4e235276}<br>
System Agent: Initializing PCH (SMBUS)<br>
System Agent: Initializing PCH (USB)<br>
System Agent: Initializing PCH (SA Init)<br>
System Agent: Initializing PCH (Me UMA)<br>
System Agent: Initializing Memory<br>
System Agent: Done.<br>
Sanity checking heap.<br>
System Agent Version 1.6.1 Build 2<br>
memcfg DDR3 clock 1600 MHz<br>
memcfg channel assignment: A: 0, B  1, C  2<br>
memcfg channel[0] config (00600010):<br>
   ECC inactive<br>
   enhanced interleave mode on<br>
   rank interleave on<br>
   DIMMA 4096 MB width x8 or x32 single rank, selected<br>
   DIMMB 0 MB width x8 or x32 single rank<br>
memcfg channel[1] config (00600000):<br>
   ECC inactive<br>
   enhanced interleave mode on<br>
   rank interleave on<br>
   DIMMA 0 MB width x8 or x32 single rank, selected<br>
   DIMMB 0 MB width x8 or x32 single rank<br>
ME: FW Partition Table      : OK<br>
ME: Bringup Loader Failure  : NO<br>
ME: Firmware Init Complete  : NO<br>
ME: Manufacturing Mode      : YES<br>
ME: Boot Options Present    : NO<br>
ME: Update In Progress      : NO<br>
ME: Current Working State   : Initializing<br>
ME: Current Operation State : Bring up<br>
ME: Current Operation Mode  : Normal<br>
ME: Error Code              : Debug Failure<br>
ME: Progress Phase          : BUP Phase<br>
ME: Power Management Event  : Clean global reset<br>
ME: Progress Phase State    : 0x7b<br>
before quick_ram_check<br>
RAM INIT FAILURE!<br>
""""<br>
<br>
It seems like DRAM controller and ME are initialized correctly (like in<br>
normal boot), what can be wrong?<br>
<br>
Does S3 work on Haswell boards?<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
<br>
--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="https://mail.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://mail.coreboot.org/<wbr>mailman/listinfo/coreboot</a><br>
</font></span></blockquote></div><br></div></div>