qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Heinz Graalfs <graalfs@linux.vnet.ibm.com>
To: rusty@rustcorp.com.au
Cc: linux-s390@vger.kernel.org, aliguori@us.ibm.com,
	cornelia.huck@de.ibm.com, cotte@de.ibm.com,
	heiko.carstens@de.ibm.com, mtosatti@redhat.com,
	sebott@linux.vnet.ibm.com, qemu-devel@nongnu.org, agraf@suse.de,
	borntraeger@de.ibm.com, avi@redhat.com, schwidefsky@de.ibm.com
Subject: [Qemu-devel] [PATCH] virtio-ccw: Add secondary indicators.
Date: Tue, 11 Sep 2012 17:34:35 +0200	[thread overview]
Message-ID: <1347377675-22865-2-git-send-email-graalfs@linux.vnet.ibm.com> (raw)
In-Reply-To: <1347377675-22865-1-git-send-email-graalfs@linux.vnet.ibm.com>

From: Cornelia Huck <cornelia.huck@de.ibm.com>

Add a ccw to specify the location of indicators for configuration
changes and notice how they are to be used.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
---
 virtio-spec.lyx | 28 +++++++++++++++++++++++++---
 1 file changed, 25 insertions(+), 3 deletions(-)

diff --git a/virtio-spec.lyx b/virtio-spec.lyx
index 8247d2e..41318b1 100644
--- a/virtio-spec.lyx
+++ b/virtio-spec.lyx
@@ -9442,13 +9442,20 @@ status open
 
 \begin_layout LyX-Code
 
-\change_inserted -385801441 1343732726
+\change_inserted -385801441 1347015671
 
 #define CCW_CMD_SET_IND 0x43
 \end_layout
 
 \begin_layout LyX-Code
 
+\change_inserted -385801441 1347015690
+
+#define CCW_CMD_SET_CONF_IND 0x53
+\end_layout
+
+\begin_layout LyX-Code
+
 \change_inserted -385801441 1343732726
 
 #define CCW_CMD_READ_FEAT 0x12
@@ -9819,12 +9826,19 @@ Setting Up Indicators
 
 \begin_layout Standard
 
-\change_inserted -385801441 1343732726
+\change_inserted -385801441 1347015710
 To communicate the location of the indicator bits for host->guest notification,
  the guest uses the CCW_CMD_SET_IND command which sends the guest address
  of the indicators in a 64 bit value.
 \end_layout
 
+\begin_layout Standard
+
+\change_inserted -385801441 1347015749
+For the indicator bits used in the configuration change host->guest notification
+, the CCW_CMD_SET_CONF_IND command is used analogously.
+\end_layout
+
 \begin_layout Subsection*
 
 \change_inserted -385801441 1343732726
@@ -9839,13 +9853,21 @@ Host->Guest Notification
 
 \begin_layout Standard
 
-\change_inserted -385801441 1343732726
+\change_inserted -385801441 1347015762
 For notifying the guest of virtqueue buffers, the host sets the corresponding
  bit in the guest-provided indicators.
  If an interrupt is not already pending for the subchannel, the host generates
  an unsolicited I/O interrupt.
 \end_layout
 
+\begin_layout Standard
+
+\change_inserted -385801441 1347015847
+If the host wants to notify the guest about configuration changes, it sets
+ bit 0 in the configuration indicators and generates an unsolicited I/O
+ interrupt, if needed.
+\end_layout
+
 \begin_layout Subsubsection*
 
 \change_inserted -385801441 1343732726
-- 
1.7.11.5

  reply	other threads:[~2012-09-11 15:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-11 15:34 [Qemu-devel] [PATCH] virtio spec amendment for virtio-ccw Heinz Graalfs
2012-09-11 15:34 ` Heinz Graalfs [this message]
2012-09-12  6:27 ` Rusty Russell

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=1347377675-22865-2-git-send-email-graalfs@linux.vnet.ibm.com \
    --to=graalfs@linux.vnet.ibm.com \
    --cc=agraf@suse.de \
    --cc=aliguori@us.ibm.com \
    --cc=avi@redhat.com \
    --cc=borntraeger@de.ibm.com \
    --cc=cornelia.huck@de.ibm.com \
    --cc=cotte@de.ibm.com \
    --cc=heiko.carstens@de.ibm.com \
    --cc=linux-s390@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rusty@rustcorp.com.au \
    --cc=schwidefsky@de.ibm.com \
    --cc=sebott@linux.vnet.ibm.com \
    /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).