public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: s390: Limit adapter indicator access to page
@ 2026-02-17  8:54 Janosch Frank
  2026-02-17  8:54 ` [PATCH 1/2] KVM: s390: Limit adapter indicator access to mapped page Janosch Frank
  2026-02-17  8:54 ` [PATCH 2/2] KVM: s390: selftests: Add IRQ routing address offset tests Janosch Frank
  0 siblings, 2 replies; 7+ messages in thread
From: Janosch Frank @ 2026-02-17  8:54 UTC (permalink / raw)
  To: kvm; +Cc: linux-s390, imbrenda, borntraeger, freimuth, mjrosato

We currently check the address of the indicator fields but not the sum
of address and offset. This patch remedies that problem and limits the
address + offset combination to a single page.

The selftest is very rudimentary but it's a start.

Janosch Frank (2):
  KVM: s390: Limit adapter indicator access to mapped page
  KVM: s390: selftests: Add IRQ routing address offset tests

 arch/s390/kvm/interrupt.c                     | 12 +++
 tools/testing/selftests/kvm/Makefile.kvm      |  1 +
 .../testing/selftests/kvm/s390/irq_routing.c  | 75 +++++++++++++++++++
 3 files changed, 88 insertions(+)
 create mode 100644 tools/testing/selftests/kvm/s390/irq_routing.c

-- 
2.53.0


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

end of thread, other threads:[~2026-02-27 12:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-17  8:54 [PATCH 0/2] KVM: s390: Limit adapter indicator access to page Janosch Frank
2026-02-17  8:54 ` [PATCH 1/2] KVM: s390: Limit adapter indicator access to mapped page Janosch Frank
2026-02-25 23:42   ` Matthew Rosato
2026-02-26 14:03     ` Janosch Frank
2026-02-26 15:59   ` Claudio Imbrenda
2026-02-27 12:14     ` Janosch Frank
2026-02-17  8:54 ` [PATCH 2/2] KVM: s390: selftests: Add IRQ routing address offset tests Janosch Frank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox