From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBSUt-00040t-8Y for qemu-devel@nongnu.org; Tue, 11 Sep 2012 11:35:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBSUj-00024P-GV for qemu-devel@nongnu.org; Tue, 11 Sep 2012 11:35:31 -0400 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:44796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBSUj-0001N3-76 for qemu-devel@nongnu.org; Tue, 11 Sep 2012 11:35:21 -0400 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 11 Sep 2012 16:34:58 +0100 Received: from d06av08.portsmouth.uk.ibm.com (d06av08.portsmouth.uk.ibm.com [9.149.37.249]) by b06cxnps4075.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q8BFYnZQ42991814 for ; Tue, 11 Sep 2012 15:34:49 GMT Received: from d06av08.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av08.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q8BFYtl8028017 for ; Tue, 11 Sep 2012 09:34:55 -0600 From: Heinz Graalfs Date: Tue, 11 Sep 2012 17:34:35 +0200 Message-Id: <1347377675-22865-2-git-send-email-graalfs@linux.vnet.ibm.com> In-Reply-To: <1347377675-22865-1-git-send-email-graalfs@linux.vnet.ibm.com> References: <1347377675-22865-1-git-send-email-graalfs@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH] virtio-ccw: Add secondary indicators. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 From: Cornelia Huck 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 --- 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