All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 | stable v5.10 0/3] x86/kvm: fixes for hibernation
@ 2021-05-31 14:05 Krzysztof Kozlowski
  2021-05-31 14:05 ` [PATCH v3 | stable v5.10 1/3] x86/kvm: Teardown PV features on boot CPU as well Krzysztof Kozlowski
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2021-05-31 14:05 UTC (permalink / raw)
  To: stable; +Cc: Andrea Righi, Paolo Bonzini, Vitaly Kuznetsov,
	Krzysztof Kozlowski

Hi,

This is version 2 of a backport for v5.10.

Changes since v2:
1. Rebased v3 of v5.4 version, I kept numbering to be consistent.
2. The context in patch 1/3 had to be adjusted.


The first patch specifically fixes bug aftert 2nd resume:
  BUG: Bad page state in process dbus-daemon  pfn:18b01
  page:ffffea000062c040 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 compound_mapcount: -30591
  flags: 0xfffffc0078141(locked|error|workingset|writeback|head|mappedtodisk|reclaim)
  raw: 000fffffc0078141 dead0000000002d0 dead000000000100 0000000000000000
  raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000
  page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag set
  bad because of flags: 0x78141(locked|error|workingset|writeback|head|mappedtodisk|reclaim)

Best regards,
Krzysztof

Vitaly Kuznetsov (3):
  x86/kvm: Teardown PV features on boot CPU as well
  x86/kvm: Disable kvmclock on all CPUs on shutdown
  x86/kvm: Disable all PV features on crash

 arch/x86/include/asm/kvm_para.h | 10 +---
 arch/x86/kernel/kvm.c           | 92 ++++++++++++++++++++++++---------
 arch/x86/kernel/kvmclock.c      | 26 +---------
 3 files changed, 72 insertions(+), 56 deletions(-)

-- 
2.27.0


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

end of thread, other threads:[~2021-06-01  7:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-31 14:05 [PATCH v3 | stable v5.10 0/3] x86/kvm: fixes for hibernation Krzysztof Kozlowski
2021-05-31 14:05 ` [PATCH v3 | stable v5.10 1/3] x86/kvm: Teardown PV features on boot CPU as well Krzysztof Kozlowski
2021-05-31 15:42   ` Paolo Bonzini
2021-05-31 14:05 ` [PATCH v3 | stable v5.10 2/3] x86/kvm: Disable kvmclock on all CPUs on shutdown Krzysztof Kozlowski
2021-05-31 15:42   ` Paolo Bonzini
2021-05-31 14:05 ` [PATCH v3 | stable v5.10 3/3] x86/kvm: Disable all PV features on crash Krzysztof Kozlowski
2021-05-31 15:42   ` Paolo Bonzini
2021-06-01  6:40 ` [PATCH v3 | stable v5.10 0/3] x86/kvm: fixes for hibernation Greg KH
2021-06-01  7:02   ` Krzysztof Kozlowski

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.