All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xen-devel] Xen fails to resume on AMD Fam15h (and Fam17h?) because of CPUID mismatch
@ 2020-02-09 23:06 Marek Marczykowski-Górecki
  2020-02-10  8:55 ` Jan Beulich
  0 siblings, 1 reply; 9+ messages in thread
From: Marek Marczykowski-Górecki @ 2020-02-09 23:06 UTC (permalink / raw)
  To: xen-devel; +Cc: zachm1996, Claudia


[-- Attachment #1.1: Type: text/plain, Size: 804 bytes --]

Hi,

Multiple Qubes users have reported issues with resuming from S3 on AMD
systems (Ryzen 2500U, Ryzen Pro 3700U, maybe more). The error message
is:

(XEN) CPU0: cap[ 1] is 7ed8320b (expected f6d8320b)

If I read it right, this is:
  - OSXSAVE: 0 -> 1
  - HYPERVISOR: 1 -> 0

Commenting out the panic on a failed recheck_cpu_features() in power.c
makes the system work after resume, reportedly stable. But that doesn't
sounds like a good idea generally.

Is this difference a Xen fault (some missing MSR / other register
restore on resume)? Or BIOS vendor / AMD, that could be worked around in
Xen?

-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-05-03  5:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-09 23:06 [Xen-devel] Xen fails to resume on AMD Fam15h (and Fam17h?) because of CPUID mismatch Marek Marczykowski-Górecki
2020-02-10  8:55 ` Jan Beulich
2020-02-10 11:17   ` Andrew Cooper
2020-02-10 12:14     ` Marek Marczykowski-Górecki
2020-02-10 12:46       ` Andrew Cooper
2020-02-11 12:59     ` Claudia
2020-02-11 21:08       ` Marek Marczykowski-Górecki
2020-02-12  4:20       ` Claudia
2020-05-02 21:12         ` Z M

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.