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

Hi,

This is version 2 of aa backport for v5.4+.

Changes since v1:
1. Clean backport, without context changes.

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 |  9 +---
 arch/x86/kernel/kvm.c           | 75 ++++++++++++++++++++++++++-------
 arch/x86/kernel/kvmclock.c      | 26 +-----------
 3 files changed, 63 insertions(+), 47 deletions(-)

-- 
2.27.0


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

end of thread, other threads:[~2021-05-31 12:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-31 11:00 [PATCH v2 | stable v5.4+ 0/3] x86/kvm: fixes for hibernation Krzysztof Kozlowski
2021-05-31 11:00 ` [PATCH v2 | stable v5.4+ 1/3] x86/kvm: Teardown PV features on boot CPU as well Krzysztof Kozlowski
2021-05-31 11:00 ` [PATCH v2 | stable v5.4+ 2/3] x86/kvm: Disable kvmclock on all CPUs on shutdown Krzysztof Kozlowski
2021-05-31 11:00 ` [PATCH v2 | stable v5.4+ 3/3] x86/kvm: Disable all PV features on crash Krzysztof Kozlowski
2021-05-31 11:52 ` [PATCH v2 | stable v5.4+ 0/3] x86/kvm: fixes for hibernation Greg KH
2021-05-31 12:04   ` 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.