qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jens Freimann <jfrei@linux.vnet.ibm.com>
To: Christian Borntraeger <borntraeger@de.ibm.com>,
	Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Dominik Dingel <dingel@linux.vnet.ibm.com>,
	Jens Freimann <jfrei@linux.vnet.ibm.com>,
	qemu-devel@nongnu.org, kvm@vger.kernel.org,
	Alexander Graf <agraf@suse.de>
Subject: [Qemu-devel] [PATCH 0/2] KVM: s390: add floating irq controller
Date: Mon, 29 Jul 2013 15:59:51 +0200	[thread overview]
Message-ID: <1375106393-15811-1-git-send-email-jfrei@linux.vnet.ibm.com> (raw)

This series adds a kvm_device that acts as a irq controller for floating
interrupts.  As a first step it implements functionality to retrieve and inject
interrupts for the purpose of migration and  for hardening the reset code by
allowing user space to explicitly remove all pending floating interrupts.

PFAULT patches will also use this device for enabling/disabling pfault, therefore
the pfault patch series will be reworked to use this device.

* Patch 1 adds a new data structure to hold interrupt information. The current
one (struct kvm_s390_interrupt) does not allow to inject all kinds of interrupts,
e.g. some data for program interrupts and machine check interruptions were
missing.

* Patch 2 adds a kvm_device which supports getting/setting currently pending
floating interrupts as well as deleting all currently pending interrupts


Jens Freimann (2):
  KVM: s390: add and extend interrupt information data structs
  KVM: s390: add floating irq controller

 arch/s390/include/asm/kvm_host.h |  45 +----
 arch/s390/include/uapi/asm/kvm.h |   5 +
 arch/s390/kvm/interrupt.c        | 383 ++++++++++++++++++++++++++-------------
 arch/s390/kvm/kvm-s390.c         |   1 +
 arch/s390/kvm/priv.c             |  22 +--
 arch/s390/kvm/sigp.c             |  14 +-
 include/linux/kvm_host.h         |   1 +
 include/uapi/linux/kvm.h         |  63 +++++++
 virt/kvm/kvm_main.c              |   3 +
 9 files changed, 348 insertions(+), 189 deletions(-)

-- 
1.8.2.3

             reply	other threads:[~2013-07-29 14:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-29 13:59 Jens Freimann [this message]
2013-07-29 13:59 ` [Qemu-devel] [PATCH 1/2] KVM: s390: add and extend interrupt information data structs Jens Freimann
2013-07-29 13:59 ` [Qemu-devel] [PATCH 2/2] KVM: s390: add floating irq controller Jens Freimann
2013-07-31  9:08   ` Cornelia Huck
2013-07-31 17:09     ` Jens Freimann
2013-08-01  5:21     ` Heiko Carstens
2013-08-01 12:47       ` Jens Freimann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1375106393-15811-1-git-send-email-jfrei@linux.vnet.ibm.com \
    --to=jfrei@linux.vnet.ibm.com \
    --cc=agraf@suse.de \
    --cc=borntraeger@de.ibm.com \
    --cc=cornelia.huck@de.ibm.com \
    --cc=dingel@linux.vnet.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).