All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: s390: fix ESSA addressing exception injection in migration mode
@ 2026-10-13 14:42 Gautam Gala
  2026-10-13 14:42 ` [PATCH 1/2] " Gautam Gala
  2026-10-13 14:42 ` [PATCH 2/2] KVM: s390: selftests: add ESSA migration mode PGM_ADDRESSING regression test Gautam Gala
  0 siblings, 2 replies; 5+ messages in thread
From: Gautam Gala @ 2026-10-13 14:42 UTC (permalink / raw)
  To: borntraeger, frankja, imbrenda, kvm, linux-s390, linux-kernel,
	linux-kselftest
  Cc: david, hca, gor, agordeev, svens, pbonzini, seanjc, shuah

ESSA emulation in migration mode silently dropped addressing exceptions
when the guest page-table walk failed, so the guest never received the
expected PGM_ADDRESSING interrupt during live migration.

Patch 1 fixes dat_perform_essa() to return -PGM_ADDRESSING on a walk
failure, and __do_essa() to inject the program interrupt for that return
value.

Patch 2 adds a regression test integrated into the existing cmma_test
selftest.

Gautam Gala (2):
  KVM: s390: fix ESSA addressing exception injection in migration mode
  KVM: s390: selftests: add ESSA migration mode PGM_ADDRESSING
    regression test

 arch/s390/kvm/gmap/dat.c                     |  5 +-
 arch/s390/kvm/s390/priv.c                    |  4 +-
 tools/testing/selftests/kvm/s390/cmma_test.c | 79 ++++++++++++++++++++
 3 files changed, 86 insertions(+), 2 deletions(-)

-- 
2.55.0


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

end of thread, other threads:[~2026-10-13 14:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-13 14:42 [PATCH 0/2] KVM: s390: fix ESSA addressing exception injection in migration mode Gautam Gala
2026-10-13 14:42 ` [PATCH 1/2] " Gautam Gala
2026-10-13 14:54   ` sashiko-bot
2026-10-13 14:42 ` [PATCH 2/2] KVM: s390: selftests: add ESSA migration mode PGM_ADDRESSING regression test Gautam Gala
2026-10-13 14:50   ` sashiko-bot

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.