[coreboot] Asus KGPE-D16 non-working S3 suspend with Qubes 4

Timothy Pearson tpearson at raptorengineering.com
Mon Dec 10 23:49:09 CET 2018


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 12/10/2018 01:55 PM, Angel Pons wrote:
> Hello,
> 
> On Mon, Dec 10, 2018, 19:45 Taiidan at gmx.com <mailto:Taiidan at gmx.com>
> <Taiidan at gmx.com <mailto:Taiidan at gmx.com> wrote:
> 
>     S3 - it does work but you just have to wait a long time I would guess
>     that maybe there is some ram re-training going on and that is why
>     resuming from S3 takes over a minute.
> 
> 
> AFAIK, retraining the RAM destroys its contents (and that is why timings
> must be cached to flash for S3 to work). Does AMD have anything special
> to retrain memory yet still preserve RAM data to allow suspend, or am I
> missing something here?
> 
> Best regards,
> 
> Angel Pons
> 

You are correct.  The memory is not (and cannot be) retrained, the
previous settings are loaded from the s3nv region of Flash (this is also
why the settings change on each boot -- the last known good training
data is loaded into Flash to support resume from suspend).

My understanding is that because the current coreboot native AMD
codebase doesn't support relocatable ramstage (yet?) we're hitting a
slow path somewhere in resume.  I think there was some work being put
into adding the relocateable ramstage support but I don't know current
status.

- -- 
Timothy Pearson
Raptor Engineering
+1 (415) 727-8645 (direct line)
+1 (512) 690-0200 (switchboard)
https://www.raptorengineering.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJcDu1jAAoJEK+E3vEXDOFbGXUIAIPqreXXf253LywSE+rer+OT
pPGwBDGGPAiVzlxZGISEvLTnit+fdL2vOEnRyit8HE0X3XesFxLUzm+QrCpYPT3O
jn5GeiECF57jzKUbbbEWj1Zfs1DXJpxgoFOgJGR1+obcgMUTx++SGtahZPHIiYN8
YXqpHob+7noVtsr03dES4u5do2QVz0jDhvmATwotCdr+oBqasEWXBZfqUPXWWYCp
CKfsMCTvjqQ1qyzD+TaA5ZCEwCGcnLRkkZbFM1NPRJI6oIdm9xMjdxobXWp0nuHR
tdHkpptA4HQrx2/Qn3OI62JoRRaVJVqN0y+C+6PMGioXhGHxtpWsGeVMpkefWS8=
=VP8L
-----END PGP SIGNATURE-----



More information about the coreboot mailing list