All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Fix broken suspend on some machines
@ 2020-06-14 14:36 Grzegorz Uriasz
  2020-06-14 14:36 ` [PATCH 1/1] x86/acpi: Use FADT flags to determine the PMTMR width Grzegorz Uriasz
  0 siblings, 1 reply; 13+ messages in thread
From: Grzegorz Uriasz @ 2020-06-14 14:36 UTC (permalink / raw)
  To: xen-devel
  Cc: artur, Wei Liu, jakub, Andrew Cooper, marmarek, Grzegorz Uriasz,
	Jan Beulich, j.nowak26, Roger Pau Monné

Hi,

The included patch is a small subset of a bigger patch set spanning few 
projects aiming to isolate the GPU in Qubes OS to a dedicated security domain.
I'm doing this together with 3 colleagues as part of our Bachelors thesis.
While working on the project we came across 2 machines - newer gaming
laptops on which the suspend functionality on unmodified xen is completely broken.

The affected machines were able to suspend but not always resume. Even
if the resume succeeded then the kernel time was trashed in the dmesg log
and the machine never managed to suspend another time. After changing
the xen clock to hpet, suspend started working again both on stock
xen and Qubes OS - this indicates a bug in the ACPI PM Timer. After
disassembling the FADT ACPI table on the ASUS FX504GM I understood that the
reported bit width is 32 bits but the flags indicate a 24 bit PM timer.

The included patch fixes the suspend feature on ASUS FX504GM and hopefully
other laptops - Probably next week I will test this patch on my
friend's laptop where this issue also occurs(suspend is broken, trashed kernel
time after resume).

Grzegorz Uriasz (1):
  x86/acpi: Use FADT flags to determine the PMTMR width

 xen/arch/x86/acpi/boot.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
2.27.0



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

end of thread, other threads:[~2020-06-17  6:17 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-14 14:36 [PATCH 0/1] Fix broken suspend on some machines Grzegorz Uriasz
2020-06-14 14:36 ` [PATCH 1/1] x86/acpi: Use FADT flags to determine the PMTMR width Grzegorz Uriasz
2020-06-15  7:05   ` Roger Pau Monné
2020-06-16  8:07   ` Jan Beulich
2020-06-16 10:32     ` Roger Pau Monné
2020-06-16 12:31       ` Jan Beulich
2020-06-16 13:25       ` Jan Beulich
2020-06-16 14:59         ` Roger Pau Monné
2020-06-16 15:10           ` Grzegorz Uriasz
2020-06-16 15:13             ` Jan Beulich
2020-06-16 15:11           ` Jan Beulich
2020-06-16 15:25             ` Roger Pau Monné
2020-06-17  6:16               ` Grzegorz Uriasz

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.